g_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) ... /builddir/build/BUILD/Python-3.8.8/Lib/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 1 leaked shared_memory objects to clean up at shutdown warnings.warn('resource_tracker: There appear to be %d ' /builddir/build/BUILD/Python-3.8.8/Lib/multiprocessing/resource_tracker.py:229: UserWarning: resource_tracker: '/psm_c8e08d8b': [Errno 2] No such file or directory: '/psm_c8e08d8b' warnings.warn('resource_tracker: %r: %s' % (name, e)) ok ---------------------------------------------------------------------- Ran 356 tests in 1005.386s OK (skipped=35) 1 test failed again: test_venv == Tests result: FAILURE then FAILURE == 401 tests OK. 10 slowest tests: - test_concurrent_futures: 35 min - test_multiprocessing_forkserver: 12 min 38 sec - test_pickle: 9 min 47 sec - test_subprocess: 9 min 36 sec - test_asyncio: 8 min 50 sec - test_multiprocessing_main_handling: 8 min 31 sec - test_multiprocessing_fork: 7 min 7 sec - test_lib2to3: 6 min 56 sec - test_regrtest: 6 min 3 sec - test_weakref: 6 min 3 sec 1 test failed: test_venv 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_concurrent_futures test_multiprocessing_spawn test_venv Total duration: 1 hour 23 min Tests result: FAILURE then FAILURE error: Bad exit status from /var/tmp/rpm-tmp.TeqmXT (%check) RPM build errors: extra tokens at the end of %endif directive in line 484: %endif # with main_python extra tokens at the end of %endif directive in line 650: %endif # with debug_build extra tokens at the end of %else directive in line 652: %else # with flatpackage extra tokens at the end of %endif directive in line 685: %endif # with flatpackage extra tokens at the end of %endif directive in line 835: %endif # with debug_build extra tokens at the end of %endif directive in line 872: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 907: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 942: %endif # with debug_build extra tokens at the end of %endif directive in line 1178: %endif # with debug_build extra tokens at the end of %endif directive in line 1181: %endif # with tests extra tokens at the end of %endif directive in line 1650: %endif # with debug_build Bad exit status from /var/tmp/rpm-tmp.TeqmXT (%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.8.spec