action #122047
closed
Added by osukup almost 2 years ago.
Updated almost 2 years ago.
Category:
Regressions/Crashes
Description
Motivation¶
with adding tesseract-ocr to deps in CI was uncovered this test is failing (os-autoinst/t/02-test_ocr.t)
Acceptance criteria¶
Comments¶
- Copied from action #121357: [easy][beginner] Ensure 100% test coverage of t/ in os-autoinst size:M added
there is also another problem:
: "tesseract" unexpectedly returned exit value 1 at /opt/ppmclibs/blib/lib/tinycv.pm line 113.
631
7: at /opt/ocr.pm line 20
632
7: # Tests were run but no plan was declared and done_testing() was not seen.
633
7: # Looks like your test exited with 1 just after 2.
634
7: [11:10:03] ./t/02-test_ocr.t ..........................
635
7: Dubious, test returned 1 (wstat 256, 0x100)
and same problem in OBS:
[ 128s] 3: "tesseract" unexpectedly returned exit value 1 at /home/abuild/rpmbuild/BUILD/os-autoinst-4.6.1671105276.b860e7f/ppmclibs/blib/lib/tinycv.pm line 113.
[ 128s] 3: at /home/abuild/rpmbuild/BUILD/os-autoinst-4.6.1671105276.b860e7f/ocr.pm line 20
[ 128s] 3: ok 2 - no (unexpected) warnings (via END block)
[ 128s] 3: # Tests were run but no plan was declared and done_testing() was not seen.
[ 128s] 3: # Looks like your test exited with 1 just after 2.
[ 128s] 3: Dubious, test returned 1 (wstat 256, 0x100)
- Status changed from New to Resolved
- Assignee set to osukup
cause of problem was missing tesseract trained data, -> found after removing autodie
from ocr.pm
Also available in: Atom
PDF