al_file (tests.write_test.WriteTest) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/pycurl-7.43.0.2/tests/util.py", line 301, in wrapper BUILDSTDERR: return fn(*(list(args) + [f.file])) BUILDSTDERR: File "/builddir/build/BUILD/pycurl-7.43.0.2/tests/write_test.py", line 184, in test_writefunction_and_writedata_real_file BUILDSTDERR: self.assertEqual('success', real_f.read().decode().lower()) BUILDSTDERR: AssertionError: 'success' != '\n' BUILDSTDERR: Diff is 3826 characters long. Set self.maxDiff to None to see it. BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_writeheader_and_writedata_file_like (tests.write_test.WriteTest) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/pycurl-7.43.0.2/tests/write_test.py", line 130, in test_writeheader_and_writedata_file_like BUILDSTDERR: self.assertEqual('success', body_acceptor.buffer) BUILDSTDERR: AssertionError: 'success' != '\n' BUILDSTDERR: Diff is 3826 characters long. Set self.maxDiff to None to see it. BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_writeheader_and_writedata_real_file (tests.write_test.WriteTest) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/pycurl-7.43.0.2/tests/util.py", line 301, in wrapper BUILDSTDERR: return fn(*(list(args) + [f.file])) BUILDSTDERR: File "/builddir/build/BUILD/pycurl-7.43.0.2/tests/util.py", line 301, in wrapper BUILDSTDERR: return fn(*(list(args) + [f.file])) BUILDSTDERR: File "/builddir/build/BUILD/pycurl-7.43.0.2/tests/write_test.py", line 142, in test_writeheader_and_writedata_real_file BUILDSTDERR: self.assertEqual('success', real_f_data.read().decode()) BUILDSTDERR: AssertionError: 'success' != '\n' BUILDSTDERR: Diff is 3826 characters long. Set self.maxDiff to None to see it. BUILDSTDERR: ====================================================================== BUILDSTDERR: FAIL: test_write_to_bytesio (tests.write_to_stringio_test.WriteToStringioTest) BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Traceback (most recent call last): BUILDSTDERR: File "/builddir/build/BUILD/pycurl-7.43.0.2/tests/write_to_stringio_test.py", line 27, in test_write_to_bytesio BUILDSTDERR: self.assertEqual('success', sio.getvalue().decode()) BUILDSTDERR: AssertionError: 'success' != '\n' BUILDSTDERR: Diff is 3826 characters long. Set self.maxDiff to None to see it. BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Ran 337 tests in 89.562s BUILDSTDERR: FAILED (SKIP=3, errors=23, failures=52) RPM build errors: BUILDSTDERR: make: *** [Makefile:104: do-test] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.ls3BKr (%check) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.ls3BKr (%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/python-pycurl.spec