[scalapack] 01/02: ignore build test failures on mips64el

Drew Parsons dparsons at moszumanska.debian.org
Wed Aug 16 08:54:19 UTC 2017


This is an automated email from the git hooks/post-receive script.

dparsons pushed a commit to tag experimental/2.0.2-1exp7
in repository scalapack.

commit 174aff5cb3540097826b3aa23f67509f5cacb0da
Author: Drew Parsons <dparsons at debian.org>
Date:   Wed Aug 16 15:02:02 2017 +0800

    ignore build test failures on mips64el
    
    mips64el routinely fails openmpi tests, with segfaults on random tests
    (different each build), and a reproducible failure on xdsyevr:
      [eberlin:11107] *** An error occurred in MPI_Recv
      [eberlin:11107] *** reported by process [18446744073674162177,0]
      [eberlin:11107] *** on communicator MPI COMMUNICATOR 8 DUP FROM 7
      [eberlin:11107] *** MPI_ERR_RANK: invalid rank
      [eberlin:11107] *** MPI_ERRORS_ARE_FATAL (processes in this communicator will now abort,
      [eberlin:11107] ***    and potentially your MPI job)
    
    No easy fix, but don't let it halt the package build
    (the failures are still reported in the build log)
---
 debian/changelog | 1 +
 debian/rules     | 6 +++++-
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 2f2fddf..b0184eb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 scalapack (2.0.2-1exp7) UNRELEASED; urgency=medium
 
   * scalapack-mpi-test: install links to BLACS test executables
+  * ignore build test failures on mips64el
 
  -- Drew Parsons <dparsons at debian.org>  Tue, 15 Aug 2017 16:47:00 +0800
 
diff --git a/debian/rules b/debian/rules
index de85942..a76bab2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,7 @@ export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
 export DEB_CXXFLAGS_MAINT_APPEND  = -Wall -pedantic
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 export DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+export DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
 export DEB_BUILD_ARCH_OS := $(shell dpkg-architecture -qDEB_BUILD_ARCH_OS)
 
 ifneq (,$(wildcard /usr/share/mpi-default-dev/debian_defaults))
@@ -74,9 +75,12 @@ override_dh_auto_test:
 	# mpich has been found to Fail some tests but openmpi should not, so only check the openmpi test logs.
 	# openmpi may Timeout on slower arches, so only register actual Fails (or SegFaults), assigning them return value 2
 	# Test only on linux, since openmpi on other OS (kfreebsd, hurd) does not support fakeroot
+	# mpi64el routinely fails openmpi tests, so don't let it halt the build
 	if [ "$$DEB_BUILD_ARCH_OS" = "linux" ] && $$( grep -qE "Failed|SegFault" build-openmpi/dh_auto_test.log ); then \
 	  echo "OpenMPI tests failed:"; \
 	  grep -E "\(Failed\)|\(SEGFAULT\)" build-openmpi/dh_auto_test.log; \
-	  return 2; \
+	  if [ ! "$$DEB_HOST_ARCH" = "mpi64el" ]; then \
+	    return 2; \
+	  fi \
 	fi
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/scalapack.git



More information about the debian-science-commits mailing list