LDSTDERR: [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.8.0/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.8.0/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:36003 ---------------------------------------------------------------------- Ran 21 tests in 3.136s FAILED (failures=1) 4 tests failed again: test_posix test_ssl test_urllib2 test_urllib2_localnet == Tests result: FAILURE then FAILURE == 397 tests OK. 10 slowest tests: - test_multiprocessing_spawn: 17 min 3 sec - test_asyncio: 9 min 57 sec - test_concurrent_futures: 9 min 2 sec - test_pickle: 8 min 58 sec - test_capi: 8 min 43 sec - test_lib2to3: 6 min 12 sec - test_multiprocessing_forkserver: 5 min 25 sec - test_regrtest: 5 min 1 sec - test_buffer: 4 min 53 sec - test_weakref: 4 min 44 sec 4 tests failed: test_posix 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 4 re-run tests: test_posix test_ssl test_urllib2 test_urllib2_localnet Total duration: 39 min 21 sec Tests result: FAILURE then FAILURE BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.moXlsc (%check) BUILDSTDERR: line 312: It's not recommended to have unversioned Obsoletes: Obsoletes: python38 BUILDSTDERR: extra tokens at the end of %endif directive in line 548: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %else directive in line 550: %else # with flatpackage BUILDSTDERR: extra tokens at the end of %endif directive in line 574: %endif # with flatpackage BUILDSTDERR: extra tokens at the end of %endif directive in line 715: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %endif directive in line 752: %endif # with gdb_hooks BUILDSTDERR: extra tokens at the end of %endif directive in line 791: %endif # with gdb_hooks BUILDSTDERR: extra tokens at the end of %endif directive in line 826: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %endif directive in line 1050: %endif # with debug_build BUILDSTDERR: extra tokens at the end of %endif directive in line 1053: %endif # with tests RPM build errors: BUILDSTDERR: extra tokens at the end of %endif directive in line 1509: %endif # with debug_build BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.moXlsc (%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/python3.spec