ailure( 'images not close (RMS %(rms).3f):\n\t%(actual)s\n\t%(expected)s ' % err) E matplotlib.testing.exceptions.ImageComparisonFailure: images not close (RMS 0.002): E result_images/test_units/plot_pint.png E result_images/test_units/plot_pint-expected.png /usr/lib64/python3.8/site-packages/matplotlib/testing/decorators.py:135: ImageComparisonFailure ------------------------------ Captured log setup ------------------------------ WARNING matplotlib.testing:__init__.py:41 Could not set locale to English/United States. Some date-related tests may fail. _________________________ test_plot_masked_units[png] __________________________ [gw2] linux -- Python 3.8.3 /usr/bin/python3 expected = '/builddir/build/BUILD/mplcairo-0.3/result_images/test_units/plot_masked_units-expected.png' actual = PosixPath('/builddir/build/BUILD/mplcairo-0.3/result_images/test_units/plot_masked_units.png') tol = 0.0 def _raise_on_image_difference(expected, actual, tol): __tracebackhide__ = True err = compare_images(expected, actual, tol, in_decorator=True) if err: for key in ["actual", "expected"]: err[key] = os.path.relpath(err[key]) > raise ImageComparisonFailure( 'images not close (RMS %(rms).3f):\n\t%(actual)s\n\t%(expected)s ' % err) E matplotlib.testing.exceptions.ImageComparisonFailure: images not close (RMS 0.006): E result_images/test_units/plot_masked_units.png E result_images/test_units/plot_masked_units-expected.png /usr/lib64/python3.8/site-packages/matplotlib/testing/decorators.py:135: ImageComparisonFailure ------------------------------ Captured log setup ------------------------------ WARNING matplotlib.testing:__init__.py:41 Could not set locale to English/United States. Some date-related tests may fail. =============================== warnings summary =============================== /usr/lib/python3.8/site-packages/_pytest/cacheprovider.py:127 /usr/lib/python3.8/site-packages/_pytest/cacheprovider.py:127 /usr/lib/python3.8/site-packages/_pytest/cacheprovider.py:127 /usr/lib/python3.8/site-packages/_pytest/cacheprovider.py:127 /usr/lib/python3.8/site-packages/_pytest/cacheprovider.py:127 /usr/lib/python3.8/site-packages/_pytest/cacheprovider.py:127: PytestCacheWarning: could not create cache path /usr/lib64/python3.8/site-packages/.pytest_cache/v/cache/stepwise self.warn("could not create cache path {path}", path=path) /usr/lib/python3.8/site-packages/_pytest/cacheprovider.py:127 /usr/lib/python3.8/site-packages/_pytest/cacheprovider.py:127: PytestCacheWarning: could not create cache path /usr/lib64/python3.8/site-packages/.pytest_cache/v/cache/nodeids self.warn("could not create cache path {path}", path=path) /usr/lib/python3.8/site-packages/_pytest/cacheprovider.py:127 /usr/lib/python3.8/site-packages/_pytest/cacheprovider.py:127: PytestCacheWarning: could not create cache path /usr/lib64/python3.8/site-packages/.pytest_cache/v/cache/lastfailed self.warn("could not create cache path {path}", path=path) -- Docs: https://docs.pytest.org/en/latest/warnings.html = 15 failed, 6687 passed, 1314 skipped, 10 xfailed, 1 xpassed, 7 warnings in 3334.69 seconds = error: Bad exit status from /var/tmp/rpm-tmp.U5T48J (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.U5T48J (%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/python-mplcairo.spec