. If you expect this sort of " "variability in your test timings, consider turning " "deadlines off for this test by setting deadline=None." % ( exception.runtime.total_seconds() * 1000, self.settings.deadline.total_seconds() * 1000, self.__test_runtime.total_seconds() * 1000, ) ) else: report("Failed to reproduce exception. Expected: \n" + traceback) > raise Flaky( f"Hypothesis {text_repr} produces unreliable results: " "Falsified on the first call but did not on a subsequent one" ) from exception E hypothesis.errors.Flaky: Hypothesis test_random_image(spec=ImageSpec(bpc=8, width=1, height=1, colorspace=pikepdf.Name("/DeviceGray"), imbytes=b'\x00'), tmp_path_factory=TempPathFactory(_given_basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0'), _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all')) produces unreliable results: Falsified on the first call but did not on a subsequent one E Falsifying example: test_random_image( E tmp_path_factory=TempPathFactory(_given_basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0'), _trace=, _basetemp=PosixPath('/tmp/pytest-of-mockbuild/pytest-0/popen-gw0'), _retention_count=3, _retention_policy='all'), E spec=ImageSpec(bpc=8, width=1, height=1, colorspace=pikepdf.Name("/DeviceGray"), imbytes=b'\x00'), E ) E Unreliable test timings! On an initial run, this test took 274.54ms, which exceeded the deadline of 200.00ms, but on a subsequent run it took 131.80 ms, which did not. If you expect this sort of variability in your test timings, consider turning deadlines off for this test by setting deadline=None. /usr/lib/python3.12/site-packages/hypothesis/core.py:814: Flaky =========================== short test summary info ============================ SKIPPED [1] tests/test_jbig2.py:101: jbig2dec not installed SKIPPED [1] tests/test_jbig2.py:107: jbig2dec not installed SKIPPED [1] tests/test_jbig2.py:116: jbig2dec not installed SKIPPED [1] tests/test_jbig2.py:137: jbig2dec not installed SKIPPED [1] tests/test_metadata.py:213: could not import 'libxmp': No module named 'libxmp' SKIPPED [1] tests/test_metadata.py:231: could not import 'libxmp': No module named 'libxmp' SKIPPED [1] tests/test_metadata.py:242: could not import 'libxmp': No module named 'libxmp' SKIPPED [1] tests/test_metadata.py:509: could not import 'libxmp': No module named 'libxmp' SKIPPED [1] tests/test_pdfa.py:75: verapdf not available SKIPPED [1] tests/test_pdfa.py:93: verapdf not available SKIPPED [1] tests/test_private_pdfs.py:30: private resources not available SKIPPED [1] tests/test_jbig2.py:146: jbig2dec not installed XFAIL tests/test_foreign.py::test_issue_271 - current qpdf behavior FAILED tests/test_image_access.py::test_random_image - hypothesis.errors.Flak... ======= 1 failed, 611 passed, 12 skipped, 1 xfailed in 99.61s (0:01:39) ======== error: Bad exit status from /var/tmp/rpm-tmp.XQJ8GV (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.XQJ8GV (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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 -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/python-pikepdf.spec