<86>Jun 3 04:54:32 userdel[1574135]: delete user 'rooter' <86>Jun 3 04:54:32 userdel[1574135]: removed group 'rooter' owned by 'rooter' <86>Jun 3 04:54:32 userdel[1574135]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 3 04:54:32 groupadd[1574174]: group added to /etc/group: name=rooter, GID=1862 <86>Jun 3 04:54:32 groupadd[1574174]: group added to /etc/gshadow: name=rooter <86>Jun 3 04:54:32 groupadd[1574174]: new group: name=rooter, GID=1862 <86>Jun 3 04:54:32 useradd[1574192]: new user: name=rooter, UID=1862, GID=1862, home=/root, shell=/bin/bash, from=none <86>Jun 3 04:54:32 userdel[1574233]: delete user 'builder' <86>Jun 3 04:54:32 userdel[1574233]: removed group 'builder' owned by 'builder' <86>Jun 3 04:54:32 userdel[1574233]: removed shadow group 'builder' owned by 'builder' <86>Jun 3 04:54:32 groupadd[1574270]: group added to /etc/group: name=builder, GID=1863 <86>Jun 3 04:54:32 groupadd[1574270]: group added to /etc/gshadow: name=builder <86>Jun 3 04:54:32 groupadd[1574270]: new group: name=builder, GID=1863 <86>Jun 3 04:54:32 useradd[1574292]: new user: name=builder, UID=1863, GID=1863, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/python3-module-privacyidea-pam-2.11.0-alt2.src.rpm: license not found in '/usr/share/license' directory: AGPLv3 <13>Jun 3 04:54:33 rpmi: rpm-build-compat-2.2.12-alt1 sisyphus+296907.100.1.1 1647731749 installed <13>Jun 3 04:54:33 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Jun 3 04:54:33 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Jun 3 04:54:33 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Jun 3 04:54:33 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Jun 3 04:54:33 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359628 installed <13>Jun 3 04:54:33 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jun 3 04:54:33 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Jun 3 04:54:33 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed <13>Jun 3 04:54:33 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Jun 3 04:54:33 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Jun 3 04:54:33 rpmi: libcrypto1.1-1.1.1u-alt1 sisyphus+322200.100.1.1 1685474790 installed <13>Jun 3 04:54:33 rpmi: libssl1.1-1.1.1u-alt1 sisyphus+322200.100.1.1 1685474790 installed <13>Jun 3 04:54:33 rpmi: python3-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363746 installed <13>Jun 3 04:54:34 rpmi: python3-base-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363746 installed <13>Jun 3 04:54:34 rpmi: tests-for-installed-python3-pkgs-0.1.22-alt1 sisyphus+319076.100.3.1 1682536051 installed <13>Jun 3 04:54:34 rpmi: rpm-build-python3-0.1.22-alt1 sisyphus+319076.100.3.1 1682536051 installed <13>Jun 3 04:54:34 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>Jun 3 04:54:35 rpmi: python3-module-toml-0.10.2-alt3 sisyphus+305000.3200.2.1 1660575655 installed <13>Jun 3 04:54:35 rpmi: python3-module-six-1.16.0-alt1 sisyphus+283489.100.2.1 1629527308 installed <13>Jun 3 04:54:35 rpmi: python3-module-pkg_resources-1:67.8.0-alt1 sisyphus+321626.100.2.1 1684831109 installed <13>Jun 3 04:54:35 rpmi: python3-module-idna-3.4-alt1 sisyphus+307942.100.1.1 1665051373 installed <13>Jun 3 04:54:35 rpmi: python3-module-charset-normalizer-2.1.1-alt1 sisyphus+311047.100.1.1 1669992940 installed <13>Jun 3 04:54:35 rpmi: python3-module-pycparser-2.21-alt1.1 sisyphus+309935.7300.4.1 1668527005 installed <13>Jun 3 04:54:35 rpmi: python3-module-cffi-1.15.1-alt1 sisyphus+308243.100.2.1 1665650136 installed <13>Jun 3 04:54:35 rpmi: python3-module-cryptography-40.0.2-alt1 sisyphus+318920.100.1.1 1681998103 installed <13>Jun 3 04:54:35 rpmi: python3-module-openssl-23.1.1-alt2 sisyphus+319053.1700.6.1 1682668601 installed <13>Jun 3 04:54:35 rpmi: python3-module-urllib3-2:1.26.14-alt2 sisyphus+318352.100.1.1 1681194106 installed <13>Jun 3 04:54:35 rpmi: python3-module-requests-2.31.0-alt1 sisyphus+321663.100.2.1 1684917021 installed <13>Jun 3 04:54:35 rpmi: libsqlite3-3.42.0-alt1 sisyphus+321513.100.1.1 1684603061 installed <13>Jun 3 04:54:35 rpmi: python3-modules-sqlite3-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363746 installed <13>Jun 3 04:54:35 rpmi: python3-module-responses-0.22.0-alt1 sisyphus+308269.100.1.1 1665570500 installed <13>Jun 3 04:54:35 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: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-privacyidea-pam-2.11.0-alt2.nosrc.rpm (w1.gzdio) <13>Jun 3 04:54:36 rpmi: libpython3-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363746 installed <13>Jun 3 04:54:36 rpmi: libncurses-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835262 installed <13>Jun 3 04:54:36 rpmi: libtinfo-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835262 installed <13>Jun 3 04:54:36 rpmi: libncurses-devel-6.3.20220618-alt1 sisyphus+302449.100.1.1 1655835262 installed <13>Jun 3 04:54:37 rpmi: python3-dev-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363746 installed <13>Jun 3 04:54:37 rpmi: python3-module-setuptools-1:67.8.0-alt1 sisyphus+321626.100.2.1 1684831109 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.1169 + 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.1169 + 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:520: InformationOnly: Normalizing '2.11dev0' to '2.11.dev0' self.metadata.version = self._normalize_version( 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.1169 + 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:520: InformationOnly: Normalizing '2.11dev0' to '2.11.dev0' self.metadata.version = self._normalize_version( running install /usr/lib/python3/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated. !! ******************************************************************************** Please avoid running ``setup.py`` directly. Instead, use pypa/build, pypa/installer, pypa/build or other standards-based tools. See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details. ******************************************************************************** !! self.initialize_options() running install_lib creating /usr/src/tmp/python3-module-privacyidea-pam-buildroot creating /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr creating /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib creating /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages copying build/lib/privacyidea_pam.py -> /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages byte-compiling /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages/privacyidea_pam.py to privacyidea_pam.cpython-310.pyc running install_egg_info running egg_info creating privacyidea_pam.egg-info writing privacyidea_pam.egg-info/PKG-INFO writing dependency_links to privacyidea_pam.egg-info/dependency_links.txt writing requirements to privacyidea_pam.egg-info/requires.txt writing top-level names to privacyidea_pam.egg-info/top_level.txt writing manifest file 'privacyidea_pam.egg-info/SOURCES.txt' reading manifest file 'privacyidea_pam.egg-info/SOURCES.txt' writing manifest file 'privacyidea_pam.egg-info/SOURCES.txt' Copying privacyidea_pam.egg-info to /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages/privacyidea_pam-2.11.dev0-py3.10.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-privacyidea-pam-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-privacyidea-pam-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python3-module-privacyidea-pam-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-privacyidea-pam-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-privacyidea-pam-buildroot ./usr/lib: (from :0) Verifying ELF objects in /usr/src/tmp/python3-module-privacyidea-pam-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python3 modules in /usr/src/tmp/python3-module-privacyidea-pam-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-310.pyc compile /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages/privacyidea_pam.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-privacyidea-pam-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages/privacyidea_pam.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-privacyidea-pam-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-privacyidea-pam-buildroot/usr/lib/python3/site-packages/privacyidea_pam.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-310.opt-1.pyc' => './usr/lib/python3/site-packages/__pycache__/privacyidea_pam.cpython-310.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.7887 + 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:520: InformationOnly: Normalizing '2.11dev0' to '2.11.dev0' self.metadata.version = self._normalize_version( 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. /usr/lib/python3/site-packages/setuptools/command/test.py:199: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! ir_d = dist.fetch_build_eggs(dist.install_requires) WARNING: The wheel package is not available. /usr/lib/python3/site-packages/setuptools/command/test.py:200: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! tr_d = dist.fetch_build_eggs(dist.tests_require or []) WARNING: The wheel package is not available. /usr/lib/python3/site-packages/setuptools/command/test.py:201: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !! ******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ******************************************************************************** !! er_d = dist.fetch_build_eggs( WARNING: The wheel package is not available. 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>Jun 3 04:54:38 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>Jun 3 04:54:38 setup.py: offline check returned: True, TOK001 <38>Jun 3 04:54:38 setup.py: Doing refill with token None <39>Jun 3 04:54:38 setup.py: offline refill returned False <39>Jun 3 04:54:38 setup.py: offline check returned: True, TOK001 <38>Jun 3 04:54:38 setup.py: Doing refill with token None <39>Jun 3 04:54:38 setup.py: offline refill returned False ok test_03_authenticate_online (tests.test_pam_module.PAMTestCase) ... <39>Jun 3 04:54:38 setup.py: offline check returned: False, None <39>Jun 3 04:54:38 setup.py: requests > 1.0 <39>Jun 3 04:54:38 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>Jun 3 04:54:38 setup.py: offline check returned: True, PISP0000AB00 <38>Jun 3 04:54:38 setup.py: Doing refill with token aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <39>Jun 3 04:54:38 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>Jun 3 04:54:38 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>Jun 3 04:54:38 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>Jun 3 04:54:38 setup.py: offline check returned: True, TOK001 <38>Jun 3 04:54:38 setup.py: Doing refill with token None <39>Jun 3 04:54:38 setup.py: offline refill returned False <39>Jun 3 04:54:39 setup.py: offline check returned: False, None <35>Jun 3 04:54:39 setup.py: Traceback (most recent call last): File "/usr/lib/python3/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3/site-packages/urllib3/util/connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/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 703, in urlopen httplib_response = self._make_request( File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 398, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1037, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 975, in send self.connect() File "/usr/lib/python3/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3/site-packages/urllib3/connection.py", line 186, 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 486, in send resp = conn.urlopen( File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( File "/usr/lib/python3/site-packages/urllib3/util/retry.py", line 592, 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 589, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='my.privacyidea.server', port=80): Max retries exceeded with url: /validate/check (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) <39>Jun 3 04:54:39 setup.py: offline check returned: True, TOK002 <38>Jun 3 04:54:39 setup.py: Doing refill with token None <39>Jun 3 04:54:39 setup.py: offline refill returned False ok test_06_refill (tests.test_pam_module.PAMTestCase) ... <39>Jun 3 04:54:39 setup.py: offline check returned: False, None <39>Jun 3 04:54:39 setup.py: requests > 1.0 <39>Jun 3 04:54:39 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>Jun 3 04:54:39 setup.py: offline check returned: False, None <35>Jun 3 04:54:39 setup.py: Traceback (most recent call last): File "/usr/lib/python3/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3/site-packages/urllib3/util/connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/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 703, in urlopen httplib_response = self._make_request( File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 398, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1037, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 975, in send self.connect() File "/usr/lib/python3/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3/site-packages/urllib3/connection.py", line 186, 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 486, in send resp = conn.urlopen( File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( File "/usr/lib/python3/site-packages/urllib3/util/retry.py", line 592, 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 589, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='my.privacyidea.server', port=80): Max retries exceeded with url: /validate/check (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) <39>Jun 3 04:54:39 setup.py: offline check returned: True, PISP0000AB00 <38>Jun 3 04:54:39 setup.py: Doing refill with token aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa <39>Jun 3 04:54:39 setup.py: requests > 1.0 <39>Jun 3 04:54:39 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>Jun 3 04:54:39 setup.py: offline refill returned True <39>Jun 3 04:54:39 setup.py: offline check returned: True, PISP0000AB00 <38>Jun 3 04:54:39 setup.py: Doing refill with token bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb <39>Jun 3 04:54:39 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>Jun 3 04:54:39 setup.py: offline check returned: False, None <35>Jun 3 04:54:39 setup.py: Traceback (most recent call last): File "/usr/lib/python3/site-packages/urllib3/connection.py", line 174, in _new_conn conn = connection.create_connection( File "/usr/lib/python3/site-packages/urllib3/util/connection.py", line 72, in create_connection for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM): File "/usr/lib/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 703, in urlopen httplib_response = self._make_request( File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 398, in _make_request conn.request(method, url, **httplib_request_kw) File "/usr/lib/python3/site-packages/urllib3/connection.py", line 239, in request super(HTTPConnection, self).request(method, url, body=body, headers=headers) File "/usr/lib/python3.10/http/client.py", line 1282, in request self._send_request(method, url, body, headers, encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1328, in _send_request self.endheaders(body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1277, in endheaders self._send_output(message_body, encode_chunked=encode_chunked) File "/usr/lib/python3.10/http/client.py", line 1037, in _send_output self.send(msg) File "/usr/lib/python3.10/http/client.py", line 975, in send self.connect() File "/usr/lib/python3/site-packages/urllib3/connection.py", line 205, in connect conn = self._new_conn() File "/usr/lib/python3/site-packages/urllib3/connection.py", line 186, 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 486, in send resp = conn.urlopen( File "/usr/lib/python3/site-packages/urllib3/connectionpool.py", line 787, in urlopen retries = retries.increment( File "/usr/lib/python3/site-packages/urllib3/util/retry.py", line 592, 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 589, in request resp = self.send(prep, **send_kwargs) File "/usr/lib/python3/site-packages/requests/sessions.py", line 703, in send r = adapter.send(request, **kwargs) File "/usr/lib/python3/site-packages/requests/adapters.py", line 519, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPConnectionPool(host='my.privacyidea.server', port=80): Max retries exceeded with url: /validate/check (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) ok ---------------------------------------------------------------------- Ran 6 tests in 1.100s 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.172Gyf 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.nIB97z 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.07user 0.33system 0:04.22elapsed 57%CPU (0avgtext+0avgdata 27412maxresident)k 0inputs+0outputs (0major+98222minor)pagefaults 0swaps /.out/python3-module-privacyidea-pam-2.11.0-alt2.noarch.rpm: license not found in '/usr/share/license' directory: AGPLv3 2.26user 1.46system 0:12.22elapsed 30%CPU (0avgtext+0avgdata 111220maxresident)k 1064inputs+0outputs (0major+317250minor)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 2023-06-03 04:54:42.484292736 +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 bdbec4a2dc96e2345241ba47357b6742 +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: ddc8d941c72376253590f39b1fe39f2bbe1621dfda42fbe95bfb27f94e8d125b44d56992e24ca8f3f1e1baf2ca8499c5e29d4e063ca22376090f5e0518fe9c0e