eads (test.test_multiprocessing_spawn.WithThreadsTestProcess) ... skipped 'test not appropriate for threads' test_fork (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... ok test_get (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... ok test_no_import_lock_contention (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... ok test_put (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... ok test_qsize (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... ok test_queue_feeder_donot_stop_onexc (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... skipped 'test not appropriate for threads' test_queue_feeder_on_queue_feeder_error (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... skipped 'test not appropriate for threads' test_task_done (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... ok test_timeout (test.test_multiprocessing_spawn.WithThreadsTestQueue) ... ok test_bounded_semaphore (test.test_multiprocessing_spawn.WithThreadsTestSemaphore) ... ok test_semaphore (test.test_multiprocessing_spawn.WithThreadsTestSemaphore) ... ok test_timeout (test.test_multiprocessing_spawn.WithThreadsTestSemaphore) ... skipped 'test not appropriate for threads' test_import (test.test_multiprocessing_spawn._TestImportStar) ... ok ---------------------------------------------------------------------- Ran 327 tests in 1280.721s OK (skipped=30) 2 tests failed again: test_multiprocessing_fork test_multiprocessing_forkserver == Tests result: FAILURE then FAILURE == 393 tests OK. 10 slowest tests: - test_gdb: 47 min 35 sec - test_multiprocessing_spawn: 40 min 38 sec - test_concurrent_futures: 19 min 30 sec - test_lib2to3: 17 min 12 sec - test_pickle: 16 min 35 sec - test_weakref: 14 min 19 sec - test_multiprocessing_forkserver: 13 min 11 sec - test_buffer: 12 min 50 sec - test_subprocess: 12 min 25 sec - test_regrtest: 10 min 57 sec 2 tests failed: test_multiprocessing_fork test_multiprocessing_forkserver 20 tests skipped: test_curses test_devpoll test_ioctl test_kqueue test_msilib test_ossaudiodev test_smtpnet test_socketserver test_startfile test_timeout test_tix test_tk test_ttk_guionly test_urllib2net test_urllibnet test_winconsoleio test_winreg test_winsound test_xmlrpc_net test_zipfile64 3 re-run tests: test_multiprocessing_fork test_multiprocessing_forkserver test_multiprocessing_spawn Total duration: 2 hour 11 min Tests result: FAILURE then FAILURE error: Bad exit status from /var/tmp/rpm-tmp.vUUaLb (%check) RPM build errors: extra tokens at the end of %endif directive in line 564: %endif # with debug_build extra tokens at the end of %else directive in line 566: %else # with flatpackage extra tokens at the end of %endif directive in line 590: %endif # with flatpackage extra tokens at the end of %endif directive in line 731: %endif # with debug_build extra tokens at the end of %endif directive in line 768: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 807: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 842: %endif # with debug_build extra tokens at the end of %endif directive in line 1067: %endif # with debug_build extra tokens at the end of %endif directive in line 1070: %endif # with tests extra tokens at the end of %endif directive in line 1515: %endif # with debug_build Bad exit status from /var/tmp/rpm-tmp.vUUaLb (%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: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python37.spec