ueue_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) ... test test_multiprocessing_spawn failed ok ====================================================================== FAIL: test_semaphore_tracker (test.test_multiprocessing_spawn.TestSemaphoreTracker) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/Python-3.7.8/Lib/test/_test_multiprocessing.py", line 4527, in test_semaphore_tracker _multiprocessing.sem_unlink(name2) AssertionError: OSError not raised ---------------------------------------------------------------------- Ran 328 tests in 2370.275s FAILED (failures=1, skipped=30) 3 tests failed again: test_multiprocessing_fork test_multiprocessing_forkserver test_multiprocessing_spawn == Tests result: FAILURE then FAILURE == 392 tests OK. 10 slowest tests: - test_multiprocessing_spawn: 1 hour 34 min - test_gdb: 1 hour 14 min - test_concurrent_futures: 1 hour 12 min - test_multiprocessing_forkserver: 36 min 41 sec - test_lib2to3: 28 min 19 sec - test_multiprocessing_main_handling: 26 min 52 sec - test_weakref: 24 min 47 sec - test_subprocess: 23 min 59 sec - test_pickle: 22 min 57 sec - test_regrtest: 18 min 36 sec 3 tests failed: test_multiprocessing_fork test_multiprocessing_forkserver test_multiprocessing_spawn 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 6 re-run tests: test_concurrent_futures test_multiprocessing_fork test_multiprocessing_forkserver test_multiprocessing_spawn test_socket test_subprocess Total duration: 4 hour 18 min Tests result: FAILURE then FAILURE error: Bad exit status from /var/tmp/rpm-tmp.D0KuNT (%check) RPM build errors: extra tokens at the end of %endif directive in line 627: %endif # with debug_build extra tokens at the end of %else directive in line 629: %else # with flatpackage extra tokens at the end of %endif directive in line 653: %endif # with flatpackage extra tokens at the end of %endif directive in line 798: %endif # with debug_build extra tokens at the end of %endif directive in line 835: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 870: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 905: %endif # with debug_build extra tokens at the end of %endif directive in line 1130: %endif # with debug_build extra tokens at the end of %endif directive in line 1133: %endif # with tests extra tokens at the end of %endif directive in line 1579: %endif # with debug_build Bad exit status from /var/tmp/rpm-tmp.D0KuNT (%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/python3.7.spec