t_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' test_send_signal (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' test_send_signal_dead (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' test_shell_encodings (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' test_shell_sequence (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' test_shell_string (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' test_startupinfo (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' test_startupinfo_copy (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' test_startupinfo_keywords (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' test_terminate (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' test_terminate_dead (test.test_subprocess.Win32ProcessTestCase) ... skipped 'Windows specific tests' ---------------------------------------------------------------------- Ran 288 tests in 1020.574s OK (skipped=30) 5 tests failed again: test_multiprocessing_fork test_multiprocessing_forkserver test_multiprocessing_spawn test_queue test_socket == Tests result: FAILURE then FAILURE == 390 tests OK. 10 slowest tests: - test_gdb: 1 hour 41 min - test_multiprocessing_spawn: 1 hour 29 min - test_lib2to3: 36 min 15 sec - test_concurrent_futures: 34 min 16 sec - test_pickle: 33 min 30 sec - test_weakref: 29 min 43 sec - test_subprocess: 27 min 51 sec - test_multiprocessing_forkserver: 27 min 47 sec - test_buffer: 26 min 5 sec - test_regrtest: 22 min 52 sec 5 tests failed: test_multiprocessing_fork test_multiprocessing_forkserver test_multiprocessing_spawn test_queue test_socket 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 9 re-run tests: test_asyncio test_concurrent_futures test_epoll test_multiprocessing_fork test_multiprocessing_forkserver test_multiprocessing_spawn test_queue test_socket test_subprocess Total duration: 5 hour 41 min Tests result: FAILURE then FAILURE error: Bad exit status from /var/tmp/rpm-tmp.R1eXuL (%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.R1eXuL (%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