Unexpected failing test on x86 (chroot): NR-DEC-Bretagne1_ht_lossy.j2k-311-decode-md5
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 [email protected], 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
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.
known failure on Windows, but not on Linux:
That sounds very shady.
known failure on Windows, but not on Linux:
That sounds very shady.
Right?