<86>Mar 2 00:39:22 userdel[1331057]: delete user 'rooter' <86>Mar 2 00:39:22 userdel[1331057]: removed group 'rooter' owned by 'rooter' <86>Mar 2 00:39:22 userdel[1331057]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 2 00:39:22 groupadd[1331080]: group added to /etc/group: name=rooter, GID=978 <86>Mar 2 00:39:22 groupadd[1331080]: group added to /etc/gshadow: name=rooter <86>Mar 2 00:39:22 groupadd[1331080]: new group: name=rooter, GID=978 <86>Mar 2 00:39:22 useradd[1331101]: new user: name=rooter, UID=978, GID=978, home=/root, shell=/bin/bash <86>Mar 2 00:39:22 userdel[1331131]: delete user 'builder' <86>Mar 2 00:39:22 userdel[1331131]: removed group 'builder' owned by 'builder' <86>Mar 2 00:39:22 userdel[1331131]: removed shadow group 'builder' owned by 'builder' <86>Mar 2 00:39:22 groupadd[1331156]: group added to /etc/group: name=builder, GID=979 <86>Mar 2 00:39:22 groupadd[1331156]: group added to /etc/gshadow: name=builder <86>Mar 2 00:39:22 groupadd[1331156]: new group: name=builder, GID=979 <86>Mar 2 00:39:22 useradd[1331179]: new user: name=builder, UID=979, GID=979, home=/usr/src, shell=/bin/bash /usr/src/in/srpm/python3-module-privacyidea-pam-2.11.0-alt2.src.rpm: license not found in '/usr/share/license' directory: AGPLv3 <13>Mar 2 00:39:23 rpmi: rpm-build-compat-2.2.9-alt1 sisyphus+286137.100.1.1 1632970054 installed <13>Mar 2 00:39:23 rpmi: mpdecimal-2.5.1-alt1 sisyphus+291245.40.54.1 1643293433 installed <13>Mar 2 00:39:23 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Mar 2 00:39:23 rpmi: libexpat-2.4.6-alt1 sisyphus+295732.100.1.1 1645396464 installed <13>Mar 2 00:39:24 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Mar 2 00:39:24 rpmi: libtasn1-4.18.0-alt1 sisyphus+294217.100.3.1 1643755522 installed <13>Mar 2 00:39:24 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Mar 2 00:39:24 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Mar 2 00:39:24 rpmi: ca-certificates-2021.10.06-alt1 sisyphus+286526.200.1.1 1633528578 installed <13>Mar 2 00:39:24 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Mar 2 00:39:24 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Mar 2 00:39:24 rpmi: libcrypto1.1-1.1.1m-alt1 sisyphus+295032.100.1.1 1644334703 installed <13>Mar 2 00:39:24 rpmi: libssl1.1-1.1.1m-alt1 sisyphus+295032.100.1.1 1644334703 installed <13>Mar 2 00:39:24 rpmi: python3-3.10.2-alt1.1 sisyphus+294733.100.1.1 1643981428 installed <13>Mar 2 00:39:24 rpmi: python3-base-3.10.2-alt1.1 sisyphus+294733.100.1.1 1643981428 installed <13>Mar 2 00:39:24 rpmi: tests-for-installed-python3-pkgs-0.1.18-alt1 sisyphus+290420.100.1.1 1637593698 installed <13>Mar 2 00:39:24 rpmi: rpm-build-python3-0.1.18-alt1 sisyphus+290420.100.1.1 1637593698 installed <13>Mar 2 00:39:24 rpmi: rpm-build-intro-2.2.9-alt1 sisyphus+286137.100.1.1 1632970054 installed <13>Mar 2 00:39:25 rpmi: python3-module-six-1.16.0-alt1 sisyphus+283489.100.2.1 1629527308 installed <13>Mar 2 00:39:25 rpmi: python3-module-pkg_resources-1:60.9.3-alt1 sisyphus+295817.100.1.1 1645526938 installed <13>Mar 2 00:39:25 rpmi: python3-module-idna-3.3-alt1 sisyphus+288800.100.1.1 1635936399 installed <13>Mar 2 00:39:25 rpmi: python3-module-charset-normalizer-2.0.6-alt1 sisyphus+286375.600.1.1 1633362792 installed <13>Mar 2 00:39:25 rpmi: python3-module-pycparser-2.20-alt2 sisyphus+278697.200.1.1 1626167452 installed <13>Mar 2 00:39:25 rpmi: python3-module-cffi-1.15.0-alt1 sisyphus+291245.7540.54.1 1643301220 installed <13>Mar 2 00:39:25 rpmi: python3-module-cryptography-36.0.0-alt1 sisyphus+291245.42000.56.1 1643369438 installed <13>Mar 2 00:39:25 rpmi: python3-module-openssl-20.0.1-alt1 sisyphus+267607.100.2.1 1615475362 installed <13>Mar 2 00:39:25 rpmi: python3-module-urllib3-2:1.26.6-alt3 sisyphus+283224.100.2.2 1629257365 installed <13>Mar 2 00:39:25 rpmi: python3-module-requests-2.27.1-alt1 sisyphus+295017.300.2.1 1644497798 installed <13>Mar 2 00:39:26 rpmi: libsqlite3-3.36.0-alt2 sisyphus+287712.100.2.1 1635827417 installed <13>Mar 2 00:39:26 rpmi: python3-modules-sqlite3-3.10.2-alt1.1 sisyphus+294733.100.1.1 1643981428 installed <13>Mar 2 00:39:26 rpmi: python3-module-responses-0.12.0-alt1 sisyphus+260867.100.1.1 1604363254 installed <13>Mar 2 00:39:26 rpmi: python3-module-passlib-1.7.4-alt1 sisyphus+260996.100.1.1 1604554811 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python3-module-privacyidea-pam-2.11.0-alt2.nosrc.rpm (w1.gzdio) <13>Mar 2 00:39:27 rpmi: libpython3-3.10.2-alt1.1 sisyphus+294733.100.1.1 1643981428 installed <13>Mar 2 00:39:27 rpmi: libncurses-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966445 installed <13>Mar 2 00:39:27 rpmi: libtinfo-devel-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966445 installed <13>Mar 2 00:39:27 rpmi: libncurses-devel-6.3.20211106-alt2 sisyphus+294456.100.3.1 1643966445 installed <13>Mar 2 00:39:27 rpmi: python3-dev-3.10.2-alt1.1 sisyphus+294733.100.1.1 1643981428 installed <13>Mar 2 00:39:27 rpmi: python3-module-setuptools-1:60.9.3-alt1 sisyphus+295817.100.1.1 1645526938 installed Installing python3-module-privacyidea-pam-2.11.0-alt2.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.58541 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf python3-module-privacyidea-pam-2.11.0 + echo 'Source #0 (python3-module-privacyidea-pam-2.11.0.tar):' Source #0 (python3-module-privacyidea-pam-2.11.0.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/python3-module-privacyidea-pam-2.11.0.tar + cd python3-module-privacyidea-pam-2.11.0 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.58541 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-privacyidea-pam-2.11.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + /usr/bin/python3 setup.py build /usr/lib64/python3/site-packages/setuptools/dist.py:506: UserWarning: Normalizing '2.11dev0' to '2.11.dev0' warnings.warn(tmpl.format(**locals())) running build running build_py creating build creating build/lib copying privacyidea_pam.py -> build/lib + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.30633 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-privacyidea-pam-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-privacyidea-pam-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd python3-module-privacyidea-pam-2.11.0 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-privacyidea-pam-buildroot --force /usr/lib64/python3/site-packages/setuptools/dist.py:506: UserWarning: Normalizing '2.11dev0' to '2.11.dev0' warnings.warn(tmpl.format(**locals())) running install /usr/lib64/python3/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /usr/src/tmp/python3-module-privacyidea-pam-buildroot creating /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr creating /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib creating /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages copying build/lib/privacyidea_pam.py -> /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages byte-compiling /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages/privacyidea_pam.py to privacyidea_pam.cpython-310.pyc running install_egg_info running egg_info creating privacyidea_pam.egg-info writing privacyidea_pam.egg-info/PKG-INFO writing dependency_links to privacyidea_pam.egg-info/dependency_links.txt writing requirements to privacyidea_pam.egg-info/requires.txt writing top-level names to privacyidea_pam.egg-info/top_level.txt writing manifest file 'privacyidea_pam.egg-info/SOURCES.txt' reading manifest file 'privacyidea_pam.egg-info/SOURCES.txt' writing manifest file 'privacyidea_pam.egg-info/SOURCES.txt' Copying privacyidea_pam.egg-info to /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-privacyidea-pam-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-privacyidea-pam-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-privacyidea-pam-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-privacyidea-pam-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-privacyidea-pam-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-privacyidea-pam-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python3 modules in /usr/src/tmp/python3-module-privacyidea-pam-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-310.pyc compile /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages/privacyidea_pam.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-privacyidea-pam-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages/privacyidea_pam.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-privacyidea-pam-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages/privacyidea_pam.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-310.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-310.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.30633 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python3-module-privacyidea-pam-2.11.0 + /usr/bin/python3 setup.py test /usr/lib64/python3/site-packages/setuptools/dist.py:506: UserWarning: Normalizing '2.11dev0' to '2.11.dev0' warnings.warn(tmpl.format(**locals())) running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing privacyidea_pam.egg-info/PKG-INFO writing dependency_links to privacyidea_pam.egg-info/dependency_links.txt deleting privacyidea_pam.egg-info/requires.txt writing top-level names to privacyidea_pam.egg-info/top_level.txt reading manifest file 'privacyidea_pam.egg-info/SOURCES.txt' writing manifest file 'privacyidea_pam.egg-info/SOURCES.txt' running build_ext test_01_check_offline_otp (tests.test_pam_module.PAMTestCase) ... <15>Mar 2 00:39:29 setup.py: privacyidea_pam: offline save authitem: {'offline': [{'username': 'corny', 'response': {1: '$pbkdf2-sha512$19000$Scl5TwmhtPae856zFgJgLA$ZQAqtqmGTf6IY0t9jg2MCgd92XzxdijFcT4BNVsvONNpHwZkiKsHrf0oeckS8rRQ9KWBdMwZsQzhu8PkpyXnbA', 2: '$pbkdf2-sha512$19000$4Lx3bi1FiBHiXGutVYpRqg$9mPHGSh1Ylz0PTEMwJKFw6tB.avOfYhqJsEnl3KMF8vIE//YUrtwNs4IN6ZU4OeoxFZejebOTtxt8wZjp4140w', 3: '$pbkdf2-sha512$19000$JATgHGNsDSEEIGRMqXXOmQ$Ub67KeNbwObsFk7mwTetNflwTOEKXMzJ5BTblZsu3bV4KAP1rEW6nUPfqLf6/f2yoNhpX1mCS3dt77EBKtJM.A'}}]} ok test_02_authenticate_offline (tests.test_pam_module.PAMTestCase) ... <39>Mar 2 00:39:29 setup.py: offline check returned: True, TOK001 <38>Mar 2 00:39:29 setup.py: Doing refill with token None <39>Mar 2 00:39:29 setup.py: offline refill returned False <39>Mar 2 00:39:29 setup.py: offline check returned: True, TOK001 <38>Mar 2 00:39:29 setup.py: Doing refill with token None <39>Mar 2 00:39:29 setup.py: offline refill returned False ok test_03_authenticate_online (tests.test_pam_module.PAMTestCase) ... <39>Mar 2 00:39:29 setup.py: offline check returned: False, None <39>Mar 2 00:39:29 setup.py: requests > 1.0 <39>Mar 2 00:39:29 setup.py: privacyidea_pam: offline save authitem: {'offline': [{'refilltoken': 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'username': 'corny', 'response': {'1': '$pbkdf2-sha512$19000$Scl5TwmhtPae856zFgJgLA$ZQAqtqmGTf6IY0t9jg2MCgd92XzxdijFcT4BNVsvONNpHwZkiKsHrf0oeckS8rRQ9KWBdMwZsQzhu8PkpyXnbA', '2': '$pbkdf2-sha512$19000$4Lx3bi1FiBHiXGutVYpRqg$9mPHGSh1Ylz0PTEMwJKFw6tB.avOfYhqJsEnl3KMF8vIE//YUrtwNs4IN6ZU4OeoxFZejebOTtxt8wZjp4140w', '3': '$pbkdf2-sha512$19000$JATgHGNsDSEEIGRMqXXOmQ$Ub67KeNbwObsFk7mwTetNflwTOEKXMzJ5BTblZsu3bV4KAP1rEW6nUPfqLf6/f2yoNhpX1mCS3dt77EBKtJM.A'}}]} ok test_04_authenticate_offline (tests.test_pam_module.PAMTestCase) ... <39>Mar 2 00:39:29 setup.py: offline check returned: True, PISP0000AB00 <39>Mar 2 00:39:29 setup.py: privacyidea_pam: successfully authenticated against offline database pam-test.sqlite <38>Mar 2 00:39:29 setup.py: Doing refill with token aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <39>Mar 2 00:39:29 setup.py: failed to refill HTTPConnectionPool(host='my.privacyidea.server', port=80): Max retries exceeded with url: /validate/offlinerefill (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) ok test_05_two_tokens (tests.test_pam_module.PAMTestCase) ... <15>Mar 2 00:39:29 setup.py: privacyidea_pam: offline save authitem: {'offline': [{'username': 'corny', 'response': {1: '$pbkdf2-sha512$19000$Scl5TwmhtPae856zFgJgLA$ZQAqtqmGTf6IY0t9jg2MCgd92XzxdijFcT4BNVsvONNpHwZkiKsHrf0oeckS8rRQ9KWBdMwZsQzhu8PkpyXnbA', 2: '$pbkdf2-sha512$19000$4Lx3bi1FiBHiXGutVYpRqg$9mPHGSh1Ylz0PTEMwJKFw6tB.avOfYhqJsEnl3KMF8vIE//YUrtwNs4IN6ZU4OeoxFZejebOTtxt8wZjp4140w', 3: '$pbkdf2-sha512$19000$JATgHGNsDSEEIGRMqXXOmQ$Ub67KeNbwObsFk7mwTetNflwTOEKXMzJ5BTblZsu3bV4KAP1rEW6nUPfqLf6/f2yoNhpX1mCS3dt77EBKtJM.A'}}]} <15>Mar 2 00:39:29 setup.py: privacyidea_pam: offline save authitem: {'offline': [{'username': 'corny', 'response': {1: '$pbkdf2-sha512$19000$DgGA0FrL2ZsTIuS8txYCoA$HAAMTr34j5pMwMA9XZeuNtNbvHklY0axMKlceqdaCfYzdml9MBH05tgZqvrQToYqCHPDQoBD.GH5/UGvs7HF4g', 2: '$pbkdf2-sha512$19000$wfifc07p3dvb.1.LcU6ptQ$NmnYnWMMc9KuCSDG5If94qGTmLekRF7Fn9rE4nDxCGuaXBasvEuIyEdp.h2RNqvjbsFd6A/U1T5/9eMC/7v9GQ', 3: '$pbkdf2-sha512$19000$53zvvddai/He.x9DyJnTGg$aUapWKcp21B2eSQzVVKtv9e.9Xs3aoNxg30dgU6TjyzaaHZcUNpvz7Cqj6yeTFYi1nzQ151I2z8sZWjln1fyag'}}]} <39>Mar 2 00:39:29 setup.py: offline check returned: True, TOK001 <38>Mar 2 00:39:29 setup.py: Doing refill with token None <39>Mar 2 00:39:29 setup.py: offline refill returned False <39>Mar 2 00:39:29 setup.py: offline check returned: False, None <35>Mar 2 00:39:29 setup.py: Traceback (most recent call last): File "/usr/lib/python3/site-packages/urllib3/connection.py", line 169, in _new_conn conn = connection.create_connection( File "/usr/lib/python3/site-packages/urllib3/util/connection.py", line 73, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib64/python3.10/socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib64/python3.10/http/client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib64/python3.10/http/client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib64/python3.10/http/client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.10/http/client.py", line 1037, in _send_output self.send(msg) File "/usr/lib64/python3.10/http/client.py", line 975, in send self.connect() File "/usr/lib/python3/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/usr/lib/python3/site-packages/urllib3/connection.py", line 181, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/site-packages/requests/adapters.py", line 440, in send resp = conn.urlopen( File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='my.privacyidea.server', port=80): Max retries exceeded with url: /validate/check (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3-module-privacyidea-pam-2.11.0/privacyidea_pam.py", line 329, in pam_sm_authenticate rval = Auth.authenticate(pamh.authtok) File "/usr/src/RPM/BUILD/python3-module-privacyidea-pam-2.11.0/privacyidea_pam.py", line 165, in authenticate json_response = self.make_request(data) File "/usr/src/RPM/BUILD/python3-module-privacyidea-pam-2.11.0/privacyidea_pam.py", line 88, in make_request response = requests.post(self.URL + endpoint, data=data, File "/usr/lib/python3/site-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='my.privacyidea.server', port=80): Max retries exceeded with url: /validate/check (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) <39>Mar 2 00:39:29 setup.py: offline check returned: True, TOK002 <38>Mar 2 00:39:29 setup.py: Doing refill with token None <39>Mar 2 00:39:29 setup.py: offline refill returned False ok test_06_refill (tests.test_pam_module.PAMTestCase) ... <39>Mar 2 00:39:29 setup.py: offline check returned: False, None <39>Mar 2 00:39:29 setup.py: requests > 1.0 <39>Mar 2 00:39:29 setup.py: privacyidea_pam: offline save authitem: {'offline': [{'refilltoken': 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa', 'username': 'corny', 'response': {'1': '$pbkdf2-sha512$19000$Scl5TwmhtPae856zFgJgLA$ZQAqtqmGTf6IY0t9jg2MCgd92XzxdijFcT4BNVsvONNpHwZkiKsHrf0oeckS8rRQ9KWBdMwZsQzhu8PkpyXnbA', '2': '$pbkdf2-sha512$19000$4Lx3bi1FiBHiXGutVYpRqg$9mPHGSh1Ylz0PTEMwJKFw6tB.avOfYhqJsEnl3KMF8vIE//YUrtwNs4IN6ZU4OeoxFZejebOTtxt8wZjp4140w', '3': '$pbkdf2-sha512$19000$JATgHGNsDSEEIGRMqXXOmQ$Ub67KeNbwObsFk7mwTetNflwTOEKXMzJ5BTblZsu3bV4KAP1rEW6nUPfqLf6/f2yoNhpX1mCS3dt77EBKtJM.A'}}]} <39>Mar 2 00:39:30 setup.py: offline check returned: False, None <35>Mar 2 00:39:30 setup.py: Traceback (most recent call last): File "/usr/lib/python3/site-packages/urllib3/connection.py", line 169, in _new_conn conn = connection.create_connection( File "/usr/lib/python3/site-packages/urllib3/util/connection.py", line 73, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib64/python3.10/socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib64/python3.10/http/client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib64/python3.10/http/client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib64/python3.10/http/client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.10/http/client.py", line 1037, in _send_output self.send(msg) File "/usr/lib64/python3.10/http/client.py", line 975, in send self.connect() File "/usr/lib/python3/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/usr/lib/python3/site-packages/urllib3/connection.py", line 181, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/site-packages/requests/adapters.py", line 440, in send resp = conn.urlopen( File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='my.privacyidea.server', port=80): Max retries exceeded with url: /validate/check (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3-module-privacyidea-pam-2.11.0/privacyidea_pam.py", line 329, in pam_sm_authenticate rval = Auth.authenticate(pamh.authtok) File "/usr/src/RPM/BUILD/python3-module-privacyidea-pam-2.11.0/privacyidea_pam.py", line 165, in authenticate json_response = self.make_request(data) File "/usr/src/RPM/BUILD/python3-module-privacyidea-pam-2.11.0/privacyidea_pam.py", line 88, in make_request response = requests.post(self.URL + endpoint, data=data, File "/usr/lib/python3/site-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='my.privacyidea.server', port=80): Max retries exceeded with url: /validate/check (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) <39>Mar 2 00:39:30 setup.py: offline check returned: True, PISP0000AB00 <38>Mar 2 00:39:30 setup.py: Doing refill with token aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <39>Mar 2 00:39:30 setup.py: requests > 1.0 <39>Mar 2 00:39:30 setup.py: privacyidea_pam: offline save authitem: {'offline': [{'refilltoken': 'bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb', 'username': 'corny', 'response': {'4': '$pbkdf2-sha512$25000$SSlF6L2XUurdG.N8LyVkTA$hDscUl2n5H84YjlE0Z8I94YR0NiCcCrI2weuFPR7XID6mxSzbZOTwMAeYCMPKPritj/VwZAenosNWGhByi16Ng', '5': '$pbkdf2-sha512$25000$NWYMAeDcuzfGOGds7Z1zLg$wOYEQApbmRMVjmEv1hLqi.n4ZeSG0AsSIEIR7TqVuwL64XM0yePEqOn/ur7mOWzuo5ak.vZgwQeHwYM71Cjlfw'}}]} <39>Mar 2 00:39:30 setup.py: offline refill returned True <39>Mar 2 00:39:30 setup.py: offline check returned: True, PISP0000AB00 <38>Mar 2 00:39:30 setup.py: Doing refill with token bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb <39>Mar 2 00:39:30 setup.py: failed to refill Connection refused by Responses - the call doesn't match any registered mock. Request: - POST http://my.privacyidea.server/validate/offlinerefill Available matches: <39>Mar 2 00:39:30 setup.py: offline check returned: False, None <35>Mar 2 00:39:30 setup.py: Traceback (most recent call last): File "/usr/lib/python3/site-packages/urllib3/connection.py", line 169, in _new_conn conn = connection.create_connection( File "/usr/lib/python3/site-packages/urllib3/util/connection.py", line 73, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib64/python3.10/socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 394, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3/site-packages/urllib3/connection.py", line 234, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib64/python3.10/http/client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib64/python3.10/http/client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib64/python3.10/http/client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.10/http/client.py", line 1037, in _send_output self.send(msg) File "/usr/lib64/python3.10/http/client.py", line 975, in send self.connect() File "/usr/lib/python3/site-packages/urllib3/connection.py", line 200, in connect conn = self._new_conn() File "/usr/lib/python3/site-packages/urllib3/connection.py", line 181, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno -3] Temporary failure in name resolution During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3/site-packages/requests/adapters.py", line 440, in send resp = conn.urlopen( File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/usr/lib/python3/site-packages/urllib3/util/retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='my.privacyidea.server', port=80): Max retries exceeded with url: /validate/check (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/src/RPM/BUILD/python3-module-privacyidea-pam-2.11.0/privacyidea_pam.py", line 329, in pam_sm_authenticate rval = Auth.authenticate(pamh.authtok) File "/usr/src/RPM/BUILD/python3-module-privacyidea-pam-2.11.0/privacyidea_pam.py", line 165, in authenticate json_response = self.make_request(data) File "/usr/src/RPM/BUILD/python3-module-privacyidea-pam-2.11.0/privacyidea_pam.py", line 88, in make_request response = requests.post(self.URL + endpoint, data=data, File "/usr/lib/python3/site-packages/requests/api.py", line 117, in post return request('post', url, data=data, json=json, **kwargs) File "/usr/lib/python3/site-packages/requests/api.py", line 61, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 529, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 645, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='my.privacyidea.server', port=80): Max retries exceeded with url: /validate/check (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) ok ---------------------------------------------------------------------- Ran 6 tests in 0.620s OK No need to drop table authitems. + exit 0 Processing files: python3-module-privacyidea-pam-2.11.0-alt2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Eb3VIC find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CrevQg find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python3.req: /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages/privacyidea_pam.py: skipping time Provides: python3(privacyidea_pam) Requires: pam_python, /usr/lib/python3/site-packages, python3(json) < 0, python3(passlib.hash) < 0, python3(requests) < 0, python3(sqlite3) < 0, python3(syslog) < 0, python3(traceback) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python3-module-privacyidea-pam-2.11.0-alt2.noarch.rpm (w2.lzdio) 2.48user 0.26system 0:04.54elapsed 60%CPU (0avgtext+0avgdata 39792maxresident)k 0inputs+0outputs (0major+121298minor)pagefaults 0swaps /.out/python3-module-privacyidea-pam-2.11.0-alt2.noarch.rpm: license not found in '/usr/share/license' directory: AGPLv3 7.30user 3.19system 0:11.69elapsed 89%CPU (0avgtext+0avgdata 105544maxresident)k 944inputs+0outputs (46622major+515214minor)pagefaults 0swaps --- python3-module-privacyidea-pam-2.11.0-alt2.noarch.rpm.repo 2021-06-30 23:45:35.000000000 +0000 +++ python3-module-privacyidea-pam-2.11.0-alt2.noarch.rpm.hasher 2022-03-02 00:39:33.028211496 +0000 @@ -1,12 +1,12 @@ /usr/lib/python3/site-packages/__pycache__ 40755 root:root -/usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-39.opt-1.pyc 100644 root:root -/usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-39.opt-2.pyc 100644 root:root -/usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-39.pyc 100644 root:root -/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.9.egg-info 40755 root:root -/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.9.egg-info/PKG-INFO 100644 root:root -/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.9.egg-info/SOURCES.txt 100644 root:root -/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.9.egg-info/dependency_links.txt 100644 root:root -/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.9.egg-info/not-zip-safe 100644 root:root -/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.9.egg-info/requires.txt 100644 root:root -/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.9.egg-info/top_level.txt 100644 root:root +/usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-310.opt-1.pyc 100644 root:root +/usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-310.opt-2.pyc 100644 root:root +/usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-310.pyc 100644 root:root +/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info 40755 root:root +/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info/PKG-INFO 100644 root:root +/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info/SOURCES.txt 100644 root:root +/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info/dependency_links.txt 100644 root:root +/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info/not-zip-safe 100644 root:root +/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info/requires.txt 100644 root:root +/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info/top_level.txt 100644 root:root /usr/lib/python3/site-packages/privacyidea_pam.py 100644 root:root @@ -24,13 +24,13 @@ File: /usr/lib/python3/site-packages/__pycache__ 40755 root:root -File: /usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-39.opt-1.pyc 100644 root:root 9831c6d8a05fbda9ab0db47e9c141b5c -File: /usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-39.opt-2.pyc 100644 root:root 490760b8e22d4c273fa965af6740b234 -File: /usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-39.pyc 100644 root:root 9831c6d8a05fbda9ab0db47e9c141b5c -File: /usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.9.egg-info 40755 root:root -File: /usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.9.egg-info/PKG-INFO 100644 root:root 31a67b57fbc037baa76f05397a01c219 -File: /usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.9.egg-info/SOURCES.txt 100644 root:root 7bf138e34f29c514a25e0bdbdac4d8b1 -File: /usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.9.egg-info/dependency_links.txt 100644 root:root 68b329da9893e34099c7d8ad5cb9c940 -File: /usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.9.egg-info/not-zip-safe 100644 root:root 68b329da9893e34099c7d8ad5cb9c940 -File: /usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.9.egg-info/requires.txt 100644 root:root 038b97548613344c0365308b35c90495 -File: /usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.9.egg-info/top_level.txt 100644 root:root 5fb8a779c4cc3e47d88172e2110615e7 +File: /usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-310.opt-1.pyc 100644 root:root 019442184dc99695e1420b32fed79edb +File: /usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-310.opt-2.pyc 100644 root:root 87e90c9b7f68f7dbf2f8fe2655f6b746 +File: /usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-310.pyc 100644 root:root 019442184dc99695e1420b32fed79edb +File: /usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info 40755 root:root +File: /usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info/PKG-INFO 100644 root:root 31a67b57fbc037baa76f05397a01c219 +File: /usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info/SOURCES.txt 100644 root:root 7bf138e34f29c514a25e0bdbdac4d8b1 +File: /usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info/dependency_links.txt 100644 root:root 68b329da9893e34099c7d8ad5cb9c940 +File: /usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info/not-zip-safe 100644 root:root 68b329da9893e34099c7d8ad5cb9c940 +File: /usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info/requires.txt 100644 root:root 038b97548613344c0365308b35c90495 +File: /usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info/top_level.txt 100644 root:root 5fb8a779c4cc3e47d88172e2110615e7 File: /usr/lib/python3/site-packages/privacyidea_pam.py 100644 root:root b40fdda22fdfb4dce02125e10ad067ce -RPMIdentity: 1364f382c01b35b22f50c55f6b0c7adb64dc3c56c98a26077dc85f5b9d66577db32a631fe1a665685aced3044e7696f332b2cca911fa1689d07ecde3e5f5894b +RPMIdentity: 515bb1037fc1543cda3602b067ce2328cb7cc1dab32da23acdcd59ae5088317c17b39af35371738133c8b21d0071b61b6caf574d59cfea9aa180d0b405688709