Source: ocrmypdf
Version: 16.1.2+dfsg1-1
Severity: serious
X-Debbugs-Cc: sramac...@debian.org

https://ci.debian.net/packages/o/ocrmypdf/testing/amd64/46448482/


425s =================================== FAILURES 
===================================
425s _________________________________ test_semfree 
_________________________________
425s 
425s resources = 
PosixPath('/tmp/autopkgtest-lxc.6_tdzv6n/downtmp/build.kDh/src/tests/resources')
425s outpdf = PosixPath('/tmp/pytest-of-debci/pytest-0/test_semfree0/out.pdf')
425s 
425s     @pytest.mark.skipif(not is_linux(), reason='semfree plugin only works 
on Linux')
425s     def test_semfree(resources, outpdf):
425s         exitcode = run_ocrmypdf_api(
425s             resources / 'multipage.pdf',
425s             outpdf,
425s             '--skip-text',
425s             '--skip-big',
425s             '2',
425s             '--plugin',
425s             'ocrmypdf.extra_plugins.semfree',
425s             '--plugin',
425s             'tests/plugins/tesseract_noop.py',
425s         )
425s >       assert exitcode == ExitCode.ok
425s E       assert <ExitCode.pdfa_conversion_failed: 10> == <ExitCode.ok: 0>
425s E        +  where <ExitCode.ok: 0> = ExitCode.ok
425s 
425s tests/test_semfree.py:26: AssertionError
425s ------------------------------ Captured log call 
-------------------------------
425s WARNING  ocrmypdf._pipeline:_pipeline.py:358 page too big, skipping OCR 
(81.0 MPixels > 2.0 MPixels --skip-big)
425s WARNING  ocrmypdf._pipeline:_pipeline.py:358 page too big, skipping OCR 
(2.0 MPixels > 2.0 MPixels --skip-big)
425s WARNING  ocrmypdf._metadata:_metadata.py:62 Some input metadata could not 
be copied because it is not permitted in PDF/A. You may wish to examine the 
output PDF's XMP metadata.
425s WARNING  ocrmypdf._pipelines._common:_common.py:443 Output file is okay 
but is not PDF/A (seems to be No PDF/A metadata in XMP)
425s =============================== warnings summary 
===============================
425s tests/test_main.py::test_jbig2_passthrough
425s tests/test_metadata.py::test_creation_date_preserved[pdf-jbig2.pdf]
425s   /usr/lib/python3/dist-packages/pikepdf/_methods.py:264: UserWarning: 
pikepdf is missing some specialized decoders (probably JBIG2) so not all stream 
contents can be tested.
425s     self._decode_all_streams_and_discard()
425s 
425s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
425s =========================== short test summary info 
============================
425s FAILED tests/test_semfree.py::test_semfree - assert 
<ExitCode.pdfa_conversion...
425s = 1 failed, 322 passed, 43 skipped, 4 xfailed, 2 warnings in 357.20s 
(0:05:57) =

Cheers
-- 
Sebastian Ramacher

Reply via email to