D: [iurt_root_command] chroot warning: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Installing /home/iurt/rpmbuild/SRPMS/python-httpretty-1.1.4-1.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.I3XAjY + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf httpretty-1.1.4 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/httpretty-1.1.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd httpretty-1.1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf httpretty.egg-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.TBYWXu + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd httpretty-1.1.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build creating build/lib creating build/lib/httpretty copying httpretty/version.py -> build/lib/httpretty copying httpretty/utils.py -> build/lib/httpretty copying httpretty/http.py -> build/lib/httpretty copying httpretty/errors.py -> build/lib/httpretty copying httpretty/core.py -> build/lib/httpretty copying httpretty/compat.py -> build/lib/httpretty copying httpretty/__init__.py -> build/lib/httpretty ++ pwd + PYTHONPATH=/home/iurt/rpmbuild/BUILD/httpretty-1.1.4 + sphinx-build docs/source html Running Sphinx v4.3.0 making output directory... done loading intersphinx inventory from https://docs.python.org/3/objects.inv... loading intersphinx inventory from https://httplib2.readthedocs.io/en/latest/objects.inv... loading intersphinx inventory from https://requests.readthedocs.io/en/master/objects.inv... loading intersphinx inventory from https://urllib3.readthedocs.io/en/latest/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/3/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /3/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://httplib2.readthedocs.io/en/latest/objects.inv' not fetchable due to : HTTPSConnectionPool(host='httplib2.readthedocs.io', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://urllib3.readthedocs.io/en/latest/objects.inv' not fetchable due to : HTTPSConnectionPool(host='urllib3.readthedocs.io', port=443): Max retries exceeded with url: /en/latest/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://requests.readthedocs.io/en/master/objects.inv' not fetchable due to : HTTPSConnectionPool(host='requests.readthedocs.io', port=443): Max retries exceeded with url: /en/master/objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -2] Name or service not known')) [autosummary] generating autosummary for: acks.rst, api.rst, changelog.rst, contributing.rst, guides.rst, index.rst, introduction.rst building [mo]: targets for 0 po files that are out of date building [html]: targets for 7 source files that are out of date updating environment: [new config] 7 added, 0 changed, 0 removed reading sources... [ 14%] acks reading sources... [ 28%] api reading sources... [ 42%] changelog reading sources... [ 57%] contributing reading sources... [ 71%] guides reading sources... [ 85%] index reading sources... [100%] introduction looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 14%] acks writing output... [ 28%] api writing output... [ 42%] changelog writing output... [ 57%] contributing writing output... [ 71%] guides writing output... [ 85%] index writing output... [100%] introduction generating indices... genindex py-modindex done highlighting module code... [ 25%] httpretty highlighting module code... [ 50%] httpretty.core highlighting module code... [ 75%] httpretty.errors highlighting module code... [100%] httpretty.http writing additional pages... search done copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 4 warnings. The HTML pages are in html. + rm -rf html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.veugWC + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64 + cd httpretty-1.1.4 + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + /usr/bin/python3 setup.py install -O1 --skip-build --root /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64 running install /usr/lib/python3.9/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 /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr creating /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib creating /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9 creating /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages creating /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty copying build/lib/httpretty/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty copying build/lib/httpretty/compat.py -> /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty copying build/lib/httpretty/core.py -> /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty copying build/lib/httpretty/errors.py -> /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty copying build/lib/httpretty/http.py -> /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty copying build/lib/httpretty/utils.py -> /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty copying build/lib/httpretty/version.py -> /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty/__init__.py to __init__.cpython-39.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty/compat.py to compat.cpython-39.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty/core.py to core.cpython-39.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty/errors.py to errors.cpython-39.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty/http.py to http.cpython-39.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty/utils.py to utils.cpython-39.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty/version.py to version.cpython-39.pyc writing byte-compilation script '/tmp/tmpvm6cokz3.py' /usr/bin/python3 /tmp/tmpvm6cokz3.py removing /tmp/tmpvm6cokz3.py running install_egg_info running egg_info creating httpretty.egg-info writing httpretty.egg-info/PKG-INFO writing dependency_links to httpretty.egg-info/dependency_links.txt writing top-level names to httpretty.egg-info/top_level.txt writing manifest file 'httpretty.egg-info/SOURCES.txt' reading manifest file 'httpretty.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'COPYING' writing manifest file 'httpretty.egg-info/SOURCES.txt' Copying httpretty.egg-info to /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9/site-packages/httpretty-1.1.4-py3.9.egg-info running install_scripts + rm -rfv /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.1.4-1.mga9 --unique-debug-suffix -1.1.4-1.mga9.aarch64 --unique-debug-src-base python-httpretty-1.1.4-1.mga9.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/httpretty-1.1.4 + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 0 Bytecompiling .py files below /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.1.4-1.mga9.aarch64/usr/lib/python3.9 using python3.9 + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.pjg0m5 + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd httpretty-1.1.4 + '[' 1 -eq 1 ']' + /usr/bin/nosetests-3.9 -e test_passthrough #1 When allow_net_connect = False, a request that otherwise ... WARNING:tornado.access:404 GET / (127.0.0.1) 2.41ms real call to socket.connect() for ('localhost', 48923) passed #2 When allow_net_connect = False, a request that would have ... httpretty.core.socket("example.com:80").real_sendall(122 bytes) to http://example.com/nonsense via GET at 1637899673.1955209 passed #3 When allow_net_connect = False, mocked requests still work correctly. ... passed #4 httpretty should bypass a unregistered request by disabling it ... WARNING:tornado.access:404 GET / (127.0.0.1) 5.87ms httpretty.core.socket("localhost:36593").real_sendall(129 bytes) to http://localhost:36593/come-again/ via GET at 1637899674.3396802 real call to socket.connect() for passed #5 httpretty should bypass all requests by disabling it ... WARNING:tornado.access:404 GET / (127.0.0.1) 5.64ms passed #6 httpretty should work even when testing code that also use other TCP-based protocols ... passed #7 HTTPretty should forward_and_trace socket.recv_into ... skipped #8 HTTPretty should forward_and_trace socket.recvfrom ... skipped #9 HTTPretty should forward_and_trace socket.recvfrom_into ... skipped #10 HTTPretty should forward_and_trace socket.send ... skipped #11 HTTPretty should forward_and_trace socket.sendto ... skipped #12 test_decorated (tests.functional.test_decorator.ClassDecorator) ... passed #13 test_decorated2 (tests.functional.test_decorator.ClassDecorator) ... passed #14 test_decorated (tests.functional.test_decorator.ClassDecoratorWithSetUp) ... passed #15 test_decorated2 (tests.functional.test_decorator.ClassDecoratorWithSetUp) ... passed #16 test_decorated (tests.functional.test_decorator.NonUnitTestTest) ... passed #17 tests.functional.test_decorator.test_decor ... passed #18 HTTPretty should call a callback function to be set as the body with httplib2 ... FAILED ====================================================================== 7) SKIP: HTTPretty should forward_and_trace socket.recv_into ---------------------------------------------------------------------- No Traceback SkipTest: not currently supported ====================================================================== 8) SKIP: HTTPretty should forward_and_trace socket.recvfrom ---------------------------------------------------------------------- No Traceback SkipTest: not currently supported ====================================================================== 9) SKIP: HTTPretty should forward_and_trace socket.recvfrom_into ---------------------------------------------------------------------- No Traceback SkipTest: not currently supported ====================================================================== 10) SKIP: HTTPretty should forward_and_trace socket.send ---------------------------------------------------------------------- No Traceback SkipTest: not currently supported ====================================================================== 11) SKIP: HTTPretty should forward_and_trace socket.sendto ---------------------------------------------------------------------- No Traceback SkipTest: not currently supported ====================================================================== 18) FAIL: HTTPretty should call a callback function to be set as the body with httplib2 ---------------------------------------------------------------------- Traceback (most recent call last): /usr/lib/python3.9/site-packages/nose/case.py line 197 in runTest self.test(*self.arg) /usr/lib/python3.9/site-packages/nose/util.py line 620 in newfunc return func(*arg, **kw) httpretty/core.py line 2075 in wrapper return test(*args, **kw) /usr/lib/python3.9/site-packages/sure/__init__.py line 217 in wrap assert took < timeout, "%s did not run within %s %s" % ( AssertionError: test_callback_response did not run within two miliseconds Name Stmts Miss Branch BrPart Cover Missing ------------------------------------------------------------------- httpretty/__init__.py 37 3 0 0 92% 82, 87, 94 httpretty/compat.py 17 2 0 0 88% 43, 48 httpretty/core.py 1006 258 304 76 70% 89-91, 102-103, 117, 170-171, 177-178, 186-187, 195-197, 202-203, 281, 290-291, 318, 319->322, 333-337, 340, 371, 395-396, 430-434, 441-446, 468, 473-474, 479-480, 492, 495, 503, 507-508, 558-560, 582, 586, 596-601, 614, 617-619, 622-627, 633, 640, 643, 651->653, 654, 670-672, 702, 709, 723->727, 729, 734-735, 749-752, 764, 766-767, 774-784, 789-800, 803, 811-812, 836-840, 843-846, 849-850, 853, 856, 859, 862, 865-874, 877-896, 909, 914->920, 917-918, 930, 933, 936, 943, 948, 1013-1014, 1030-1040, 1050, 1087, 1090, 1100->1105, 1109->1112, 1112->1127, 1120->1123, 1124->1127, 1138-1140, 1151, 1206-1207, 1230-1231, 1234, 1256, 1261, 1279, 1316-1321, 1336, 1343, 1347, 1361, 1364, 1368->1372, 1392, 1435-1444, 1446->1433, 1448, 1464-1478, 1480->1462, 1484, 1509-1558, 1580-1591, 1624, 1676, 1696-1697, 1702, 1781, 1816, 1831, 1842, 1852, 1854->1859, 1859->1865, 1866-1867, 1869->exit, 1876-1877, 1906-1907, 1909->1919, 1914-1915, 1919->1927, 1928, 1933-1935, 2027->2029, 2029->exit, 2034-2043, 2054, 2063-2064 httpretty/errors.py 16 0 6 0 100% httpretty/http.py 28 7 4 1 69% 140, 147-153 httpretty/utils.py 8 0 4 0 100% httpretty/version.py 1 0 0 0 100% ------------------------------------------------------------------- TOTAL 1113 270 318 77 71% ----------------------------------------------------------------------------- 18 tests run in 6.056 seconds. 1 FAILED, 5 skipped (12 tests passed) 3617.25 2000 error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.pjg0m5 (%check) RPM build errors: Found bdb_ro Packages database while attempting sqlite backend: using bdb_ro backend. Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.pjg0m5 (%check) I: [iurt_root_command] ERROR: chroot