Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected failing test on x86 (chroot): NR-DEC-Bretagne1_ht_lossy.j2k-311-decode-md5 #1435

Open
laumann opened this issue Jul 8, 2022 · 3 comments

Comments

@laumann
Copy link
Contributor

laumann commented Jul 8, 2022

Expected behavior and actual behavior.

50 tests are expected to fail on x86, I get 51 failed tests. The new one is NR-DEC-Bretagne1_ht_lossy.j2k-311-decode-md5.

I found that this test is a known failure on Windows, but not on Linux:

# grep -r NR-DEC-Bretagne1_ht_lossy.j2k-311-decode-md5
tools/travis-ci/knownfailures-windows-vs2015-x64-avx2-Release-3rdP.txt:NR-DEC-Bretagne1_ht_lossy.j2k-311-decode-md5
tools/travis-ci/knownfailures-windows-vs2010-x86-Release-3rdP.txt:NR-DEC-Bretagne1_ht_lossy.j2k-311-decode-md5

Steps to reproduce the problem.

In an x86 chroot environment, clone openjeg@v2.5.0, openjpeg-data commit 1f3d093030f9a0b43353ec6b48500f65786ff57a in folders next to each other:

# ls -al
total 20
drwxr-xr-x  5 root root 4096 Jul  7 18:46 .
drwx------  3 root root 4096 Jul  7 20:59 ..
drwxr-xr-x  9 root root 4096 Jul  7 18:47 build
drwxrwxr-x  4 root root 4096 Sep 26  2021 data
drwxrwxr-x 11 root root 4096 Jul  7 18:44 openjpeg-2.5.0
cd build
cmake -G Ninja -DBUILD_TESTING=ON ../openjpeg-2.5.0/
ninja
ctest

Can also be reproduced on Gentoo with:

FEATURES=test emerge =media-libs/openjpeg-2.5.0

On Gentoo, for testing the flag -ffp-contract=off is appended to CFLAGS (from #1017) but I've found that it doesn't have any impact on this particular test.

Operating system

Gentoo Linux
C compiler:

i686-pc-linux-gnu-gcc --version

i686-pc-linux-gnu-gcc (Gentoo 11.3.0 p4) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

openjpeg version

2.5.0

@laumann
Copy link
Contributor Author

laumann commented Jul 8, 2022

Let me know if any additional information is required. At the moment, I think the probable culprit is the chroot - I can maybe someone else to try it out on proper x86 hardware, and report back.

@laumann
Copy link
Contributor Author

laumann commented Jul 20, 2022

known failure on Windows, but not on Linux:

That sounds very shady.

Right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@laumann and others