Source: ocrmypdf Version: 9.0.1+dfsg-1 X-Debbugs-CC: debian...@lists.debian.org User: debian...@lists.debian.org Usertags: regression
Dear maintainers, With a recent upload of ocrmypdf the autopkgtest of ocrmypdf fails in testing when that autopkgtest is run with the binary packages of ocrmypdf from unstable. It passes when run with only packages from testing. In tabular form: pass fail ocrmypdf from testing 9.0.1+dfsg-1 all others from testing from testing I copied some of the output at the bottom of this report. Currently this regression is blocking the migration to testing [1]. Can you please investigate the situation and fix it? If needed, please change the bug's severity. And just a heads up, your package's autopkgtest is currently also blocking pikepdf/1.6.1+dfsg-1 and ghostscript/9.28~~rc1~dfsg-1 (I may file bugs about those in the near future if the situation doesn't improve). More information about this bug and the reason for filing it can be found on https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation Paul [1] https://qa.debian.org/excuses.php?package=ocrmypdf https://ci.debian.net/data/autopkgtest/testing/amd64/o/ocrmypdf/2812900/log.gz =================================== FAILURES =================================== _________________________________ test_german __________________________________ spoof_tesseract_cache = {'ADTTMP': '/tmp/autopkgtest-lxc.ccds8s_n/downtmp/autopkgtest_tmp', 'ADT_ARTIFACTS': '/tmp/autopkgtest-lxc.ccds8s_n/do...cds8s_n/downtmp/test-suite-artifacts', 'AUTOPKGTEST_TMP': '/tmp/autopkgtest-lxc.ccds8s_n/downtmp/autopkgtest_tmp', ...} resources = PosixPath('/tmp/autopkgtest-lxc.ccds8s_n/downtmp/build.ANr/src/tests/resources') outdir = PosixPath('/tmp/pytest-of-debci/pytest-0/test_german0') @pytest.mark.skipif( pytest.helpers.is_macos() and pytest.helpers.running_in_travis(), reason="takes too long to install language packs in Travis macOS homebrew", ) def test_german(spoof_tesseract_cache, resources, outdir): # Produce a sidecar too - implicit test that system locale is set up # properly. It is fine that we are testing -l deu on a French file because # we are exercising the functionality not going for accuracy. sidecar = outdir / 'francais.txt' p, out, err = run_ocrmypdf( resources / 'francais.pdf', outdir / 'francais.pdf', '-l', 'deu', # more commonly installed '--sidecar', sidecar, env=spoof_tesseract_cache, ) print(os.environ) > assert ( p.returncode == ExitCode.ok ), "This test may fail if Tesseract language packs are missing" E AssertionError: This test may fail if Tesseract language packs are missing E assert 3 == <ExitCode.ok: 0> E + where 3 = CompletedProcess(args=['/usr/bin/python3', '-m', 'ocrmypdf', '-l', 'deu', '--sidecar', '/tmp/pytest-of-debci/pytest-0/...ROR - The installed version of tesseract does not have language data for the following requested languages: \ndeu\n\n').returncode E + and <ExitCode.ok: 0> = ExitCode.ok tests/test_main.py:353: AssertionError
signature.asc
Description: OpenPGP digital signature