Source: ocrmypdf Version: 6.2.4-1 X-Debbugs-CC: debian-ci@lists.debian.org, tesseract@packages.debian.org User: debian-ci@lists.debian.org Usertags: needs-update Control: affects -1 src:tesseract Dear maintainers, With a recent upload of tesseract the autopkgtest of ocrmypdf fails in testing when that autopkgtest is run with the binary packages of tesseract from unstable. It passes when run with only packages from testing. In tabular form: pass fail tesseract from testing 4.00~git3241-1066f696-1 ocrmypdf from testing 6.2.4-1 all others from testing from testing I copied some of the output at the bottom of this report. It seems tesseract change the p into a P in the warning. Currently this regression is contributing to the delay of the migration of tesseract to testing [1]. Of course, tesseract shouldn't just break your autopkgtest (or even worse, your package), but it seems to me that the change in tesseract was intended and your package needs to update to the new situation. If needed, please change the bug's severity. If this is a real problem in your package (and not only in your autopkgtest), the right binary package(s) from tesseract should really add a versioned Breaks on the unfixed version of (one of your) package(s). Note: the Breaks is nice even if the issue is only in the autopkgtest as it helps the migration software to figure out the right versions to combine in the tests. 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=tesseract https://ci.debian.net/data/autopkgtest/testing/amd64/o/ocrmypdf/1209359/log.gz =================================== FAILURES =================================== _____________________ test_tesseract_config_invalid[hocr] ______________________ renderer = 'hocr' resources = PosixPath('/tmp/autopkgtest-lxc.n8pgwx8u/downtmp/build.pIk/src/tests/resources') outdir = PosixPath('/tmp/pytest-of-debci/pytest-0/test_tesseract_config_invalid_0') @pytest.mark.parametrize('renderer', RENDERERS) def test_tesseract_config_invalid(renderer, resources, outdir): cfg_file = outdir / 'test.cfg' with cfg_file.open('w') as f: f.write('''\ THIS FILE IS INVALID ''') p, out, err = run_ocrmypdf( resources / 'ccitt.pdf', outdir / 'out.pdf', '--pdf-renderer', renderer, '--tesseract-config', cfg_file) > assert "parameter not found" in err, "No error message" E AssertionError: No error message E assert 'parameter not found' in 'WARNING - 1: [tesseract] Warning: Parameter not found: THIS\n INFO - Output file is a PDF/A-2B (as expected)\n' tests/test_main.py:737: AssertionError ___________________ test_tesseract_config_invalid[tesseract] ___________________ renderer = 'tesseract' resources = PosixPath('/tmp/autopkgtest-lxc.n8pgwx8u/downtmp/build.pIk/src/tests/resources') outdir = PosixPath('/tmp/pytest-of-debci/pytest-0/test_tesseract_config_invalid_1') @pytest.mark.parametrize('renderer', RENDERERS) def test_tesseract_config_invalid(renderer, resources, outdir): cfg_file = outdir / 'test.cfg' with cfg_file.open('w') as f: f.write('''\ THIS FILE IS INVALID ''') p, out, err = run_ocrmypdf( resources / 'ccitt.pdf', outdir / 'out.pdf', '--pdf-renderer', renderer, '--tesseract-config', cfg_file) > assert "parameter not found" in err, "No error message" E AssertionError: No error message E assert 'parameter not found' in 'WARNING - The argument --pdf-renderer=tesseract provides support for versions of tesseract older than your version. F....\nWARNING - 1: [tesseract] Warning: Parameter not found: THIS\n INFO - Output file is a PDF/A-2B (as expected)\n' tests/test_main.py:737: AssertionError ___________________ test_tesseract_config_invalid[sandwich] ____________________ renderer = 'sandwich' resources = PosixPath('/tmp/autopkgtest-lxc.n8pgwx8u/downtmp/build.pIk/src/tests/resources') outdir = PosixPath('/tmp/pytest-of-debci/pytest-0/test_tesseract_config_invalid_2') @pytest.mark.parametrize('renderer', RENDERERS) def test_tesseract_config_invalid(renderer, resources, outdir): cfg_file = outdir / 'test.cfg' with cfg_file.open('w') as f: f.write('''\ THIS FILE IS INVALID ''') p, out, err = run_ocrmypdf( resources / 'ccitt.pdf', outdir / 'out.pdf', '--pdf-renderer', renderer, '--tesseract-config', cfg_file) > assert "parameter not found" in err, "No error message" E AssertionError: No error message E assert 'parameter not found' in 'WARNING - 1: [tesseract] Warning: Parameter not found: THIS\n INFO - Output file is a PDF/A-2B (as expected)\n' tests/test_main.py:737: AssertionError
Attachment:
signature.asc
Description: OpenPGP digital signature