<86>Dec 20 00:41:40 userdel[4188548]: delete user 'rooter' <86>Dec 20 00:41:40 userdel[4188548]: removed group 'rooter' owned by 'rooter' <86>Dec 20 00:41:40 groupadd[4188557]: group added to /etc/group: name=rooter, GID=630 <86>Dec 20 00:41:40 groupadd[4188557]: group added to /etc/gshadow: name=rooter <86>Dec 20 00:41:40 groupadd[4188557]: new group: name=rooter, GID=630 <86>Dec 20 00:41:40 useradd[4188563]: new user: name=rooter, UID=630, GID=630, home=/root, shell=/bin/bash <86>Dec 20 00:41:40 userdel[4188569]: delete user 'builder' <86>Dec 20 00:41:40 userdel[4188569]: removed group 'builder' owned by 'builder' <86>Dec 20 00:41:40 groupadd[4188576]: group added to /etc/group: name=builder, GID=631 <86>Dec 20 00:41:40 groupadd[4188576]: group added to /etc/gshadow: name=builder <86>Dec 20 00:41:40 groupadd[4188576]: new group: name=builder, GID=631 <86>Dec 20 00:41:40 useradd[4188580]: new user: name=builder, UID=631, GID=631, 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>Dec 20 00:41:41 rpmi: rpm-build-compat-2.2.9-alt1 sisyphus+286137.100.1.1 1632970054 installed <13>Dec 20 00:41:41 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626058413 installed <13>Dec 20 00:41:41 rpmi: libexpat-2.4.1-alt2 sisyphus+291954.100.1.1 1639496332 installed <13>Dec 20 00:41:41 rpmi: libp11-kit-0.23.15-alt2 sisyphus+287552.300.2.1 1634541413 installed <13>Dec 20 00:41:41 rpmi: libtasn1-4.17.0-alt2 sisyphus+285706.100.1.1 1632328563 installed <13>Dec 20 00:41:41 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Dec 20 00:41:41 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Dec 20 00:41:41 rpmi: ca-certificates-2021.10.06-alt1 sisyphus+286526.200.1.1 1633528578 installed <13>Dec 20 00:41:41 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Dec 20 00:41:41 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+287552.300.2.1 1634541413 installed <13>Dec 20 00:41:42 rpmi: libcrypto1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383589 installed <13>Dec 20 00:41:42 rpmi: libssl1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383589 installed <13>Dec 20 00:41:42 rpmi: python3-3.9.9-alt1 sisyphus+291125.100.2.1 1638385948 installed <13>Dec 20 00:41:42 rpmi: python3-base-3.9.9-alt1 sisyphus+291125.100.2.1 1638385948 installed <13>Dec 20 00:41:42 rpmi: tests-for-installed-python3-pkgs-0.1.18-alt1 sisyphus+290420.100.1.1 1637593698 installed <13>Dec 20 00:41:42 rpmi: rpm-build-python3-0.1.18-alt1 sisyphus+290420.100.1.1 1637593698 installed <13>Dec 20 00:41:42 rpmi: rpm-build-intro-2.2.9-alt1 sisyphus+286137.100.1.1 1632970054 installed <13>Dec 20 00:41:44 rpmi: python3-module-six-1.16.0-alt1 sisyphus+283489.100.2.1 1629527308 installed <13>Dec 20 00:41:44 rpmi: python3-module-pkg_resources-1:59.6.0-alt1 sisyphus+291992.100.1.1 1639555592 installed <13>Dec 20 00:41:44 rpmi: python3-module-idna-3.3-alt1 sisyphus+288800.100.1.1 1635936399 installed <13>Dec 20 00:41:44 rpmi: python3-module-charset-normalizer-2.0.6-alt1 sisyphus+286375.600.1.1 1633362792 installed <13>Dec 20 00:41:44 rpmi: python3-module-pycparser-2.20-alt2 sisyphus+278697.200.1.1 1626167452 installed <13>Dec 20 00:41:44 rpmi: python3-module-cffi-1.15.0-alt1 sisyphus+292084.100.2.1 1639731625 installed <13>Dec 20 00:41:44 rpmi: python3-module-cryptography-36.0.0-alt1 sisyphus+291184.200.1.1 1638452739 installed <13>Dec 20 00:41:44 rpmi: python3-module-openssl-20.0.1-alt1 sisyphus+267607.100.2.1 1615475362 installed <13>Dec 20 00:41:44 rpmi: python3-module-urllib3-2:1.26.6-alt3 sisyphus+283224.100.2.2 1629257365 installed <13>Dec 20 00:41:44 rpmi: python3-module-requests-2.26.0-alt2 sisyphus+286450.100.1.1 1633447383 installed <13>Dec 20 00:41:44 rpmi: libsqlite3-3.36.0-alt2 sisyphus+287712.100.2.1 1635827417 installed <13>Dec 20 00:41:44 rpmi: python3-modules-sqlite3-3.9.9-alt1 sisyphus+291125.100.2.1 1638385948 installed <13>Dec 20 00:41:44 rpmi: python3-module-responses-0.12.0-alt1 sisyphus+260867.100.1.1 1604363254 installed <13>Dec 20 00:41:44 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>Dec 20 00:41:46 rpmi: libpython3-3.9.9-alt1 sisyphus+291125.100.2.1 1638385948 installed <13>Dec 20 00:41:46 rpmi: libncurses-6.3.20211106-alt1 sisyphus+289273.100.1.1 1636477028 installed <13>Dec 20 00:41:46 rpmi: libtinfo-devel-6.3.20211106-alt1 sisyphus+289273.100.1.1 1636477028 installed <13>Dec 20 00:41:46 rpmi: libncurses-devel-6.3.20211106-alt1 sisyphus+289273.100.1.1 1636477028 installed <13>Dec 20 00:41:47 rpmi: python3-dev-3.9.9-alt1 sisyphus+291125.100.2.1 1638385948 installed <13>Dec 20 00:41:47 rpmi: python3-module-setuptools-1:59.6.0-alt1 sisyphus+291992.100.1.1 1639555592 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.89565 + 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.89565 + 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:494: 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.89565 + 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:494: 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-39.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.9.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-39.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-39.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-39.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.76491 + 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:494: 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>Dec 20 00:41:48 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>Dec 20 00:41:49 setup.py: offline check returned: True, TOK001 <39>Dec 20 00:41:49 setup.py: privacyidea_pam: successfully authenticated against offline database pam-test.sqlite <38>Dec 20 00:41:49 setup.py: Doing refill with token None <39>Dec 20 00:41:49 setup.py: offline refill returned False <39>Dec 20 00:41:49 setup.py: offline check returned: True, TOK001 <39>Dec 20 00:41:49 setup.py: privacyidea_pam: successfully authenticated against offline database pam-test.sqlite <38>Dec 20 00:41:49 setup.py: Doing refill with token None <39>Dec 20 00:41:49 setup.py: offline refill returned False ok test_03_authenticate_online (tests.test_pam_module.PAMTestCase) ... <39>Dec 20 00:41:49 setup.py: offline check returned: False, None <39>Dec 20 00:41:49 setup.py: requests > 1.0 <39>Dec 20 00:41:49 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>Dec 20 00:41:49 setup.py: offline check returned: True, PISP0000AB00 <39>Dec 20 00:41:49 setup.py: privacyidea_pam: successfully authenticated against offline database pam-test.sqlite <38>Dec 20 00:41:49 setup.py: Doing refill with token aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <39>Dec 20 00:41:49 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>Dec 20 00:41:49 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>Dec 20 00:41:49 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>Dec 20 00:41:49 setup.py: offline check returned: True, TOK001 <39>Dec 20 00:41:49 setup.py: privacyidea_pam: successfully authenticated against offline database pam-test.sqlite <38>Dec 20 00:41:49 setup.py: Doing refill with token None <39>Dec 20 00:41:49 setup.py: offline refill returned False <39>Dec 20 00:41:49 setup.py: offline check returned: False, None <35>Dec 20 00:41:49 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.9/socket.py", line 954, 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.9/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1040, in _send_output self.send(msg) File "/usr/lib64/python3.9/http/client.py", line 980, 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 439, 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 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/site-packages/requests/adapters.py", line 516, 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>Dec 20 00:41:49 setup.py: offline check returned: True, TOK002 <39>Dec 20 00:41:49 setup.py: privacyidea_pam: successfully authenticated against offline database pam-test.sqlite <38>Dec 20 00:41:49 setup.py: Doing refill with token None <39>Dec 20 00:41:49 setup.py: offline refill returned False ok test_06_refill (tests.test_pam_module.PAMTestCase) ... <39>Dec 20 00:41:49 setup.py: offline check returned: False, None <39>Dec 20 00:41:49 setup.py: requests > 1.0 <39>Dec 20 00:41:49 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>Dec 20 00:41:49 setup.py: offline check returned: False, None <35>Dec 20 00:41:49 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.9/socket.py", line 954, 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.9/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1040, in _send_output self.send(msg) File "/usr/lib64/python3.9/http/client.py", line 980, 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 439, 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 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/site-packages/requests/adapters.py", line 516, 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')) <35>Dec 20 00:41:49 setup.py: privacyidea_pam: 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>Dec 20 00:41:49 setup.py: offline check returned: True, PISP0000AB00 <39>Dec 20 00:41:49 setup.py: privacyidea_pam: successfully authenticated against offline database pam-test.sqlite <38>Dec 20 00:41:49 setup.py: Doing refill with token aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <39>Dec 20 00:41:49 setup.py: requests > 1.0 <39>Dec 20 00:41:49 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>Dec 20 00:41:49 setup.py: offline refill returned True <39>Dec 20 00:41:50 setup.py: offline check returned: True, PISP0000AB00 <39>Dec 20 00:41:50 setup.py: privacyidea_pam: successfully authenticated against offline database pam-test.sqlite <38>Dec 20 00:41:50 setup.py: Doing refill with token bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb <39>Dec 20 00:41:50 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>Dec 20 00:41:50 setup.py: offline check returned: False, None <35>Dec 20 00:41: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.9/socket.py", line 954, 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.9/http/client.py", line 1285, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1331, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1280, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib64/python3.9/http/client.py", line 1040, in _send_output self.send(msg) File "/usr/lib64/python3.9/http/client.py", line 980, 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 439, 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 542, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/site-packages/requests/adapters.py", line 516, 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 1.188s 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.yap56x 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.8jK69k 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.59user 0.39system 0:04.66elapsed 64%CPU (0avgtext+0avgdata 36188maxresident)k 0inputs+0outputs (0major+117757minor)pagefaults 0swaps /.out/python3-module-privacyidea-pam-2.11.0-alt2.noarch.rpm: license not found in '/usr/share/license' directory: AGPLv3 9.60user 4.44system 0:14.65elapsed 95%CPU (0avgtext+0avgdata 103964maxresident)k 944inputs+0outputs (45902major+509558minor)pagefaults 0swaps