D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/python-httpretty-1.0.2-1.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.vDQGTU + 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.0.2 + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/httpretty-1.0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd httpretty-1.0.2 + /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.ovG9FW + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd httpretty-1.0.2 + '[' 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/__init__.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 ++ pwd + PYTHONPATH=/home/iurt/rpmbuild/BUILD/httpretty-1.0.2 + sphinx-build docs/source html Running Sphinx v3.4.1 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... 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')) loading intersphinx inventory from https://requests.readthedocs.io/en/master/objects.inv... 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')) 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')) 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://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')) building [mo]: targets for 0 po files that are out of date building [html]: targets for 6 source files that are out of date updating environment: [new config] 6 added, 0 changed, 0 removed reading sources... [ 16%] acks reading sources... [ 33%] api reading sources... [ 50%] changelog reading sources... [ 66%] contributing reading sources... [ 83%] index reading sources... [100%] introduction /home/iurt/rpmbuild/BUILD/httpretty-1.0.2/docs/source/../../httpretty/core.py:docstring of httpretty.core.FakeSSLSocket:1: WARNING: duplicate object description of httpretty.core.FakeSSLSocket, other instance in api, use :noindex: for one of them /home/iurt/rpmbuild/BUILD/httpretty-1.0.2/docs/source/../../httpretty/core.py:docstring of httpretty.core.FakeSockFile:1: WARNING: duplicate object description of httpretty.core.FakeSockFile, other instance in api, use :noindex: for one of them /home/iurt/rpmbuild/BUILD/httpretty-1.0.2/docs/source/../../httpretty/core.py:docstring of httpretty.core.HTTPrettyRequest:1: WARNING: duplicate object description of httpretty.core.HTTPrettyRequest, other instance in api, use :noindex: for one of them /home/iurt/rpmbuild/BUILD/httpretty-1.0.2/docs/source/../../httpretty/core.py:docstring of httpretty.core.HTTPrettyRequest.parse_querystring:1: WARNING: duplicate object description of httpretty.core.HTTPrettyRequest.parse_querystring, other instance in api, use :noindex: for one of them /home/iurt/rpmbuild/BUILD/httpretty-1.0.2/docs/source/../../httpretty/core.py:docstring of httpretty.core.HTTPrettyRequest.parse_request_body:1: WARNING: duplicate object description of httpretty.core.HTTPrettyRequest.parse_request_body, other instance in api, use :noindex: for one of them /home/iurt/rpmbuild/BUILD/httpretty-1.0.2/docs/source/../../httpretty/core.py:docstring of httpretty.core.HTTPrettyRequest.querystring:1: WARNING: duplicate object description of httpretty.core.HTTPrettyRequest.querystring, other instance in api, use :noindex: for one of them /home/iurt/rpmbuild/BUILD/httpretty-1.0.2/docs/source/../../httpretty/core.py:docstring of httpretty.core.HTTPrettyRequestEmpty:1: WARNING: duplicate object description of httpretty.core.HTTPrettyRequestEmpty, other instance in api, use :noindex: for one of them /home/iurt/rpmbuild/BUILD/httpretty-1.0.2/docs/source/../../httpretty/core.py:docstring of httpretty.core.httprettified:1: WARNING: duplicate object description of httpretty.core.httprettified, other instance in api, use :noindex: for one of them /home/iurt/rpmbuild/BUILD/httpretty-1.0.2/docs/source/../../httpretty/core.py:docstring of httpretty.core.httprettized:1: WARNING: duplicate object description of httpretty.core.httprettized, other instance in api, use :noindex: for one of them /home/iurt/rpmbuild/BUILD/httpretty-1.0.2/docs/source/../../httpretty/core.py:docstring of httpretty.core.httpretty.disable:1: WARNING: duplicate object description of httpretty.core.httpretty.disable, other instance in api, use :noindex: for one of them /home/iurt/rpmbuild/BUILD/httpretty-1.0.2/docs/source/../../httpretty/core.py:docstring of httpretty.core.httpretty.enable:1: WARNING: duplicate object description of httpretty.core.httpretty.enable, other instance in api, use :noindex: for one of them /home/iurt/rpmbuild/BUILD/httpretty-1.0.2/docs/source/../../httpretty/core.py:docstring of httpretty.core.httpretty.is_enabled:1: WARNING: duplicate object description of httpretty.core.httpretty.is_enabled, other instance in api, use :noindex: for one of them /home/iurt/rpmbuild/BUILD/httpretty-1.0.2/docs/source/../../httpretty/core.py:docstring of httpretty.core.httpretty.register_uri:1: WARNING: duplicate object description of httpretty.core.httpretty.register_uri, other instance in api, use :noindex: for one of them looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 16%] acks writing output... [ 33%] api writing output... [ 50%] changelog writing output... [ 66%] contributing writing output... [ 83%] 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, 17 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.wANSNW + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64 + cd httpretty-1.0.2 + '[' 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.0.2-1.mga8.aarch64 running install running install_lib creating /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr creating /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib creating /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8 creating /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages creating /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty copying build/lib/httpretty/version.py -> /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty copying build/lib/httpretty/utils.py -> /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty copying build/lib/httpretty/__init__.py -> /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty copying build/lib/httpretty/http.py -> /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty copying build/lib/httpretty/errors.py -> /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty copying build/lib/httpretty/core.py -> /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty copying build/lib/httpretty/compat.py -> /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty/version.py to version.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty/utils.py to utils.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty/__init__.py to __init__.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty/http.py to http.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty/errors.py to errors.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty/core.py to core.cpython-38.pyc byte-compiling /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty/compat.py to compat.cpython-38.pyc writing byte-compilation script '/tmp/tmpeey55nty.py' /usr/bin/python3 /tmp/tmpeey55nty.py removing /tmp/tmpeey55nty.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' writing manifest file 'httpretty.egg-info/SOURCES.txt' Copying httpretty.egg-info to /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8/site-packages/httpretty-1.0.2-py3.8.egg-info running install_scripts + rm -rfv /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 1.0.2-1.mga8 --unique-debug-suffix -1.0.2-1.mga8.aarch64 --unique-debug-src-base python-httpretty-1.0.2-1.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/httpretty-1.0.2 + /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 1 Bytecompiling .py files below /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/lib/python3.8 using /usr/bin/python3.8 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.I2Q9nT + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd httpretty-1.0.2 + '[' 1 -eq 1 ']' + /usr/bin/nosetests-3.8 -e test_passthrough #1 tests.functional.bugfixes.test_242_ssl_bad_handshake.test_test_ssl_bad_handshake ... passed #2 tests.functional.bugfixes.test_eventlet.test_something ... passed #3 HTTPretty should passthrough redis connections ... skipped #4 When allow_net_connect = False, a request that otherwise ... WARNING:tornado.access:404 GET / (127.0.0.1) 2.70ms passed #5 When allow_net_connect = False, a request that would have ... passed #6 When allow_net_connect = False, mocked requests still work correctly. ... passed #7 httpretty should bypass a unregistered request by disabling it ... WARNING:tornado.access:404 GET / (127.0.0.1) 2.45ms passed #8 httpretty should bypass all requests by disabling it ... WARNING:tornado.access:404 GET / (127.0.0.1) 7.42ms passed #9 httpretty should work even when testing code that also use other TCP-based protocols ... passed #10 HTTPretty should forward_and_trace socket.recv_into ... skipped #11 HTTPretty should forward_and_trace socket.recvfrom ... skipped #12 HTTPretty should forward_and_trace socket.recvfrom_into ... skipped #13 HTTPretty should forward_and_trace socket.send ... skipped #14 HTTPretty should forward_and_trace socket.sendto ... skipped #15 HTTPretty should forward_and_trace socket.recv ... passed #16 test_decorated (tests.functional.test_decorator.ClassDecorator) ... passed #17 test_decorated2 (tests.functional.test_decorator.ClassDecorator) ... passed #18 test_decorated (tests.functional.test_decorator.ClassDecoratorWithSetUp) ... passed #19 test_decorated2 (tests.functional.test_decorator.ClassDecoratorWithSetUp) ... passed #20 test_decorated (tests.functional.test_decorator.NonUnitTestTest) ... passed #21 tests.functional.test_decorator.test_decor ... passed #22 HTTPretty should all a callback function to be set as the body with httplib2 ... passed #23 HTTPretty.last_request is a mimetools.Message request from last match ... passed #24 HTTPretty.last_request is recorded even when mocking 'https' (SSL) ... passed #25 Registering URIs with query string cause them to be ignored ... passed #26 HTTPretty should provide an easy access to the querystring ... passed #27 HTTPretty should allow adding and overwritting headers by keyword args with httplib2 ... passed #28 HTTPretty should allow adding and overwritting headers with httplib2 ... passed #29 HTTPretty should allow forcing headers with httplib2 ... passed #30 HTTPretty should allow registering regexes with httplib2 ... passed #31 HTTPretty should mock a simple GET with httplib2.context.http ... passed #32 HTTPretty should mock basic headers with httplib2 ... passed #33 HTTPretty should support rotating responses with httplib2 ... passed #34 HTTPretty should be able to record calls ... passed #35 HTTPretty should provide a way to not match regexes that have a different querystring ... skipped #36 HTTPretty should call a callback function more than one requests ... passed #37 HTTPretty should call a callback function and set its return value as the body of the response requests ... passed #38 HTTPretty should call a callback function, use it's return tuple as status code, headers and body requests and respect the content-length header when responding to HEAD ... passed #39 HTTPretty should call a callback function and uses it retur tuple as status code, headers and body requests ... passed #40 HTTPretty.last_request is a mimetools.Message request from last match ... passed #41 HTTPretty.last_request is recorded even when mocking 'https' (SSL) ... passed #42 HTTPretty should match the hostname case insensitive ... passed #43 HTTPretty should ignore querystrings from the registered uri (requests library) ... passed #44 HTTPretty should provide an easy access to the querystring ... passed #45 HTTPretty should match regexes even if they have a different querystring ... passed #46 HTTPretty should reset protocol/port associations ... passed #47 HTTPretty should allow adding and overwritting headers by keyword args with requests ... passed #48 HTTPretty should allow adding and overwritting headers with requests ... passed #49 HTTPretty should allow forcing headers with requests ... passed #50 HTTPretty should allow registering multiple methods for the same uri ... passed #51 HTTPretty should allow multiple responses when binding multiple methods to the same uri ... passed #52 HTTPretty should allow registering regexes with requests ... passed #53 HTTPretty should allow registering regexes with requests and giva a proper match to the callback ... passed #54 HTTPretty should allow registering regexes with requests and giva a proper match to the callback ... passed #55 HTTPretty should allow registering regexes with streaming responses ... passed #56 HTTPretty should handle URLs with paths starting with // ... passed #57 HTTPretty should mock a simple GET with requests.get ... passed #58 HTTPretty should mock basic headers with requests ... passed #59 HTTPretty should normalize all url patching ... passed #60 tests.functional.test_requests.test_httpretty_should_respect_matcher_priority ... passed #61 HTTPretty should work with a non-standard port number ... passed #62 HTTPretty should automatically append a slash to given urls ... passed #63 tests.functional.test_requests.test_multiline ... passed #64 tests.functional.test_requests.test_multipart ... passed #65 tests.functional.test_requests.test_octet_stream ... passed #66 HTTPretty should call a callback function *once* and set its return value as the body of the response requests ... passed #67 HTTPretty should support rotating responses with requests ... passed #68 Mock a streaming HTTP response, like those returned by the Twitter streaming ... passed #69 Querystrings should accept unicode characters ... passed #70 HTTPretty should all a callback function to be set as the body with urllib2 ... passed #71 HTTPretty.last_request is a mimetools.Message request from last match ... passed #72 HTTPretty.last_request is recorded even when mocking 'https' (SSL) ... passed #73 HTTPretty should mock a simple GET with urllib2.read() ... passed #74 HTTPretty should provide an easy access to the querystring ... passed #75 HTTPretty should allow adding and overwritting headers by keyword args with urllib2 ... passed #76 HTTPretty should allow adding and overwritting headers with urllib2 ... passed #77 HTTPretty should allow forcing headers with urllib2 ... passed #78 HTTPretty should allow registering regexes with urllib2 ... passed #79 HTTPretty should mock a simple GET with urllib2.read() ... passed #80 HTTPretty should mock basic headers with urllib2 ... passed #81 HTTPretty should support adding a list of successive responses with urllib2 ... passed #82 HTTPretty should remove PyOpenSSLs urllib3 mock if it is installed ... passed #83 HTTPrettyRequest is a BaseHTTPRequestHandler that replaces real socket file descriptors with in-memory ones ... passed #84 HTTPrettyRequest#parse_querystring should parse unicode data ... passed #85 HTTPrettyRequest#parse_request_body recognizes the content-type `application/json` and parses it ... passed #86 HTTPrettyRequest#parse_request_body recognizes the content-type `text/json` and parses it ... passed #87 HTTPrettyRequest#parse_request_body recognizes the content-type `application/x-www-form-urlencoded` and parses it ... passed #88 HTTPrettyRequest#parse_request_body returns the value as is if the Content-Type is not recognized ... passed #89 HTTPrettyRequest should have a forward_and_trace-friendly string representation ... passed #90 FakeSSLSocket is a simpel wrapper around its own socket, which was designed to be a HTTPretty fake socket ... passed #91 fakesock.socket#ssl should take a socket instance and return itself ... passed #92 fakesock.socket#sendall handles paths starting with // well ... passed #93 URIMatcher response querystring ... passed #94 URIMatcher equality check should check querystring ... passed #95 fakesock.socket#getpeercert should return a hardcoded fake certificate ... passed #96 fakesock.socket#close should close the actual socket in case it's not http and __truesock_is_connected__ is True ... passed #97 fakesock.socket#connect should open a real connection if the given port is not a potential http port ... passed #98 fakesock.socket#makefile should set the mode, bufsize and return its mocked file descriptor ... passed #99 fakesock.socket#real_sendall calls truesock#connect and bails out when not http ... passed #100 fakesock.socket#real_sendall should continue if the socket error was EAGAIN ... passed #101 fakesock.socket#real_sendall should continue if the socket error was EAGAIN ... passed #102 fakesock.socket#real_sendall sends data and buffers the response in the file descriptor ... passed #103 fakesock.socket#real_sendall should connect before sending data ... passed #104 fakesock.socket#sendall should call real_sendall when not parsing headers and there is no entry ... passed #105 fakesock.socket#sendall should call real_sendall when not ... passed #106 fakesock.socket#sendall should call real_sendall when there is no entry ... passed #107 fakesock.socket#sendall should create an entry if it's given a valid request line ... passed #108 fakesock.socket#sendall should create an entry if it's given a valid request line ... passed #109 parse_requestline should parse the CONNECT method appropriately ... passed #110 HTTPretty should raise proper exception on inconsistent Content-Length / registered response body ... passed #111 HTTPretty.last_request is a dummy object by default ... passed #112 HTTPretty supports N status codes ... passed #113 tests.unit.test_httpretty.test_uri_info_full_url ... passed #114 Test that URIInfo.__eq__ method ignores case for ... passed #115 tests.unit.test_httpretty.test_global_boolean_enabled ... passed #116 tests.unit.test_httpretty.test_py3kobject_implements_valid__repr__based_on__str__ ... passed #117 tests.unit.test_httpretty.test_Entry_class_normalizes_headers ... passed #118 tests.unit.test_httpretty.test_Entry_class_counts_multibyte_characters_in_bytes ... passed #119 tests.unit.test_httpretty.test_Entry_class_counts_dynamic ... passed #120 tests.unit.test_httpretty.test_fake_socket_passes_through_setblocking ... passed #121 tests.unit.test_httpretty.test_fake_socket_passes_through_fileno ... passed #122 tests.unit.test_httpretty.test_fake_socket_passes_through_getsockopt ... passed #123 tests.unit.test_httpretty.test_fake_socket_passes_through_bind ... passed #124 tests.unit.test_httpretty.test_fake_socket_passes_through_connect_ex ... passed #125 tests.unit.test_httpretty.test_fake_socket_passes_through_listen ... passed #126 tests.unit.test_httpretty.test_fake_socket_passes_through_getpeername ... passed #127 tests.unit.test_httpretty.test_fake_socket_passes_through_getsockname ... passed #128 tests.unit.test_httpretty.test_fake_socket_passes_through_gettimeout ... passed #129 tests.unit.test_httpretty.test_fake_socket_passes_through_shutdown ... passed #130 tests.unit.test_httpretty.test_unix_socket ... passed #131 A content-type of application/json should parse a valid json body ... passed #132 A content-type of application/json with an invalid json body should return the content unaltered ... passed #133 A content-type of x-www-form-urlencoded with a valid queryparam body should return parsed content ... passed #134 A non-handled content type request's post body should return the content unaltered ... passed #135 Some versions of python accidentally internally shadowed the SockType ... passed #136 tests.unit.test_httpretty.test_socktype_good_python_version ... passed #137 HTTPretty should allow registering regexes with requests ... passed #138 HTTPretty should allow registering regexes with requests (ssl version) ... passed #139 httpretty.has_request() correctly detects whether or not a request has been made ... passed #140 httpretty.last_request() should return httpretty.core.last_request ... passed #141 httpretty.latest_requests() should return httpretty.core.latest_requests ... passed ====================================================================== 3) SKIP: HTTPretty should passthrough redis connections ---------------------------------------------------------------------- No Traceback SkipTest: no redis server available for test ====================================================================== 10) SKIP: HTTPretty should forward_and_trace socket.recv_into ---------------------------------------------------------------------- No Traceback SkipTest: not currently supported ====================================================================== 11) SKIP: HTTPretty should forward_and_trace socket.recvfrom ---------------------------------------------------------------------- No Traceback SkipTest: not currently supported ====================================================================== 12) SKIP: HTTPretty should forward_and_trace socket.recvfrom_into ---------------------------------------------------------------------- No Traceback SkipTest: not currently supported ====================================================================== 13) SKIP: HTTPretty should forward_and_trace socket.send ---------------------------------------------------------------------- No Traceback SkipTest: not currently supported ====================================================================== 14) SKIP: HTTPretty should forward_and_trace socket.sendto ---------------------------------------------------------------------- No Traceback SkipTest: not currently supported ====================================================================== 35) SKIP: HTTPretty should provide a way to not match regexes that have a different querystring ---------------------------------------------------------------------- No Traceback SkipTest: TODO: refactor this flaky test Name Stmts Miss Branch BrPart Cover Missing ------------------------------------------------------------------- httpretty/__init__.py 36 0 0 0 100% httpretty/compat.py 17 0 0 0 100% httpretty/core.py 871 84 282 37 88% 115-116, 120, 128-130, 135-136, 216-217, 247, 323->324, 324, 333, 429->430, 430, 461->exit, 465->466, 466, 467->468, 468, 485->486, 486, 496, 499->501, 501, 529->530, 530, 579->580, 580, 581->582, 582-583, 605->618, 624->627, 627-628, 650-666, 671->exit, 675, 678, 681, 684-686, 689-691, 694->696, 696-697, 700->704, 704, 705->706, 706, 714->718, 716->717, 717, 730->731, 731, 733->734, 734, 736->737, 737, 744, 749, 851, 951->952, 952, 1035, 1164->1165, 1165, 1234->1249, 1249, 1312-1317, 1499, 1639->1641, 1641, 1643->1648, 1648->1654, 1654->1655, 1655-1656, 1658->exit, 1665-1666, 1692->1693, 1693-1694, 1696->1706, 1701-1702, 1706->1712, 1712->1714, 1714, 1812->1814, 1814->exit, 1818->1819, 1819-1828, 1838->1839, 1839, 1848-1849 httpretty/errors.py 6 0 0 0 100% httpretty/http.py 28 0 4 1 97% 147->exit httpretty/utils.py 8 0 4 0 100% httpretty/version.py 1 0 0 0 100% ------------------------------------------------------------------- TOTAL 967 84 290 38 89% ----------------------------------------------------------------------------- 141 tests run in 8.551 seconds. 7 skipped (134 tests passed) 88444 200000 15731 200000 22023 200000 15950 200000 3914 200000 8315 200000 14689 200000 61249 200000 26852 200000 30830 200000 9482 200000 23918 200000 13736 200000 18827 200000 8379 200000 8998 200000 8961 200000 8049 200000 8639 200000 26786 200000 61018 500000 42373 200000 5981 200000 21695 200000 4661 200000 3685 200000 3529 200000 3796 200000 62806 200000 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-httpretty-1.0.2-1.mga8.noarch Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.MCE3dX + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd httpretty-1.0.2 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/share/doc/python3-httpretty + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/share/doc/python3-httpretty + cp -pr html /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/share/doc/python3-httpretty + cp -pr README.rst /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64/usr/share/doc/python3-httpretty + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-httpretty = 1.0.2-1.mga8 python3-httpretty = 1.0.2-1.mga8 python3.8-httpretty = 1.0.2-1.mga8 python3.8dist(httpretty) = 1.0.2 python3dist(httpretty) = 1.0.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.8 Obsoletes: python-httpretty < 1.0.2-1.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/noarch/python3-httpretty-1.0.2-1.mga8.noarch.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.D4z8MW + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd httpretty-1.0.2 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/python-httpretty-1.0.2-1.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.AvaB7T + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf httpretty-1.0.2 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!