You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the package is built in a clean chroot and tests are run, imageproc_tests fails
Description
I'm trying to package scantailor-advanced as an rpm for Fedora in my copr. The spec file for the rpm is here. For comparison, this is the spec file for good ol' scantailor. I can successfully build the rpm in a distrobox container and all the tests pass. On the other hand, when I build the rpm in either a mock chroot or in copr, scantailor-advanced builds but imageproc_tests fails.
RPM should build successfully and all tests should pass
Additional information
LastTest.log
Start testing: Jul 04 14:53 UTC
----------------------------------------------------------
1/3 Testing: math_tests
1/3 Test: math_tests
Command: "/builddir/build/BUILD/scantailor-advanced-1.0.18/build/math_tests" "--log_level=message"
Directory: /builddir/build/BUILD/scantailor-advanced-1.0.18/build/src/math/tests
"math_tests" start time: Jul 04 14:53 UTC
Output:
----------------------------------------------------------
Running 10 test cases...
*** No errors detected
<end of output>
Test time = 0.55 sec
----------------------------------------------------------
Test Passed.
"math_tests" end time: Jul 04 14:53 UTC
"math_tests" time elapsed: 00:00:00
----------------------------------------------------------
2/3 Testing: imageproc_tests
2/3 Test: imageproc_tests
Command: "/builddir/build/BUILD/scantailor-advanced-1.0.18/build/imageproc_tests" "--log_level=message"
Directory: /builddir/build/BUILD/scantailor-advanced-1.0.18/build/src/imageproc/tests
"imageproc_tests" start time: Jul 04 14:53 UTC
Output:
----------------------------------------------------------
Running 85 test cases...
Test case SeedFillTestSuite/test_gray4_random did not check any assertions
Test case SeedFillTestSuite/test_gray8_random did not check any assertions
Test case SeedFillTestSuite/test_gray_vs_binary did not check any assertions
unknown location(0): fatal error: in "SkewFinderTestSuite/test_positive_detection": signal: SIGABRT (application abort requested)
/builddir/build/BUILD/scantailor-advanced-1.0.18/src/imageproc/tests/TestSkewFinder.cpp(21): last checkpoint: "test_positive_detection" test entry
*** 1 failure is detected in the test module "Master Test Suite"
<end of output>
Test time = 1.27 sec
----------------------------------------------------------
Test Failed.
"imageproc_tests" end time: Jul 04 14:53 UTC
"imageproc_tests" time elapsed: 00:00:01
----------------------------------------------------------
3/3 Testing: core_tests
3/3 Test: core_tests
Command: "/builddir/build/BUILD/scantailor-advanced-1.0.18/build/core_tests" "--log_level=message"
Directory: /builddir/build/BUILD/scantailor-advanced-1.0.18/build/src/core/tests
"core_tests" start time: Jul 04 14:53 UTC
Output:
----------------------------------------------------------
Running 10 test cases...
*** No errors detected
<end of output>
Test time = 0.05 sec
----------------------------------------------------------
Test Passed.
"core_tests" end time: Jul 04 14:53 UTC
"core_tests" time elapsed: 00:00:00
----------------------------------------------------------
End testing: Jul 04 14:53 UTC
The text was updated successfully, but these errors were encountered:
Summary
When the package is built in a clean chroot and tests are run, imageproc_tests fails
Description
I'm trying to package scantailor-advanced as an rpm for Fedora in my copr. The spec file for the rpm is here. For comparison, this is the spec file for good ol' scantailor. I can successfully build the rpm in a distrobox container and all the tests pass. On the other hand, when I build the rpm in either a mock chroot or in copr, scantailor-advanced builds but imageproc_tests fails.
Steps to reproduce
Build the package in copr or mock
Observed result
https://download.copr.fedorainfracloud.org/results/hazel-bunny/ports/fedora-38-x86_64/06121112-scantailor-advanced/builder-live.log.gz
Expected result
RPM should build successfully and all tests should pass
Additional information
LastTest.log
The text was updated successfully, but these errors were encountered: