ILDSTDERR: [SSL: TLSV1_ALERT_UNKNOWN_CA] tlsv1 alert unknown ca (_ssl.c:1108) BUILDSTDERR: Got an error: BUILDSTDERR: [SSL: SSLV3_ALERT_BAD_CERTIFICATE] sslv3 alert bad certificate (_ssl.c:1108) BUILDSTDERR: test test_urllib2_localnet failed ok ====================================================================== FAIL: test_basic_auth_success (test.test_urllib2_localnet.BasicAuthTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/Python-3.9.0a2/Lib/test/test_urllib2_localnet.py", line 307, in test_basic_auth_success self.assertTrue(urllib.request.urlopen(self.server_url)) urllib.error.HTTPError: HTTP Error 503: Service Unavailable During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/Python-3.9.0a2/Lib/test/test_urllib2_localnet.py", line 309, in test_basic_auth_success self.fail("Basic auth failed for the url: %s" % self.server_url) AssertionError: Basic auth failed for the url: http://127.0.0.1:40093 ---------------------------------------------------------------------- Ran 21 tests in 2.684s FAILED (failures=1) 3 tests failed again: test_ssl test_urllib2 test_urllib2_localnet == Tests result: FAILURE then FAILURE == 395 tests OK. 10 slowest tests: - test_largefile: 8 min 46 sec - test_multiprocessing_spawn: 8 min 42 sec - test_mailbox: 7 min 33 sec - test_asyncio: 7 min 18 sec - test_concurrent_futures: 6 min 21 sec - test_io: 5 min 59 sec - test_multiprocessing_forkserver: 3 min 16 sec - test_lib2to3: 3 min 5 sec - test_regrtest: 2 min 54 sec - test_multiprocessing_main_handling: 2 min 48 sec 3 tests failed: test_ssl test_urllib2 test_urllib2_localnet 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_ssl test_urllib2 test_urllib2_localnet Total duration: 24 min 51 sec Tests result: FAILURE then FAILURE BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.VuBGAq (%check) BUILDSTDERR: extra tokens at the end of %endif directive in line 388: %endif # with main_python BUILDSTDERR: extra tokens at the end of %endif directive in line 567: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %else directive in line 569: %else # with flatpackage BUILDSTDERR: extra tokens at the end of %endif directive in line 593: %endif # with flatpackage BUILDSTDERR: extra tokens at the end of %endif directive in line 734: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %endif directive in line 771: %endif # with gdb_hooks BUILDSTDERR: extra tokens at the end of %endif directive in line 810: %endif # with gdb_hooks BUILDSTDERR: extra tokens at the end of %endif directive in line 845: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %endif directive in line 1077: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %endif directive in line 1080: %endif # with tests BUILDSTDERR: extra tokens at the end of %endif directive in line 1550: %endif # with debug_build RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.VuBGAq (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/python39.spec