Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-pycurl.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-115363-45891/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': 'C.UTF-8'}shell=Falselogger=timeout=2592000uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iqu8rary:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iqu8rary:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '241ff3bb6fc74b65a1de5c07e001eb1b', '-D', '/var/lib/mock/dist-an23-riscv64-build-115363-45891/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iqu8rary:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-pycurl.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/python-pycurl-7.45.1-1.an23.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-pycurl.spec'], chrootPath='/var/lib/mock/dist-an23-riscv64-build-115363-45891/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': 'C.UTF-8'}shell=Falselogger=timeout=2592000uid=991gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iqu8rary:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iqu8rary:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '49cc8aa6df114ceb9de49c102c107960', '-D', '/var/lib/mock/dist-an23-riscv64-build-115363-45891/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.iqu8rary:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-pycurl.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': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.67hcBS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pycurl-7.45.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pycurl-7.45.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pycurl-7.45.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-python-pycurl-7.45.1-tls-backend.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm -fv winbuild.py removed 'winbuild.py' + sed -e 's|python |/usr/bin/python3 |' -i tests/ext/test-suite.sh + sed -e 's|^#! */usr/bin/env python$|#! /usr/bin/env /usr/bin/python3|' -i tests/__init__.py tests/app.py tests/appmanager.py tests/cadata_test.py tests/certinfo_test.py tests/close_socket_cb_test.py tests/curl_object_test.py tests/debug_test.py tests/default_write_cb_test.py tests/duphandle_test.py tests/error_constants_test.py tests/error_test.py tests/failonerror_test.py tests/ftp_test.py tests/getinfo_test.py tests/global_init_test.py tests/header_cb_test.py tests/header_test.py tests/high_level_curl_test.py tests/info_constants_test.py tests/info_test.py tests/internals_test.py tests/matrix.py tests/memory_mgmt_test.py tests/multi_callback_test.py tests/multi_memory_mgmt_test.py tests/multi_option_constants_test.py tests/multi_socket_select_test.py tests/multi_socket_test.py tests/multi_test.py tests/multi_timer_test.py tests/open_socket_cb_test.py tests/option_constants_test.py tests/pause_test.py tests/perform_test.py tests/post_test.py tests/procmgr.py tests/protocol_constants_test.py tests/read_cb_test.py tests/readdata_test.py tests/relative_url_test.py tests/reload_test.py tests/reset_test.py tests/resolve_test.py tests/runwsgi.py tests/seek_cb_constants_test.py tests/seek_cb_test.py tests/setopt_lifecycle_test.py tests/setopt_string_test.py tests/setopt_test.py tests/setopt_unicode_test.py tests/setup_test.py tests/share_test.py tests/sockopt_cb_test.py tests/ssh_key_cb_test.py tests/subclass_test.py tests/unset_range_test.py tests/user_agent_string_test.py tests/util.py tests/version_comparison_test.py tests/version_constants_test.py tests/version_test.py tests/weakref_test.py tests/write_abort_test.py tests/write_cb_bogus_test.py tests/write_test.py tests/write_to_stringio_test.py tests/xferinfo_cb_test.py setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.98zLjv + umask 022 + cd /builddir/build/BUILD + cd pycurl-7.45.1 + CFLAGS='-O2 -g' + LDFLAGS= + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' --with-openssl /builddir/build/BUILD/pycurl-7.45.1/setup.py:957: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(distutils.__version__) > LooseVersion("1.0.1"): /builddir/build/BUILD/pycurl-7.45.1/setup.py:959: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(distutils.__version__) < LooseVersion("1.0.3"): Using curl-config (libcurl 7.83.1) Using SSL library: OpenSSL/LibreSSL/BoringSSL running build running build_py creating build creating build/lib.linux-riscv64-3.10 creating build/lib.linux-riscv64-3.10/curl copying python/curl/__init__.py -> build/lib.linux-riscv64-3.10/curl running build_ext building 'pycurl' extension creating build/temp.linux-riscv64-3.10 creating build/temp.linux-riscv64-3.10/src gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DPYCURL_VERSION=\"7.45.1\" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.10 -c src/docstrings.c -o build/temp.linux-riscv64-3.10/src/docstrings.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DPYCURL_VERSION=\"7.45.1\" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.10 -c src/easy.c -o build/temp.linux-riscv64-3.10/src/easy.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DPYCURL_VERSION=\"7.45.1\" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.10 -c src/easycb.c -o build/temp.linux-riscv64-3.10/src/easycb.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DPYCURL_VERSION=\"7.45.1\" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.10 -c src/easyinfo.c -o build/temp.linux-riscv64-3.10/src/easyinfo.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DPYCURL_VERSION=\"7.45.1\" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.10 -c src/easyopt.c -o build/temp.linux-riscv64-3.10/src/easyopt.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DPYCURL_VERSION=\"7.45.1\" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.10 -c src/easyperform.c -o build/temp.linux-riscv64-3.10/src/easyperform.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DPYCURL_VERSION=\"7.45.1\" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.10 -c src/module.c -o build/temp.linux-riscv64-3.10/src/module.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DPYCURL_VERSION=\"7.45.1\" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.10 -c src/multi.c -o build/temp.linux-riscv64-3.10/src/multi.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DPYCURL_VERSION=\"7.45.1\" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.10 -c src/oscompat.c -o build/temp.linux-riscv64-3.10/src/oscompat.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DPYCURL_VERSION=\"7.45.1\" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.10 -c src/pythoncompat.c -o build/temp.linux-riscv64-3.10/src/pythoncompat.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DPYCURL_VERSION=\"7.45.1\" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.10 -c src/share.c -o build/temp.linux-riscv64-3.10/src/share.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DPYCURL_VERSION=\"7.45.1\" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.10 -c src/stringcompat.c -o build/temp.linux-riscv64-3.10/src/stringcompat.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DPYCURL_VERSION=\"7.45.1\" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.10 -c src/threadsupport.c -o build/temp.linux-riscv64-3.10/src/threadsupport.o gcc -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -fPIC -DPYCURL_VERSION=\"7.45.1\" -DHAVE_CURL_SSL=1 -DHAVE_CURL_OPENSSL=1 -DHAVE_CURL_SSL=1 -I/usr/include/python3.10 -c src/util.c -o build/temp.linux-riscv64-3.10/src/util.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -O2 -g build/temp.linux-riscv64-3.10/src/docstrings.o build/temp.linux-riscv64-3.10/src/easy.o build/temp.linux-riscv64-3.10/src/easycb.o build/temp.linux-riscv64-3.10/src/easyinfo.o build/temp.linux-riscv64-3.10/src/easyopt.o build/temp.linux-riscv64-3.10/src/easyperform.o build/temp.linux-riscv64-3.10/src/module.o build/temp.linux-riscv64-3.10/src/multi.o build/temp.linux-riscv64-3.10/src/oscompat.o build/temp.linux-riscv64-3.10/src/pythoncompat.o build/temp.linux-riscv64-3.10/src/share.o build/temp.linux-riscv64-3.10/src/stringcompat.o build/temp.linux-riscv64-3.10/src/threadsupport.o build/temp.linux-riscv64-3.10/src/util.o -L/usr/lib64 -lssl -lcrypto -lcurl -o build/lib.linux-riscv64-3.10/pycurl.cpython-310-riscv64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8hmdMP + umask 022 + cd /builddir/build/BUILD + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT + /usr/bin/mkdir /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64 + cd pycurl-7.45.1 + export PYCURL_SSL_LIBRARY=openssl + PYCURL_SSL_LIBRARY=openssl + CFLAGS='-O2 -g' + LDFLAGS= + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64 /builddir/build/BUILD/pycurl-7.45.1/setup.py:957: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(distutils.__version__) > LooseVersion("1.0.1"): /builddir/build/BUILD/pycurl-7.45.1/setup.py:959: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(distutils.__version__) < LooseVersion("1.0.3"): Using curl-config (libcurl 7.83.1) Using SSL library: OpenSSL/LibreSSL/BoringSSL running install /usr/lib/python3.10/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 /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr creating /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/lib64/python3.10 creating /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/lib64/python3.10/site-packages copying build/lib.linux-riscv64-3.10/pycurl.cpython-310-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/lib64/python3.10/site-packages creating /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/lib64/python3.10/site-packages/curl copying build/lib.linux-riscv64-3.10/curl/__init__.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/lib64/python3.10/site-packages/curl byte-compiling /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/lib64/python3.10/site-packages/curl/__init__.py to __init__.cpython-310.pyc writing byte-compilation script '/tmp/tmpt3kuxq49.py' /usr/bin/python3 /tmp/tmpt3kuxq49.py removing /tmp/tmpt3kuxq49.py running install_data creating /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share creating /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc creating /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl copying AUTHORS -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl copying ChangeLog -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl copying COPYING-LGPL -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl copying COPYING-MIT -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl copying INSTALL.rst -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl copying README.rst -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl copying RELEASE-NOTES.rst -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl creating /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples copying examples/basicfirst.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples copying examples/retriever.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples copying examples/ssh_keyfunction.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples copying examples/file_upload.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples copying examples/xmlrpc_curl.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples copying examples/opensocketexception.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples copying examples/smtp.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples copying examples/sfquery.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples copying examples/multi-socket_action-select.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples copying examples/linksys.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples copying examples/retriever-multi.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples creating /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/response_headers.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/file_upload_real.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/put_file.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/get_python3_https.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/response_info.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/follow_redirect.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/form_post.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/file_upload_real_fancy.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/get.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/file_upload_buffer.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/get_python2_https.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/get_python3.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/write_file.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/put_buffer.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart copying examples/quickstart/get_python2.py -> /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl/examples/quickstart running install_egg_info running egg_info writing pycurl.egg-info/PKG-INFO writing dependency_links to pycurl.egg-info/dependency_links.txt writing top-level names to pycurl.egg-info/top_level.txt reading manifest file 'pycurl.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'src/Makefile' warning: no files found matching 'winbuild.py' warning: no previously-included files found matching 'tests/fake-curl/libcurl/*.so' adding license file 'COPYING-LGPL' adding license file 'COPYING-MIT' adding license file 'AUTHORS' writing manifest file 'pycurl.egg-info/SOURCES.txt' Copying pycurl.egg-info to /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/lib64/python3.10/site-packages/pycurl-7.45.1-py3.10.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/bin/__pycache__ + rm -rf /builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/share/doc/pycurl + /usr/lib/rpm/brp-compress /usr + /usr/lib/rpm/brp-elfperms + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-remove-la-files Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.aUiu6y + umask 022 + cd /builddir/build/BUILD + cd pycurl-7.45.1 + export OPENSSL_SYSTEM_CIPHERS_OVERRIDE=XXX + OPENSSL_SYSTEM_CIPHERS_OVERRIDE=XXX + export OPENSSL_CONF= + OPENSSL_CONF= + export PYTHONPATH=/builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/lib64/python3.10/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/lib64/python3.10/site-packages + export PYCURL_SSL_LIBRARY=openssl + PYCURL_SSL_LIBRARY=openssl + export PYCURL_VSFTPD_PATH=vsftpd + PYCURL_VSFTPD_PATH=vsftpd + export 'PYTEST_ADDOPTS=--ignore examples -m '\''not online'\''' + PYTEST_ADDOPTS='--ignore examples -m '\''not online'\''' + make test PYTHON=/usr/bin/python3 PYTEST=pytest PYFLAKES=true /usr/bin/python3 setup.py build /builddir/build/BUILD/pycurl-7.45.1/setup.py:957: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(distutils.__version__) > LooseVersion("1.0.1"): /builddir/build/BUILD/pycurl-7.45.1/setup.py:959: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(distutils.__version__) < LooseVersion("1.0.3"): Using curl-config (libcurl 7.83.1) Using SSL library: OpenSSL/LibreSSL/BoringSSL running build running build_py running build_ext make -C tests/fake-curl/libcurl make[1]: Entering directory '/builddir/build/BUILD/pycurl-7.45.1/tests/fake-curl/libcurl' `curl-config --cc` `curl-config --cflags` -shared -fPIC \ -Wl,-soname,with_gnutls.so -o with_gnutls.so with_gnutls.c `curl-config --cc` `curl-config --cflags` -shared -fPIC \ -Wl,-soname,with_nss.so -o with_nss.so with_nss.c `curl-config --cc` `curl-config --cflags` -shared -fPIC \ -Wl,-soname,with_openssl.so -o with_openssl.so with_openssl.c `curl-config --cc` `curl-config --cflags` -shared -fPIC \ -Wl,-soname,with_unknown_ssl.so -o with_unknown_ssl.so with_unknown_ssl.c `curl-config --cc` `curl-config --cflags` -shared -fPIC \ -Wl,-soname,without_ssl.so -o without_ssl.so without_ssl.c make[1]: Leaving directory '/builddir/build/BUILD/pycurl-7.45.1/tests/fake-curl/libcurl' ./tests/run.sh + test -n /usr/bin/python3 + test -n pytest + mkdir -p tests/tmp ++ /usr/bin/python3 -V ++ awk '{print $2}' ++ awk -F. '{print $1 "." $2}' + export PYTHONSUFFIX=3.10 + PYTHONSUFFIX=3.10 ++ ls -d build/lib.linux-riscv64-3.10 + export PYTHONPATH=build/lib.linux-riscv64-3.10:/builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/lib64/python3.10/site-packages + PYTHONPATH=build/lib.linux-riscv64-3.10:/builddir/build/BUILDROOT/python-pycurl-7.45.1-1.an23.riscv64/usr/lib64/python3.10/site-packages + extra_attrs= + test '' = true + /usr/bin/python3 -c 'import pycurl; print(pycurl.version)' PycURL/7.45.1 libcurl/7.83.1 OpenSSL/1.1.1l-fips zlib/1.2.11 brotli/1.0.9 libidn2/2.3.2 libpsl/0.21.1 (+libidn2/2.3.2) libssh/0.9.6/openssl/zlib nghttp2/1.46.0 OpenLDAP/2.6.1 + pytest ============================= test session starts ============================== platform linux -- Python 3.10.2, pytest-6.2.5, py-1.11.0, pluggy-1.0.0 rootdir: /builddir/build/BUILD/pycurl-7.45.1, configfile: pytest.ini plugins: flaky-3.7.0 collected 425 items / 2 deselected / 423 selected tests/cadata_test.py ... [ 0%] tests/certinfo_test.py .... [ 1%] tests/close_socket_cb_test.py ..... [ 2%] tests/curl_object_test.py ........................ [ 8%] tests/debug_test.py .. [ 8%] tests/default_write_cb_test.py . [ 9%] tests/duphandle_test.py ...... [ 10%] tests/error_constants_test.py .... [ 11%] tests/error_test.py F..F [ 12%] tests/failonerror_test.py sss [ 13%] tests/ftp_test.py ... [ 13%] tests/getinfo_test.py .s.s..ss... [ 16%] tests/global_init_test.py ... [ 17%] tests/header_cb_test.py . [ 17%] tests/header_test.py ..... [ 18%] tests/high_level_curl_test.py ... [ 19%] tests/info_constants_test.py . [ 19%] tests/info_test.py . [ 19%] tests/internals_test.py ................ [ 23%] tests/memory_mgmt_test.py ........................ [ 29%] tests/multi_callback_test.py ..... [ 30%] tests/multi_memory_mgmt_test.py ... [ 31%] tests/multi_option_constants_test.py ........ [ 33%] tests/multi_socket_select_test.py . [ 33%] tests/multi_socket_test.py . [ 33%] tests/multi_test.py ............ [ 36%] tests/multi_timer_test.py . [ 36%] tests/open_socket_cb_test.py ....... [ 38%] tests/option_constants_test.py ...........s............................. [ 47%] s.......................................... [ 58%] tests/pause_test.py .. [ 58%] tests/perform_test.py ....s.. [ 60%] tests/post_test.py ............ [ 63%] tests/protocol_constants_test.py .... [ 64%] tests/read_cb_test.py ....... [ 65%] tests/readdata_test.py ............... [ 69%] tests/relative_url_test.py . [ 69%] tests/reload_test.py . [ 69%] tests/reset_test.py . [ 69%] tests/resolve_test.py . [ 70%] tests/seek_cb_constants_test.py ... [ 70%] tests/seek_cb_test.py . [ 71%] tests/setopt_lifecycle_test.py . [ 71%] tests/setopt_string_test.py .. [ 71%] tests/setopt_test.py .................. [ 76%] tests/setopt_unicode_test.py ... [ 76%] tests/setup_test.py ....................... [ 82%] tests/share_test.py ..... [ 83%] tests/sockopt_cb_test.py ....... [ 85%] tests/ssh_key_cb_test.py .. [ 85%] tests/subclass_test.py ..... [ 86%] tests/unset_range_test.py . [ 86%] tests/user_agent_string_test.py . [ 87%] tests/version_comparison_test.py . [ 87%] tests/version_constants_test.py ..................... [ 92%] tests/version_test.py .. [ 92%] tests/weakref_test.py ... [ 93%] tests/write_abort_test.py . [ 93%] tests/write_cb_bogus_test.py .. [ 94%] tests/write_test.py ................... [ 98%] tests/write_to_stringio_test.py .. [ 99%] tests/xferinfo_cb_test.py ... [100%] =================================== FAILURES =================================== _____________________ ErrorTest.test_pycurl_error_libcurl ______________________ self = def test_pycurl_error_libcurl(self): try: # perform without a url > self.curl.perform() E pycurl.error: (3, 'No URL set') tests/error_test.py:20: error During handling of the above exception, another exception occurred: self = def test_pycurl_error_libcurl(self): try: # perform without a url self.curl.perform() except pycurl.error: exc_type, exc = sys.exc_info()[:2] assert exc_type == pycurl.error # pycurl.error's arguments are libcurl errno and message self.assertEqual(2, len(exc.args)) self.assertEqual(int, type(exc.args[0])) self.assertEqual(str, type(exc.args[1])) # unpack err, msg = exc.args self.assertEqual(pycurl.E_URL_MALFORMAT, err) # possibly fragile > self.assertEqual('No URL set!', msg) E AssertionError: 'No URL set!' != 'No URL set' E - No URL set! E ? - E + No URL set tests/error_test.py:32: AssertionError ______________________ ErrorTest.test_pycurl_errstr_type _______________________ self = def test_pycurl_errstr_type(self): self.assertEqual('', self.curl.errstr()) try: # perform without a url > self.curl.perform() E pycurl.error: (3, 'No URL set') tests/error_test.py:43: error During handling of the above exception, another exception occurred: self = def test_pycurl_errstr_type(self): self.assertEqual('', self.curl.errstr()) try: # perform without a url self.curl.perform() except pycurl.error: # might be fragile > self.assertEqual('No URL set!', self.curl.errstr()) E AssertionError: 'No URL set!' != 'No URL set' E - No URL set! E ? - E + No URL set tests/error_test.py:46: AssertionError =============================== warnings summary =============================== setup.py:957 setup.py:957 /builddir/build/BUILD/pycurl-7.45.1/setup.py:957: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(distutils.__version__) > LooseVersion("1.0.1"): setup.py:959 setup.py:959 /builddir/build/BUILD/pycurl-7.45.1/setup.py:959: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. if LooseVersion(distutils.__version__) < LooseVersion("1.0.3"): tests/cadata_test.py::CaCertsTest::test_request_with_verifypeer tests/certinfo_test.py::CertinfoTest::test_certinfo_option /builddir/build/BUILD/pycurl-7.45.1/tests/runwsgi.py:38: DeprecationWarning: ssl.wrap_socket() is deprecated, use SSLContext.wrap_socket() self.srv.socket = ssl.wrap_socket( tests/cadata_test.py::CaCertsTest::test_request_with_verifypeer tests/certinfo_test.py::CertinfoTest::test_certinfo_option /usr/lib64/python3.10/ssl.py:1433: DeprecationWarning: ssl.PROTOCOL_TLS is deprecated context = SSLContext(ssl_version) -- Docs: https://docs.pytest.org/en/stable/warnings.html ===Flaky Test Report=== test_getinfo passed 1 out of the required 1 times. Success! test_getinfo_times passed 1 out of the required 1 times. Success! test_cyclic_gc passed 1 out of the required 1 times. Success! test_debugfunction_collection passed 1 out of the required 1 times. Success! test_form_bufferptr_memory_leak_gh267 passed 1 out of the required 1 times. Success! test_headerfunction_collection passed 1 out of the required 1 times. Success! test_headerfunction_refcounting passed 1 out of the required 1 times. Success! test_ioctlfunction_collection passed 1 out of the required 1 times. Success! test_multi_collection passed 1 out of the required 1 times. Success! test_multi_cycle passed 1 out of the required 1 times. Success! test_opensocketfunction_collection passed 1 out of the required 1 times. Success! test_postfields_unicode_memory_leak_gh252 passed 1 out of the required 1 times. Success! test_progressfunction_collection passed 1 out of the required 1 times. Success! test_readdata_refcounting passed 1 out of the required 1 times. Success! test_readfunction_collection passed 1 out of the required 1 times. Success! test_readfunction_refcounting passed 1 out of the required 1 times. Success! test_refcounting_bug_in_reset passed 1 out of the required 1 times. Success! test_reference_counting passed 1 out of the required 1 times. Success! test_seekfunction_collection passed 1 out of the required 1 times. Success! test_share_collection passed 1 out of the required 1 times. Success! test_share_cycle passed 1 out of the required 1 times. Success! test_writedata_refcounting passed 1 out of the required 1 times. Success! test_writefunction_collection passed 1 out of the required 1 times. Success! test_writefunction_refcounting passed 1 out of the required 1 times. Success! test_writeheader_refcounting passed 1 out of the required 1 times. Success! test_xferinfofunction_collection passed 1 out of the required 1 times. Success! test_curl_ref passed 1 out of the required 1 times. Success! test_opensocketfunction_collection passed 1 out of the required 1 times. Success! test_seekfunction_collection passed 1 out of the required 1 times. Success! test_multi_socket_select passed 1 out of the required 1 times. Success! test_pause_via_call passed 1 out of the required 1 times. Success! test_pause_via_return passed 1 out of the required 1 times. Success! test_post_byte_buffer passed 1 out of the required 1 times. Success! test_post_fields_with_ampersand passed 1 out of the required 1 times. Success! test_post_file passed 1 out of the required 1 times. Success! test_post_list_of_list_of_lists passed 1 out of the required 1 times. Success! test_post_list_of_tuple_of_tuples passed 1 out of the required 1 times. Success! test_post_multiple_fields passed 1 out of the required 1 times. Success! test_post_single_field passed 1 out of the required 1 times. Success! test_post_tuple_of_lists_of_tuples passed 1 out of the required 1 times. Success! test_post_tuple_of_tuple_of_lists passed 1 out of the required 1 times. Success! test_post_tuple_of_tuples_of_tuples passed 1 out of the required 1 times. Success! test_post_unicode_buffer passed 1 out of the required 1 times. Success! test_post_with_null_byte passed 1 out of the required 1 times. Success! ===End Flaky Test Report=== =========================== short test summary info ============================ FAILED tests/error_test.py::ErrorTest::test_pycurl_error_libcurl - AssertionE... FAILED tests/error_test.py::ErrorTest::test_pycurl_errstr_type - AssertionErr... = 2 failed, 411 passed, 10 skipped, 2 deselected, 8 warnings in 198.18s (0:03:18) = part1part2make: *** [Makefile:104: do-test] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.aUiu6y (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.aUiu6y (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 49cc8aa6df114ceb9de49c102c107960 -D /var/lib/mock/dist-an23-riscv64-build-115363-45891/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.iqu8rary:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-pycurl.spec