st_zlib.CompressObjectTestCase) ... ok test_large_unused_data (test.test_zlib.CompressObjectTestCase) ... ok test_maxlen_custom (test.test_zlib.CompressObjectTestCase) ... ok test_maxlen_large (test.test_zlib.CompressObjectTestCase) ... ok test_maxlenmisc (test.test_zlib.CompressObjectTestCase) ... ok test_odd_flush (test.test_zlib.CompressObjectTestCase) ... ok test_pair (test.test_zlib.CompressObjectTestCase) ... ok test_wbits (test.test_zlib.CompressObjectTestCase) ... ok test_64bit_compress (test.test_zlib.CompressTestCase) ... ok test_big_compress_buffer (test.test_zlib.CompressTestCase) ... ok test_big_decompress_buffer (test.test_zlib.CompressTestCase) ... ok test_custom_bufsize (test.test_zlib.CompressTestCase) ... ok test_incomplete_stream (test.test_zlib.CompressTestCase) ... ok test_large_bufsize (test.test_zlib.CompressTestCase) ... ok test_speech (test.test_zlib.CompressTestCase) ... ok test_speech128 (test.test_zlib.CompressTestCase) ... ok test_badargs (test.test_zlib.ExceptionTestCase) ... ok test_badcompressobj (test.test_zlib.ExceptionTestCase) ... ok test_baddecompressobj (test.test_zlib.ExceptionTestCase) ... ok test_badlevel (test.test_zlib.ExceptionTestCase) ... ok test_decompressobj_badflush (test.test_zlib.ExceptionTestCase) ... ok test_overflow (test.test_zlib.ExceptionTestCase) ... ok test_library_version (test.test_zlib.VersionTestCase) ... ok ---------------------------------------------------------------------- Ran 60 tests in 8.027s OK (skipped=1) 373 tests OK. 1 test failed: test_regrtest 23 tests skipped: test_curses test_devpoll test_gdb test_kqueue test_msilib test_nis test_ossaudiodev test_pep277 test_smtpnet test_socketserver test_startfile test_systemtap test_timeout test_tix test_tk test_ttk_guionly test_unicode_file test_urllib2net test_urllibnet test_winreg test_winsound test_xmlrpc_net test_zipfile64 Tests result: FAILURE error: Bad exit status from /var/tmp/rpm-tmp.qjtk1w (%check) RPM build errors: extra tokens at the end of %endif directive in line 137: %endif # with_systemtap extra tokens at the end of %endif directive in line 484: %endif # with_systemtap extra tokens at the end of %endif directive in line 649: %endif # with_debug_build extra tokens at the end of %endif directive in line 716: %endif # with_gdb_hooks extra tokens at the end of %endif directive in line 728: %endif # with_debug_build extra tokens at the end of %endif directive in line 921: %endif # with_debug_build extra tokens at the end of %endif directive in line 923: %endif # with_systemtap extra tokens at the end of %endif directive in line 999: %endif # with_debug_build extra tokens at the end of %endif directive in line 1002: %endif # run_selftest_suite extra tokens at the end of %endif directive in line 1064: %endif # with_debug_build Bad exit status from /var/tmp/rpm-tmp.qjtk1w (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 80da2918dcef43e3b8b9e6ce624ac863 -D /var/lib/mock/f33-build-225669-48517/root -a --capability=cap_ipc_lock --bind=/tmp/mock-resolv.qaa3nnkg:/etc/resolv.conf --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=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python3.5.spec