Test suite failures on several less-common architectures - Redmine #1987
Archive from user: Nicholas Breen
Continuing the Debian architecture tests, “make check” fails on at least seven architectures: arm64, armhf†, mipsel, alpha, hppa, mips64el, and sparc64, with one or both of the following failures:
5/20 Test #5: HardwareUnitTests ................***Failed 0.08 sec
[==========] Running 5 tests from 2 test cases.
[----------] Global test environment set-u
[----------] 1 test from CpuInfoTest
[ RUN ] CpuInfoTest.SupportLevel
/«PKGBUILDDIR»/src/gromacs/hardware/tests/cpuinfo.cpp:72: Failure
Expected: (c.supportLevel()) >= (gmx::CpuInfo::SupportLevel::Features), actual: 4-byte object <01-00 00-00> vs 4-byte object <02-00 00-00>
No CPU features could be detected.
GROMACS might still work, but it will likely hurt your performance.
Please mail gmx-developers@gromacs.org so we can try to fix it.
[ FAILED ] CpuInfoTest.SupportLevel (1 ms)
[----------] 1 test from CpuInfoTest (1 ms total)
[----------] 4 tests from HardwareTopologyTest
[ RUN ] HardwareTopologyTest.Execute
[ OK ] HardwareTopologyTest.Execute (15 ms)
[ RUN ] HardwareTopologyTest.HwlocExecute
/«PKGBUILDDIR»/src/gromacs/hardware/tests/hardwaretopology.cpp:86: Failure
Expected: (hwTosupportLevel()) >= (gmx::HardwareTopology::SupportLevel::Full), actual: 4-byte object <02-00 00-00> vs 4-byte object <03-00 00-00>
Cannot determine full hardware topology from hwloc. GROMACS will still
work, but it might affect your performance for large nodes.
Please mail gmx-developers@gromacs.org so we can try to fix it.
[ FAILED ] HardwareTopologyTest.HwlocExecute (14 ms)
[ RUN ] HardwareTopologyTest.ProcessorSelfconsistency
[ OK ] HardwareTopologyTest.ProcessorSelfconsistency (13 ms)
[ RUN ] HardwareTopologyTest.NumaCacheSelfconsistency
[ OK ] HardwareTopologyTest.NumaCacheSelfconsistency (13 ms)
[----------] 4 tests from HardwareTopologyTest (55 ms total)
[----------] Global test environment tear-down
[==========] 5 tests from 2 test cases ran. (56 ms total)
[ PASSED ] 3 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] CpuInfoTest.SupportLevel
[ FAILED ] HardwareTopologyTest.HwlocExecute
Should these be informative messages rather than full failures? I can acquire more information about the build environment on each architecture, but maybe it’s best to simply disable this test on them. There are probably not a lot of people running GROMACS on an Alpha workstation.
† armhf also encounters illegal instructions in the mdrun tests. The other architectures pass all remaining tests.
Build logs:
https://buildd.debian.org/status/fetch.php?pkg=gromacs&arch=arm64&ver=2016%7Ebeta2-1&stamp=1465406097
https://buildd.debian.org/status/fetch.php?pkg=gromacs&arch=armhf&ver=2016%7Ebeta2-1&stamp=1465411747
https://buildd.debian.org/status/fetch.php?pkg=gromacs&arch=mipsel&ver=2016%7Ebeta2-1&stamp=1465452291
https://buildd.debian.org/status/fetch.php?pkg=gromacs&arch=alpha&ver=2016%7Ebeta2-1&stamp=1465410282
https://buildd.debian.org/status/fetch.php?pkg=gromacs&arch=hppa&ver=2016%7Ebeta2-1&stamp=1465415956
https://buildd.debian.org/status/fetch.php?pkg=gromacs&arch=mips64el&ver=2016%7Ebeta2-1&stamp=1465417210
https://buildd.debian.org/status/fetch.php?pkg=gromacs&arch=sparc64&ver=2016%7Ebeta2-1&stamp=1465428143
(from redmine: issue id 1987, created on 2016-06-09 by gmxdefault, closed on 2016-07-08)
- Changesets:
- Revision 0a7428cf by Erik Lindahl on 2016-07-07T23:47:59Z:
Reduce hwloc & cpuid test requirements
On some non-x86 linux platforms hwloc does not report
caches, which means it will fail our strict test
requirements of full topology support. There is no
problem whatsoever with this, so we reduce the
test to only require basic support from hwloc - this
is still better than anything we can get ourselves.
Similarly for CPUID, it is not an error for an
architecture to not provide any of the specific flags
we have defined, so avoid marking it as such.
Fixes #1987.
Change-Id: I0a065296bc647b7f7f5d3cb178e88df80fac81a7