Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-httptools.spec'], chrootPath='/var/lib/mock/f33-build-147659-43116/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-httptools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Wrote: /builddir/build/SRPMS/python-httptools-0.0.11-7.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-httptools.spec'], chrootPath='/var/lib/mock/f33-build-147659-43116/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-httptools.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.PTPfmt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httptools-0.0.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/httptools-0.0.11.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd httptools-0.0.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-setup.py-Use-Cython-directly.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-use-system-http_parser.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -vrf vendor/ removed directory 'vendor/http-parser' removed directory 'vendor/' + sed -i -e /include_package_data=True/d setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zMLz7s + umask 022 + cd /builddir/build/BUILD + cd httptools-0.0.11 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' Compiling httptools/parser/parser.pyx because it changed. [1/1] Cythonizing httptools/parser/parser.pyx running build running build_py creating build creating build/lib.linux-riscv64-3.8 creating build/lib.linux-riscv64-3.8/httptools copying httptools/__init__.py -> build/lib.linux-riscv64-3.8/httptools creating build/lib.linux-riscv64-3.8/httptools/parser copying httptools/parser/__init__.py -> build/lib.linux-riscv64-3.8/httptools/parser copying httptools/parser/errors.py -> build/lib.linux-riscv64-3.8/httptools/parser running build_ext building 'httptools.parser.parser' extension creating build/temp.linux-riscv64-3.8 creating build/temp.linux-riscv64-3.8/httptools creating build/temp.linux-riscv64-3.8/httptools/parser gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.8 -c httptools/parser/parser.c -o build/temp.linux-riscv64-3.8/httptools/parser/parser.o gcc -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.8/httptools/parser/parser.o -L/usr/lib64 -lhttp_parser -o build/lib.linux-riscv64-3.8/httptools/parser/parser.cpython-38-riscv64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LRueqs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64 + cd httptools-0.0.11 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr creating /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8 creating /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8/site-packages creating /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8/site-packages/httptools creating /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8/site-packages/httptools/parser copying build/lib.linux-riscv64-3.8/httptools/parser/parser.cpython-38-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8/site-packages/httptools/parser copying build/lib.linux-riscv64-3.8/httptools/parser/__init__.py -> /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8/site-packages/httptools/parser copying build/lib.linux-riscv64-3.8/httptools/parser/errors.py -> /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8/site-packages/httptools/parser copying build/lib.linux-riscv64-3.8/httptools/__init__.py -> /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8/site-packages/httptools byte-compiling /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8/site-packages/httptools/parser/__init__.py to __init__.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8/site-packages/httptools/parser/errors.py to errors.cpython-38.pyc byte-compiling /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8/site-packages/httptools/__init__.py to __init__.cpython-38.pyc writing byte-compilation script '/tmp/tmpzopxb16p.py' /usr/bin/python3 /tmp/tmpzopxb16p.py removing /tmp/tmpzopxb16p.py running install_egg_info running egg_info creating httptools.egg-info writing httptools.egg-info/PKG-INFO writing dependency_links to httptools.egg-info/dependency_links.txt writing top-level names to httptools.egg-info/top_level.txt writing manifest file 'httptools.egg-info/SOURCES.txt' reading manifest file 'httptools.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.c' under directory 'vendor' warning: no files found matching '*.h' under directory 'vendor' warning: no files found matching 'LICENSE*' under directory 'vendor' warning: no files found matching 'README*' under directory 'vendor' writing manifest file 'httptools.egg-info/SOURCES.txt' Copying httptools.egg-info to /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8/site-packages/httptools-0.0.11-py3.8.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.0.11-7.fc33 --unique-debug-suffix -0.0.11-7.fc33.riscv64 --unique-debug-src-base python-httptools-0.0.11-7.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/httptools-0.0.11 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8/site-packages/httptools/parser/parser.cpython-38-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8/site-packages/httptools/parser/parser.cpython-38-riscv64-linux-gnu.so original debug info size: 640kB, size after compression: 628kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 901 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib/debug/usr/lib64/python3.8 using /usr/bin/python3.8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/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 /var/tmp/rpm-tmp.84tCar + umask 022 + cd /builddir/build/BUILD ~/build/BUILD/httptools-0.0.11/tests ~/build/BUILD/httptools-0.0.11 + cd httptools-0.0.11 + pushd tests + PYTHONPATH=/builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/lib64/python3.8/site-packages + /usr/bin/python3 -m unittest discover -v test_parser_request_2 (test_parser.TestRequestParser) ... ok test_parser_request_3 (test_parser.TestRequestParser) ... ok test_parser_request_4 (test_parser.TestRequestParser) ... ok test_parser_request_chunked_1 (test_parser.TestRequestParser) ... ok test_parser_request_chunked_2 (test_parser.TestRequestParser) ... ok test_parser_request_chunked_3 (test_parser.TestRequestParser) ... ok test_parser_request_chunked_cb_error_1 (test_parser.TestRequestParser) ... ok test_parser_request_chunked_cb_error_2 (test_parser.TestRequestParser) ... ok test_parser_request_error_in_cb_on_headers_complete (test_parser.TestRequestParser) ... ok test_parser_request_error_in_cb_on_url (test_parser.TestRequestParser) ... ok test_parser_request_error_in_on_header (test_parser.TestRequestParser) ... ok test_parser_request_error_in_on_message_begin (test_parser.TestRequestParser) ... ok test_parser_request_fragmented (test_parser.TestRequestParser) ... ok test_parser_request_fragmented_bytes (test_parser.TestRequestParser) ... ok test_parser_request_fragmented_header (test_parser.TestRequestParser) ... ok test_parser_request_fragmented_value (test_parser.TestRequestParser) ... ok test_parser_request_upgrade_1 (test_parser.TestRequestParser) ... ok test_parser_request_upgrade_flag (test_parser.TestRequestParser) ... ok test_parser_response_1 (test_parser.TestResponseParser) ... FAIL test_parser_response_2 (test_parser.TestResponseParser) ... ok test_parser_response_3 (test_parser.TestResponseParser) ... ok test_parser_response_4 (test_parser.TestResponseParser) ... ok test_parser_response_5 (test_parser.TestResponseParser) ... ok test_parser_response_cb_on_body_1 (test_parser.TestResponseParser) ... ok test_parser_response_cb_on_message_complete_1 (test_parser.TestResponseParser) ... ok test_parser_response_cb_on_status_1 (test_parser.TestResponseParser) ... ok test_parser_upgrade_response_1 (test_parser.TestResponseParser) ... ok test_parser_url_1 (test_parser.TestUrlParser) ... ok test_parser_url_10 (test_parser.TestUrlParser) ... ok test_parser_url_2 (test_parser.TestUrlParser) ... ERROR test_parser_url_3 (test_parser.TestUrlParser) ... ok test_parser_url_4 (test_parser.TestUrlParser) ... ok test_parser_url_5 (test_parser.TestUrlParser) ... ok test_parser_url_6 (test_parser.TestUrlParser) ... ok test_parser_url_7 (test_parser.TestUrlParser) ... ok test_parser_url_8 (test_parser.TestUrlParser) ... ok test_parser_url_9 (test_parser.TestUrlParser) ... ok ====================================================================== ERROR: test_parser_url_2 (test_parser.TestUrlParser) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/httptools-0.0.11/tests/test_parser.py", line 586, in test_parser_url_2 self.parse(b''), File "/builddir/build/BUILD/httptools-0.0.11/tests/test_parser.py", line 555, in parse parsed = httptools.parse_url(url) File "httptools/parser/parser.pyx", line 468, in httptools.parser.parser.parse_url httptools.parser.errors.HttpParserInvalidURLError: invalid url b'' ====================================================================== FAIL: test_parser_response_1 (test_parser.TestResponseParser) ---------------------------------------------------------------------- httptools.parser.errors.HttpParserError: invalid constant string During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/httptools-0.0.11/tests/test_parser.py", line 107, in test_parser_response_1 p.feed_data(b'12123123') AssertionError: "data received after completed connection" does not match "invalid constant string" ---------------------------------------------------------------------- Ran 37 tests in 1.833s FAILED (failures=1, errors=1) + : + popd ~/build/BUILD/httptools-0.0.11 + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-httptools-0.0.11-7.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.2XfH6s + umask 022 + cd /builddir/build/BUILD + cd httptools-0.0.11 + DOCDIR=/builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/share/doc/python3-httptools + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/share/doc/python3-httptools + cp -pr README.md /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/share/doc/python3-httptools + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XnNJar + umask 022 + cd /builddir/build/BUILD + cd httptools-0.0.11 + LICENSEDIR=/builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/share/licenses/python3-httptools + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/share/licenses/python3-httptools + cp -pr LICENSE /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64/usr/share/licenses/python3-httptools + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-httptools = 0.0.11-7.fc33 python3-httptools = 0.0.11-7.fc33 python3-httptools(riscv-64) = 0.0.11-7.fc33 python3.8dist(httptools) = 0.0.11 python38-httptools = 0.0.11-7.fc33 python3dist(httptools) = 0.0.11 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: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libhttp_parser.so.2()(64bit) python(abi) = 3.8 rtld(GNU_HASH) Obsoletes: python-httptools < 0.0.11-7.fc33 Processing files: python-httptools-debugsource-0.0.11-7.fc33.riscv64 Provides: python-httptools-debugsource = 0.0.11-7.fc33 python-httptools-debugsource(riscv-64) = 0.0.11-7.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-httptools-debuginfo-0.0.11-7.fc33.riscv64 Provides: debuginfo(build-id) = 5430e1ee89306cd4ca4b4f31f39a3747ee29a208 python3-httptools-debuginfo = 0.0.11-7.fc33 python3-httptools-debuginfo(riscv-64) = 0.0.11-7.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-httptools-debugsource(riscv-64) = 0.0.11-7.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64 Wrote: /builddir/build/RPMS/python3-httptools-0.0.11-7.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-httptools-debuginfo-0.0.11-7.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python-httptools-debugsource-0.0.11-7.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SAfUft + umask 022 + cd /builddir/build/BUILD + cd httptools-0.0.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-httptools-0.0.11-7.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0