lTestCase) ... skipped 'Windows-specific test' test_noargs (ctypes.test.test_win32.FunctionCallTestCase) ... skipped 'Windows-specific test' test_sizes (ctypes.test.test_win32.ReturnStructSizesTestCase) ... skipped 'Windows-specific test' test_struct_by_value (ctypes.test.test_win32.Structures) ... ok test_winerror (ctypes.test.test_win32.TestWinError) ... skipped 'Windows-specific test' test_COMError (ctypes.test.test_win32.TestWintypes) ... skipped 'Windows-specific test' test_HWND (ctypes.test.test_win32.TestWintypes) ... skipped 'Windows-specific test' test_PARAM (ctypes.test.test_win32.TestWintypes) ... skipped 'Windows-specific test' test_callconv_1 (ctypes.test.test_win32.WindowsTestCase) ... skipped 'Windows-specific test' test_callconv_2 (ctypes.test.test_win32.WindowsTestCase) ... skipped 'Windows-specific test' test_variant_bool (ctypes.test.test_wintypes.WinTypesTest) ... test test_ctypes failed skipped 'Windows-only test' ====================================================================== FAIL: test_pass_by_value (ctypes.test.test_structures.StructureTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/Python-3.6.10/Lib/ctypes/test/test_structures.py", line 416, in test_pass_by_value self.assertEqual(s.first, 0xdeadbeef) AssertionError: 195948557 != 3735928559 ---------------------------------------------------------------------- Ran 471 tests in 22.182s FAILED (failures=1, skipped=88) 1 test failed again: test_ctypes == Tests result: FAILURE then FAILURE == 383 tests OK. 10 slowest tests: - test_weakref: 59 min 13 sec - test_multiprocessing_spawn: 15 min 16 sec - test_subprocess: 10 min 20 sec - test_multiprocessing_forkserver: 6 min 23 sec - test_lib2to3: 6 min 10 sec - test_asyncio: 5 min 34 sec - test_multiprocessing_fork: 5 min 10 sec - test_buffer: 4 min 9 sec - test_pickle: 4 min 7 sec - test_io: 4 min 6 sec 1 test failed: test_ctypes 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 1 re-run test: test_ctypes 2 tests run no tests: test_dtrace test_future4 Total duration: 3 hour 42 min Tests result: FAILURE then FAILURE error: Bad exit status from /var/tmp/rpm-tmp.fmlas4 (%check) RPM build errors: extra tokens at the end of %endif directive in line 592: %endif # with debug_build extra tokens at the end of %else directive in line 594: %else # with flatpackage extra tokens at the end of %endif directive in line 619: %endif # with flatpackage extra tokens at the end of %endif directive in line 760: %endif # with debug_build extra tokens at the end of %endif directive in line 797: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 836: %endif # with gdb_hooks extra tokens at the end of %endif directive in line 871: %endif # with debug_build extra tokens at the end of %endif directive in line 1075: %endif # with debug_build extra tokens at the end of %endif directive in line 1078: %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.fmlas4 (%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.6.spec