Bug#1095323: scalapack: test results ignored during s390x build
Graham Inggs
ginggs at debian.org
Fri Feb 7 09:52:34 GMT 2025
Source: scalapack
Version: 2.2.2-1
Tags: patch
Hi Maintainer
I've noticed that test results are ignored during the s390x build,
with the following output:
Tests are hardwired to 4 processes. Only 2 processes were used for the
build, so test failures will be ignored.
I've checked the logs [1], and I believe that s390x is the only
release architecture affected in this way. hurd-* and x32 also use
fewer than four processes for the build, and m68k and sh4 do not run
the tests at all.
You may be able to enable oversubscription and run the tests on s390x
by using a patch similar to the one below.
Regards
Graham
[1] https://buildd.debian.org/status/package.php?p=scalapack
--- a/debian/rules
+++ b/debian/rules
@@ -50,6 +50,7 @@
dh $@ --buildsystem=cmake
export PRTE_MCA_plm_ssh_agent=/bin/false #workaround
to start MPI-applications in chroot
+export PRTE_MCA_rmaps_default_mapping_policy=:oversubscribe
export NUMJOBS=1
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
@@ -241,16 +242,11 @@
# Test failures in the 64-bit integer builds are reported but
do not currently halt the build.
#
if [ "$$DEB_BUILD_ARCH_OS" = "linux" ] && $$( grep -qE
"Failed|SegFault" build-openmpi/dh_auto_test.log ); then \
- if [ $(NUMJOBS) -lt 4 ]; then \
- echo Tests are hardwired to 4 processes. Only $(NUMJOBS)
processes were used for the build, so test failures will be ignored.;
\
- fi; \
echo "OpenMPI tests failed:"; \
grep -E "\(Failed\)|\(SEGFAULT\)" build-openmpi/dh_auto_test.log; \
- if [ $(NUMJOBS) -ge 4 ]; then \
case " $(ARCH_TEST_IGNORE_FAILURE) " in \
*\ $(DEB_HOST_ARCH)\ *) echo Test failures ignored on
$(DEB_HOST_ARCH);; \
*) return 2;; \
esac; \
- fi; \
fi
endif
More information about the debian-science-maintainers
mailing list