ignal (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 287 tests in 581.071s OK (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_gdb: 2 hour 5 min - test_multiprocessing_spawn: 1 hour 12 min - test_lib2to3: 41 min 23 sec - test_pickle: 38 min 58 sec - test_concurrent_futures: 32 min 51 sec - test_buffer: 31 min 3 sec - test_weakref: 25 min 54 sec - test_multiprocessing_forkserver: 24 min 9 sec - test_regrtest: 19 min 57 sec - test_subprocess: 18 min 25 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 8 re-run tests: test_concurrent_futures test_ftplib test_multiprocessing_fork test_multiprocessing_forkserver test_multiprocessing_spawn test_pydoc test_socket test_subprocess Total duration: 4 hour 39 min Tests result: FAILURE then FAILURE BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.zWzCjo (%check) RPM build errors: BUILDSTDERR: extra tokens at the end of %endif directive in line 571: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %else directive in line 573: %else # with flatpackage BUILDSTDERR: extra tokens at the end of %endif directive in line 597: %endif # with flatpackage BUILDSTDERR: extra tokens at the end of %endif directive in line 737: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %endif directive in line 774: %endif # with gdb_hooks BUILDSTDERR: extra tokens at the end of %endif directive in line 813: %endif # with gdb_hooks BUILDSTDERR: extra tokens at the end of %endif directive in line 848: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %endif directive in line 1073: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %endif directive in line 1076: %endif # with tests BUILDSTDERR: extra tokens at the end of %endif directive in line 1521: %endif # with debug_build BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.zWzCjo (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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