<86>Oct 28 00:55:44 userdel[4165867]: delete user 'rooter' <86>Oct 28 00:55:44 userdel[4165867]: removed group 'rooter' owned by 'rooter' <86>Oct 28 00:55:44 groupadd[4165877]: group added to /etc/group: name=rooter, GID=990 <86>Oct 28 00:55:44 groupadd[4165877]: group added to /etc/gshadow: name=rooter <86>Oct 28 00:55:44 groupadd[4165877]: new group: name=rooter, GID=990 <86>Oct 28 00:55:44 useradd[4165884]: new user: name=rooter, UID=990, GID=990, home=/root, shell=/bin/bash <86>Oct 28 00:55:44 userdel[4165895]: delete user 'builder' <86>Oct 28 00:55:44 userdel[4165895]: removed group 'builder' owned by 'builder' <86>Oct 28 00:55:44 userdel[4165895]: removed shadow group 'builder' owned by 'builder' <86>Oct 28 00:55:44 groupadd[4165900]: group added to /etc/group: name=builder, GID=991 <86>Oct 28 00:55:44 groupadd[4165900]: group added to /etc/gshadow: name=builder <86>Oct 28 00:55:44 groupadd[4165900]: new group: name=builder, GID=991 <86>Oct 28 00:55:44 useradd[4165908]: new user: name=builder, UID=991, GID=991, 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>Oct 28 00:55:45 rpmi: rpm-build-compat-2.2.12-alt1 sisyphus+296907.100.1.1 1647731749 installed <13>Oct 28 00:55:45 rpmi: mpdecimal-2.5.1-alt1 sisyphus+291245.40.54.1 1643293433 installed <13>Oct 28 00:55:45 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Oct 28 00:55:45 rpmi: libexpat-2.4.9-alt1 sisyphus+307330.100.1.1 1664029042 installed <13>Oct 28 00:55:45 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Oct 28 00:55:45 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359624 installed <13>Oct 28 00:55:45 rpmi: rpm-macros-alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Oct 28 00:55:45 rpmi: alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Oct 28 00:55:45 rpmi: ca-certificates-2022.09.15-alt1 sisyphus+306895.200.1.1 1663268411 installed <13>Oct 28 00:55:45 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Oct 28 00:55:45 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535264 installed <13>Oct 28 00:55:45 rpmi: libcrypto1.1-1.1.1q-alt1 sisyphus+303203.100.1.1 1657026987 installed <13>Oct 28 00:55:45 rpmi: libssl1.1-1.1.1q-alt1 sisyphus+303203.100.1.1 1657026987 installed <13>Oct 28 00:55:45 rpmi: python3-3.10.7-alt1 sisyphus+306631.100.1.2 1663076082 installed <13>Oct 28 00:55:46 rpmi: python3-base-3.10.7-alt1 sisyphus+306631.100.1.2 1663076082 installed <13>Oct 28 00:55:46 rpmi: tests-for-installed-python3-pkgs-0.1.19-alt1 sisyphus+301407.500.9.1 1658259230 installed <13>Oct 28 00:55:46 rpmi: rpm-build-python3-0.1.19-alt1 sisyphus+301407.500.9.1 1658259230 installed <13>Oct 28 00:55:46 rpmi: rpm-build-intro-2.2.12-alt1 sisyphus+296907.100.1.1 1647731749 installed WARNING: %python3_build is deprecated and will be removed in future, please use %pyproject_build instead WARNING: %python3_install is deprecated and will be removed in future, please use %pyproject_install instead <13>Oct 28 00:55:47 rpmi: python3-module-toml-0.10.2-alt3 sisyphus+305000.3200.2.1 1660575655 installed <13>Oct 28 00:55:47 rpmi: python3-module-six-1.16.0-alt1 sisyphus+283489.100.2.1 1629527308 installed <13>Oct 28 00:55:47 rpmi: python3-module-pkg_resources-1:65.5.0-alt1 sisyphus+308399.100.3.1 1665994422 installed <13>Oct 28 00:55:47 rpmi: python3-module-idna-3.4-alt1 sisyphus+307942.100.1.1 1665051373 installed <13>Oct 28 00:55:47 rpmi: python3-module-charset-normalizer-2.1.0-alt1 sisyphus+304058.100.1.1 1658395726 installed <13>Oct 28 00:55:47 rpmi: python3-module-pycparser-2.21-alt1 sisyphus+303896.100.1.1 1658102634 installed <13>Oct 28 00:55:47 rpmi: python3-module-cffi-1.15.1-alt1 sisyphus+308243.100.2.1 1665650114 installed <13>Oct 28 00:55:47 rpmi: python3-module-cryptography-38.0.1-alt1 sisyphus+306457.100.1.1 1662734755 installed <13>Oct 28 00:55:47 rpmi: python3-module-openssl-22.0.0-alt1 sisyphus+297852.100.1.1 1649097500 installed <13>Oct 28 00:55:47 rpmi: python3-module-urllib3-2:1.26.6-alt3 sisyphus+283224.100.2.2 1629257365 installed <13>Oct 28 00:55:47 rpmi: python3-module-requests-2.28.1-alt1 sisyphus+304334.300.1.1 1658841176 installed <13>Oct 28 00:55:47 rpmi: libsqlite3-3.39.4-alt1 sisyphus+307718.100.1.1 1664633338 installed <13>Oct 28 00:55:47 rpmi: python3-modules-sqlite3-3.10.7-alt1 sisyphus+306631.100.1.2 1663076082 installed <13>Oct 28 00:55:47 rpmi: python3-module-responses-0.22.0-alt1 sisyphus+308269.100.1.1 1665570500 installed <13>Oct 28 00:55:47 rpmi: python3-module-passlib-1.7.4-alt1 sisyphus+260996.100.1.1 1604554811 installed WARNING: %python3_build is deprecated and will be removed in future, please use %pyproject_build instead WARNING: %python3_install is deprecated and will be removed in future, please use %pyproject_install instead 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>Oct 28 00:55:48 rpmi: libpython3-3.10.7-alt1 sisyphus+306631.100.1.2 1663076082 installed <13>Oct 28 00:55:48 rpmi: libncurses-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed <13>Oct 28 00:55:48 rpmi: libtinfo-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed <13>Oct 28 00:55:48 rpmi: libncurses-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835246 installed <13>Oct 28 00:55:49 rpmi: python3-dev-3.10.7-alt1 sisyphus+306631.100.1.2 1663076082 installed <13>Oct 28 00:55:49 rpmi: python3-module-setuptools-1:65.5.0-alt1 sisyphus+308399.100.3.1 1665994422 installed WARNING: %python3_build is deprecated and will be removed in future, please use %pyproject_build instead WARNING: %python3_install is deprecated and will be removed in future, please use %pyproject_install instead 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.97011 + 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.97011 + 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:531: 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.97011 + 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:531: 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 egrep: warning: egrep is obsolescent; using grep -E 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.61123 + 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:531: 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>Oct 28 00:55:50 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>Oct 28 00:55:50 setup.py: offline check returned: True, TOK001 <38>Oct 28 00:55:50 setup.py: Doing refill with token None <39>Oct 28 00:55:50 setup.py: offline refill returned False <39>Oct 28 00:55:50 setup.py: offline check returned: True, TOK001 <38>Oct 28 00:55:50 setup.py: Doing refill with token None <39>Oct 28 00:55:50 setup.py: offline refill returned False ok test_03_authenticate_online (tests.test_pam_module.PAMTestCase) ... <39>Oct 28 00:55:50 setup.py: offline check returned: False, None <39>Oct 28 00:55:50 setup.py: requests > 1.0 <39>Oct 28 00:55:50 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>Oct 28 00:55:50 setup.py: offline check returned: True, PISP0000AB00 <38>Oct 28 00:55:50 setup.py: Doing refill with token aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <39>Oct 28 00:55:50 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>Oct 28 00:55:50 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>Oct 28 00:55:50 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>Oct 28 00:55:50 setup.py: offline check returned: True, TOK001 <38>Oct 28 00:55:50 setup.py: Doing refill with token None <39>Oct 28 00:55:50 setup.py: offline refill returned False <39>Oct 28 00:55:50 setup.py: offline check returned: False, None <35>Oct 28 00:55:50 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 489, 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 115, in post return request("post", url, data=data, json=json, **kwargs) File "/usr/lib/python3/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/site-packages/requests/adapters.py", line 565, 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>Oct 28 00:55:50 setup.py: offline check returned: True, TOK002 <38>Oct 28 00:55:50 setup.py: Doing refill with token None <39>Oct 28 00:55:50 setup.py: offline refill returned False ok test_06_refill (tests.test_pam_module.PAMTestCase) ... <39>Oct 28 00:55:50 setup.py: offline check returned: False, None <39>Oct 28 00:55:50 setup.py: requests > 1.0 <39>Oct 28 00:55:50 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>Oct 28 00:55:50 setup.py: offline check returned: False, None <35>Oct 28 00:55:50 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 489, 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 115, in post return request("post", url, data=data, json=json, **kwargs) File "/usr/lib/python3/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/site-packages/requests/adapters.py", line 565, 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>Oct 28 00:55:50 setup.py: offline check returned: True, PISP0000AB00 <38>Oct 28 00:55:50 setup.py: Doing refill with token aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <39>Oct 28 00:55:50 setup.py: requests > 1.0 <39>Oct 28 00:55:50 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>Oct 28 00:55:50 setup.py: offline refill returned True <39>Oct 28 00:55:51 setup.py: offline check returned: True, PISP0000AB00 <38>Oct 28 00:55:51 setup.py: Doing refill with token bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb <39>Oct 28 00:55:51 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>Oct 28 00:55:51 setup.py: offline check returned: False, None <35>Oct 28 00:55:51 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 489, 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 115, in post return request("post", url, data=data, json=json, **kwargs) File "/usr/lib/python3/site-packages/requests/api.py", line 59, in request return session.request(method=method, url=url, **kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 587, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 701, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/site-packages/requests/adapters.py", line 565, 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.577s 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.mjYlUQ 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.OKjUot 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) 1.52user 0.32system 0:03.71elapsed 49%CPU (0avgtext+0avgdata 44520maxresident)k 0inputs+0outputs (0major+122834minor)pagefaults 0swaps /.out/python3-module-privacyidea-pam-2.11.0-alt2.noarch.rpm: license not found in '/usr/share/license' directory: AGPLv3 2.28user 1.50system 0:11.32elapsed 33%CPU (0avgtext+0avgdata 107456maxresident)k 992inputs+0outputs (48464major+268622minor)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-10-28 00:55:53.820228040 +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 e8844f715fe7b1bc5219ac92e1dafef8 +File: /usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-310.opt-2.pyc 100644 root:root 408e8dfdd1c664a146f578601ba01113 +File: /usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-310.pyc 100644 root:root e8844f715fe7b1bc5219ac92e1dafef8 +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 c87c29e4bfedec62ce22afa125370919 +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: 1211a8f85e930499ae6c5c4cb710d7dacdccda638044f364f60b26fd919bf677c3913d896410ca9e68cb830a0a7d6310cceb671a489353cbdfc28aeb64d9a6a6