Bug 2435305 - tesseract tests fail on Rawhide on aarch64 due to leptonica issue
Summary: tesseract tests fail on Rawhide on aarch64 due to leptonica issue
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: os-autoinst
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Adam Williamson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2435534
Blocks: 2446687
TreeView+ depends on / blocked
 
Reported: 2026-01-29 15:36 UTC by Nicolas Chauvet (kwizart)
Modified: 2026-07-04 00:49 UTC (History)
1 user (show)

Fixed In Version: os-autoinst-5^20260601git6ee8da2-1.fc44
Clone Of:
Environment:
Last Closed: 2026-07-04 00:49:23 UTC
Type: ---
Embargoed:
fedora-admin-xmlrpc: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FC-3056 0 None None None 2026-01-29 15:37:46 UTC

Description Nicolas Chauvet (kwizart) 2026-01-29 15:36:17 UTC
This failure was seen as part of the OpenCV-4.13 rebuild but pre-date this newer OpenCV as the mass rebuilt build failed also.

I find very hard to tell which tests did fail and attempted to disable only
 t/27-consoles-sshXtermIPMI.t t/27-consoles-vnc.t

As a workaround I've temporarily disabled the RC on meson test to pass the build (then reverted it).

See also:

2: Test Summary Report
2: -------------------
2: t/27-consoles-local_xvnc.t                (Wstat: 65280 (exited 255) Tests: 2 Failed: 0)
2:   Non-zero exit status: 255
2:   Parse errors: No plan found in TAP output
2: t/27-consoles-sshXtermIPMI.t              (Wstat: 512 (exited 2) Tests: 3 Failed: 1)
2:   Failed test:  3
2:   Non-zero exit status: 2
2:   Parse errors: No plan found in TAP output
2: t/27-consoles-sshXtermVt.t                (Wstat: 65280 (exited 255) Tests: 0 Failed: 0)
2:   Non-zero exit status: 255
2:   Parse errors: No plan found in TAP output
2: t/27-consoles-vnc.t                       (Wstat: 65280 (exited 255) Tests: 23 Failed: 1)
2:   Failed test:  23
2:   Non-zero exit status: 255
2:   Parse errors: No plan found in TAP output
2: t/29-backend-ipmi.t                       (Wstat: 65280 (exited 255) Tests: 15 Failed: 0)
2:   Non-zero exit status: 255
2:   Parse errors: No plan found in TAP output
2: Files=70, Tests=1517, 503 wallclock secs ( 0.55 usr  0.21 sys + 88.03 cusr 24.70 csys = 113.49 CPU)
2: Result: FAIL
2/2 Test #2: test-perl-testsuite ..............***Failed  502.46 sec
The following tests passed:
	test-installed-files
50% tests passed, 1 tests failed out of 2
Total Test time (real) = 502.62 sec
The following tests FAILED:
	  2 - test-perl-testsuite (Failed)
Errors while running CTest
Output from these tests are in: /builddir/build/BUILD/os-autoinst-5_20260123git72cabd0-build/os-autoinst-72cabd06219204bb1c60c664ac5edbd87f26e030/redhat-linux-build/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
FAILED: [code=8] CMakeFiles/check-pkg-build /builddir/build/BUILD/os-autoinst-5_20260123git72cabd0-build/os-autoinst-72cabd06219204bb1c60c664ac5edbd87f26e030/redhat-linux-build/CMakeFiles/check-pkg-build 
cd /builddir/build/BUILD/os-autoinst-5_20260123git72cabd0-build/os-autoinst-72cabd06219204bb1c60c664ac5edbd87f26e030/redhat-linux-build && /usr/bin/ctest -V -E test-local-.*
ninja: build stopped: subcommand failed.
error: Bad exit status from /var/tmp/rpm-tmp.Qf6pFQ (%check)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.Qf6pFQ (%check)


Reproducible: Always

Comment 1 Adam Williamson 2026-01-29 17:23:13 UTC
The mass rebuild succeeded, it was my last manual build that failed (but I didn't notice because I really only care about f43 at present). I'll look into it, thanks.

Comment 2 Adam Williamson 2026-01-29 17:37:42 UTC
Caused by https://bugzilla.redhat.com/show_bug.cgi?id=2435326 , fixed now, I'm doing a new build on the side tag.

Comment 3 Nicolas Chauvet (kwizart) 2026-01-29 18:02:25 UTC
(In reply to Adam Williamson from comment #2)
> Caused by https://bugzilla.redhat.com/show_bug.cgi?id=2435326 , fixed now,
> I'm doing a new build on the side tag.

You might have to manually tag the package into f44-updates-candidate as the side-tag was removed in-between.
I had the case for kstars that I've missed to build in the side tag.

Comment 4 Adam Williamson 2026-01-30 02:31:21 UTC
Hmm, now aarch64 (only) is failing elsewhere in the test suite. I'll look into it tomorrow.

Comment 5 Adam Williamson 2026-01-30 20:03:35 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=2435534 is the cause of the aarch64 failure.

Comment 6 Adam Williamson 2026-03-18 21:41:28 UTC
So the initial aarch64 tesseract/leptonica bug is fixed but the tests still fail, I have not yet had chance to dig into why.

Comment 7 Adam Williamson 2026-05-22 01:27:09 UTC
OK, now I had time; it seems we can now revert the workaround in leptonica as the GCC bug got fixed, and that makes it behave properly on aarch64. I guess the workaround wasn't actually fully correct.

New leptonica builds coming for F44 and Rawhide, leptonica will be on a side tag with a new snapshot build of os-autoinst.

Comment 8 Fedora Update System 2026-05-28 18:43:37 UTC
FEDORA-2026-a72f110dcd (leptonica-1.87.0-4.fc44) has been submitted as an update to Fedora 44.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-a72f110dcd

Comment 9 Adam Williamson 2026-05-28 18:44:36 UTC
Actually I ran into a weird issue with os-autoinst - https://progress.opensuse.org/issues/201516 - so I don't want to submit it yet. I've submitted leptonica alone for now, will add os-autoinst if/when I can figure out that other thing.

Comment 10 Fedora Update System 2026-05-29 01:44:28 UTC
FEDORA-2026-a72f110dcd has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-a72f110dcd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a72f110dcd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2026-05-30 01:35:20 UTC
FEDORA-2026-a72f110dcd has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-a72f110dcd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a72f110dcd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2026-06-02 01:34:44 UTC
FEDORA-2026-a72f110dcd has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-a72f110dcd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a72f110dcd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2026-06-07 01:38:26 UTC
FEDORA-2026-a72f110dcd has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-a72f110dcd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a72f110dcd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2026-06-19 19:00:04 UTC
FEDORA-2026-a72f110dcd has been pushed to the Fedora 44 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-a72f110dcd`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-a72f110dcd

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2026-07-04 00:49:23 UTC
FEDORA-2026-a72f110dcd (leptonica-1.87.0-4.fc44, openqa-5^20260604git6376095-3.fc44, and 1 more) has been pushed to the Fedora 44 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.