<86>Nov 13 03:57:12 userdel[2008512]: delete user 'rooter' <86>Nov 13 03:57:12 userdel[2008512]: removed group 'rooter' owned by 'rooter' <86>Nov 13 03:57:12 userdel[2008512]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 13 03:57:12 groupadd[2008556]: group added to /etc/group: name=rooter, GID=957 <86>Nov 13 03:57:12 groupadd[2008556]: group added to /etc/gshadow: name=rooter <86>Nov 13 03:57:12 groupadd[2008556]: new group: name=rooter, GID=957 <86>Nov 13 03:57:12 useradd[2008601]: new user: name=rooter, UID=957, GID=957, home=/root, shell=/bin/bash <86>Nov 13 03:57:12 userdel[2008668]: delete user 'builder' <86>Nov 13 03:57:12 userdel[2008668]: removed group 'builder' owned by 'builder' <86>Nov 13 03:57:12 userdel[2008668]: removed shadow group 'builder' owned by 'builder' <86>Nov 13 03:57:12 groupadd[2008707]: group added to /etc/group: name=builder, GID=958 <86>Nov 13 03:57:12 groupadd[2008707]: group added to /etc/gshadow: name=builder <86>Nov 13 03:57:12 groupadd[2008707]: new group: name=builder, GID=958 <86>Nov 13 03:57:12 useradd[2008731]: new user: name=builder, UID=958, GID=958, 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>Nov 13 03:57:14 rpmi: rpm-build-compat-2.2.9-alt1 sisyphus+286137.100.1.1 1632970054 installed <13>Nov 13 03:57:14 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Nov 13 03:57:14 rpmi: libexpat-2.2.10-alt1 sisyphus+276608.100.1.2 1625153360 installed <13>Nov 13 03:57:14 rpmi: libp11-kit-0.23.15-alt2 sisyphus+287552.300.2.1 1634541487 installed <13>Nov 13 03:57:14 rpmi: libtasn1-4.17.0-alt2 sisyphus+285706.100.1.1 1632328570 installed <13>Nov 13 03:57:14 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Nov 13 03:57:14 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Nov 13 03:57:14 rpmi: ca-certificates-2021.10.06-alt1 sisyphus+286526.200.1.1 1633528578 installed <13>Nov 13 03:57:14 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Nov 13 03:57:14 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+287552.300.2.1 1634541487 installed <13>Nov 13 03:57:14 rpmi: libcrypto1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383658 installed <13>Nov 13 03:57:14 rpmi: libssl1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383658 installed <13>Nov 13 03:57:14 rpmi: python3-3.9.7-alt3 sisyphus+287552.400.2.1 1634543224 installed <13>Nov 13 03:57:15 rpmi: python3-base-3.9.7-alt3 sisyphus+287552.400.2.1 1634543224 installed <13>Nov 13 03:57:15 rpmi: tests-for-installed-python3-pkgs-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Nov 13 03:57:15 rpmi: rpm-build-python3-0.1.17-alt1 sisyphus+271082.100.1.1 1619820927 installed <13>Nov 13 03:57:15 rpmi: rpm-build-intro-2.2.9-alt1 sisyphus+286137.100.1.1 1632970054 installed <13>Nov 13 03:57:16 rpmi: python3-module-six-1.16.0-alt1 sisyphus+283489.100.2.1 1629527308 installed <13>Nov 13 03:57:16 rpmi: python3-module-pkg_resources-1:58.4.0-alt1 sisyphus+288641.100.2.1 1635771382 installed <13>Nov 13 03:57:16 rpmi: python3-module-idna-3.3-alt1 sisyphus+288800.100.1.1 1635936399 installed <13>Nov 13 03:57:16 rpmi: python3-module-charset-normalizer-2.0.6-alt1 sisyphus+286375.600.1.1 1633362792 installed <13>Nov 13 03:57:16 rpmi: python3-module-pycparser-2.20-alt2 sisyphus+278697.200.1.1 1626167452 installed <13>Nov 13 03:57:16 rpmi: python3-module-cffi-1.14.5-alt2 sisyphus+287552.200.2.1 1634541150 installed <13>Nov 13 03:57:16 rpmi: python3-module-cryptography-35.0.0-alt2 sisyphus+287689.100.1.1 1634739098 installed <13>Nov 13 03:57:16 rpmi: python3-module-openssl-20.0.1-alt1 sisyphus+267607.100.2.1 1615475362 installed <13>Nov 13 03:57:16 rpmi: python3-module-urllib3-2:1.26.6-alt3 sisyphus+283224.100.2.2 1629257365 installed <13>Nov 13 03:57:16 rpmi: python3-module-requests-2.26.0-alt2 sisyphus+286450.100.1.1 1633447383 installed <13>Nov 13 03:57:16 rpmi: libsqlite3-3.36.0-alt2 sisyphus+287712.100.2.1 1635827486 installed <13>Nov 13 03:57:16 rpmi: python3-modules-sqlite3-3.9.7-alt3 sisyphus+287552.400.2.1 1634543224 installed <13>Nov 13 03:57:16 rpmi: python3-module-responses-0.12.0-alt1 sisyphus+260867.100.1.1 1604363254 installed <13>Nov 13 03:57:16 rpmi: python3-module-passlib-1.7.4-alt1 sisyphus+260996.100.1.1 1604554811 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-privacyidea-pam-2.11.0-alt2.nosrc.rpm (w1.gzdio) <13>Nov 13 03:57:17 rpmi: libpython3-3.9.7-alt3 sisyphus+287552.400.2.1 1634543224 installed <13>Nov 13 03:57:18 rpmi: libncurses-6.3.20211106-alt1 sisyphus+289273.100.1.1 1636477039 installed <13>Nov 13 03:57:18 rpmi: libtinfo-devel-6.3.20211106-alt1 sisyphus+289273.100.1.1 1636477039 installed <13>Nov 13 03:57:18 rpmi: libncurses-devel-6.3.20211106-alt1 sisyphus+289273.100.1.1 1636477039 installed <13>Nov 13 03:57:18 rpmi: python3-dev-3.9.7-alt3 sisyphus+287552.400.2.1 1634543224 installed <13>Nov 13 03:57:18 rpmi: python3-module-setuptools-1:58.4.0-alt1 sisyphus+288641.100.2.1 1635771382 installed Installing python3-module-privacyidea-pam-2.11.0-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.84049 + 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.98933 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py build /usr/lib/python3/site-packages/setuptools/dist.py:488: 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.98933 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-privacyidea-pam-buildroot --force /usr/lib/python3/site-packages/setuptools/dist.py:488: UserWarning: Normalizing '2.11dev0' to '2.11.dev0' warnings.warn(tmpl.format(**locals())) running install /usr/lib/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.98933 + 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/lib/python3/site-packages/setuptools/dist.py:488: 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>Nov 13 03:57:19 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>Nov 13 03:57:20 setup.py: offline check returned: True, TOK001 <38>Nov 13 03:57:20 setup.py: Doing refill with token None <39>Nov 13 03:57:20 setup.py: offline refill returned False <39>Nov 13 03:57:20 setup.py: offline check returned: True, TOK001 <38>Nov 13 03:57:20 setup.py: Doing refill with token None <39>Nov 13 03:57:20 setup.py: offline refill returned False ok test_03_authenticate_online (tests.test_pam_module.PAMTestCase) ... <39>Nov 13 03:57:20 setup.py: offline check returned: False, None <39>Nov 13 03:57:20 setup.py: requests > 1.0 <39>Nov 13 03:57:20 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>Nov 13 03:57:20 setup.py: offline check returned: True, PISP0000AB00 <38>Nov 13 03:57:20 setup.py: Doing refill with token aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <39>Nov 13 03:57:20 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>Nov 13 03:57:20 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>Nov 13 03:57:20 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>Nov 13 03:57:20 setup.py: offline check returned: True, TOK001 <38>Nov 13 03:57:20 setup.py: Doing refill with token None <39>Nov 13 03:57:20 setup.py: offline refill returned False <39>Nov 13 03:57:20 setup.py: offline check returned: False, None <35>Nov 13 03:57:20 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/lib/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/lib/python3.9/http/client.py", line 1279, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1325, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1274, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1034, in _send_output self.send(msg) File "/usr/lib/python3.9/http/client.py", line 974, 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>Nov 13 03:57:20 setup.py: offline check returned: True, TOK002 <38>Nov 13 03:57:20 setup.py: Doing refill with token None <39>Nov 13 03:57:20 setup.py: offline refill returned False ok test_06_refill (tests.test_pam_module.PAMTestCase) ... <39>Nov 13 03:57:20 setup.py: offline check returned: False, None <39>Nov 13 03:57:20 setup.py: requests > 1.0 <39>Nov 13 03:57:20 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>Nov 13 03:57:20 setup.py: offline check returned: False, None <35>Nov 13 03:57:20 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/lib/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/lib/python3.9/http/client.py", line 1279, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1325, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1274, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1034, in _send_output self.send(msg) File "/usr/lib/python3.9/http/client.py", line 974, 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>Nov 13 03:57:20 setup.py: offline check returned: True, PISP0000AB00 <38>Nov 13 03:57:20 setup.py: Doing refill with token aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <39>Nov 13 03:57:20 setup.py: requests > 1.0 <39>Nov 13 03:57:20 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>Nov 13 03:57:20 setup.py: offline refill returned True <39>Nov 13 03:57:20 setup.py: offline check returned: True, PISP0000AB00 <38>Nov 13 03:57:20 setup.py: Doing refill with token bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb <39>Nov 13 03:57:20 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>Nov 13 03:57:21 setup.py: offline check returned: False, None <35>Nov 13 03:57:21 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/lib/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/lib/python3.9/http/client.py", line 1279, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1325, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1274, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.9/http/client.py", line 1034, in _send_output self.send(msg) File "/usr/lib/python3.9/http/client.py", line 974, 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.118s 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.NJeM09 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.ESMAKZ find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The parser module is deprecated and will be removed in future versions of Python import parser, symbol, token, types /usr/lib/rpm/python3.req.py:6: DeprecationWarning: The symbol module is deprecated and will be removed in future versions of Python import parser, symbol, token, types 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.25user 0.40system 0:04.28elapsed 61%CPU (0avgtext+0avgdata 25620maxresident)k 0inputs+0outputs (0major+96600minor)pagefaults 0swaps /.out/python3-module-privacyidea-pam-2.11.0-alt2.noarch.rpm: license not found in '/usr/share/license' directory: AGPLv3 7.34user 4.46system 0:12.60elapsed 93%CPU (0avgtext+0avgdata 103724maxresident)k 944inputs+0outputs (45848major+509070minor)pagefaults 0swaps