Bug#1095362: opm-common: FTBFS: 99% tests passed, 1 tests failed out of 194

Santiago Vila sanvila at debian.org
Fri Feb 7 12:12:08 GMT 2025


Package: src:opm-common
Version: 2024.10+ds-2
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
echo "ram in gb: 15, needed ram per thread: 3, threads: 5"
ram in gb: 15, needed ram per thread: 3, threads: 5
dh clean --max-parallel=5
   dh_autoreconf_clean -O--max-parallel=5
   dh_clean -O--max-parallel=5
	rm -f debian/debhelper-build-stamp
	rm -rf debian/.debhelper/
	rm -f -- debian/libopm-common.substvars debian/libopm-common-bin.substvars debian/libopm-material-dev.substvars debian/libopm-common-dev.substvars debian/libopm-material-doc.substvars debian/libopm-common-doc.substvars debian/python3-opm-common.substvars debian/files
	rm -fr -- debian/libopm-common/ debian/tmp/ debian/libopm-common-bin/ debian/libopm-material-dev/ debian/libopm-common-dev/ debian/libopm-material-doc/ debian/libopm-common-doc/ debian/python3-opm-common/
	find .  \( \( \
		\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
	        \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
		 -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \

[... snipped ...]

193: 
193: Extra keywords (1) accepted in second file 
193: 
193: Checking 8  vectors  ...  done.
193: 
193: Loading summary file TMP2.SMSPEC  .... done
193: Loading summary file TMP1.SMSPEC  .... done
193: 
193: Comparing summary files 
193: 
193: Checking 1  vectors  ...  done.
193: 
193: Loading summary file TMP2.SMSPEC  .... done
193: Loading summary file TMP1.SMSPEC  .... done
193: 
193: Comparing summary files 
193: Testing specific keyword in Summary file. Keyword not found in first case but found in second case.
193: 
193: Loading summary file TMP2.SMSPEC  .... done
193: Loading summary file TMP1.SMSPEC  .... done
193: 
193: Comparing summary files 
193: Testing specific keyword "XXXXX" in Summary file. Keyword not found in any of the cases.
193: 
193: Loading summary file TMP1.SMSPEC  .... done
193: Loading summary file TMP2.SMSPEC  .... done
193: 
193: Comparing summary files 
193: 
193: Checking 9  vectors  ...  done.
193: 
193: Loading summary file TMP1.SMSPEC  .... done
193: Loading summary file TMP2.SMSPEC  .... done
193: 
193: Comparing summary files 
193: 
193: Checking 9  vectors  ... 
193: 
193: Keyword: FOPT, origin Summary file
193: 
193: Value index                 = 3
193: (first value, second value) = (225, 223)
193: 
193: 
193: Loading summary file TMP1.SMSPEC  .... done
193: Loading summary file TMP2.SMSPEC  .... done
193: 
193: Comparing summary files 
193: 
193: Checking 9  vectors  ...  done.
193:  
193: 2 keywords exhibit failures
193: 	FOPT: Summary file
193: 		Fails for 1 entries
193: 		Largest absolute error: 2.0000000e+00
193: 		Largest relative error: 8.8888889e-03
193: 	WBHP:A-1H: Summary file
193: 		Fails for 1 entries
193: 		Largest absolute error: 9.9990845e-02
193: 		Largest relative error: 6.1971474e-04
193: 
193: Loading summary file SPE1CASE1.SMSPEC  .... done
193: Loading summary file SPE1CASE1A.SMSPEC  .... done
193: 
193: Comparing summary files 
193: 
193: Checking 32  vectors  ... 
193: Loading summary file SPE1CASE1.SMSPEC  .... done
193: Loading summary file SPE1CASE1A.SMSPEC  .... done
193: 
193: Comparing summary files 
193:  -- Values at report steps will be compared. Time steps in between reports are ignored 
193: 
193: Checking 32  vectors  ...  done.
193: 
193: Loading rft file TMP1.RFT  .... done
193: Loading rft file TMP2.RFT  .... done
193: 
193: Well: A-1H date: 2000/1/1
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: Comparing: SGAS ...  done.
193: 
193: Well: A-1H date: 2000/2/10
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: Comparing: SGAS ...  done.
193: 
193: Well: A-2H date: 2000/2/20
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: Comparing: SGAS ...  done.
193: 
193: 
193: Loading rft file TMP1.RFT  .... done
193: Loading rft file TMP2.RFT  .... done
193: 
193: Well: A-1H date: 2000/1/1
193: not same keywords in RFT: A-1H, 2000/1/1
193: 
193:    CONIPOS |    CONIPOS
193:    CONJPOS |    CONJPOS
193:    CONKPOS |    CONKPOS
193:       DATE |       DATE
193:      DEPTH |      DEPTH
193:   PRESSURE |   PRESSURE
193:       SGAS |           
193:       SWAT |       SWAT
193:       TIME |       TIME
193:    WELLETC |    WELLETC
193: 
193: 
193: Loading rft file TMP2.RFT  .... done
193: Loading rft file TMP1.RFT  .... done
193: 
193: Well: A-1H date: 2000/1/1
193: not same keywords in RFT: A-1H, 2000/1/1
193: 
193:    CONIPOS |    CONIPOS
193:    CONJPOS |    CONJPOS
193:    CONKPOS |    CONKPOS
193:       DATE |       DATE
193:      DEPTH |      DEPTH
193:   PRESSURE |   PRESSURE
193:            |       SGAS
193:       SWAT |       SWAT
193:       TIME |       TIME
193:    WELLETC |    WELLETC
193: 
193: 
193: Loading rft file TMP2.RFT  .... done
193: Loading rft file TMP1.RFT  .... done
193: 
193: Well: A-1H date: 2000/1/1
193: 
193: Extra keywords (1) accepted in second file 
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: 
193: Well: A-1H date: 2000/2/10
193: 
193: Extra keywords (1) accepted in second file 
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: 
193: Well: A-2H date: 2000/2/20
193: 
193: Extra keywords (1) accepted in second file 
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: 
193: 
193: Loading rft file TMP2.RFT  .... done
193: Loading rft file TMP1.RFT  .... done
193: 
193: Well: A-1H date: 2000/1/1
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: 
193: Well: A-1H date: 2000/2/10
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: 
193: Well: A-2H date: 2000/2/20
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: 
193: 
193: Loading rft file TMP2.RFT  .... done
193: Loading rft file TMP1.RFT  .... done
193: 
193: Well: A-1H date: 2000/1/1
193: Testing specific keyword in RFT: A-1H, 2000/1/1. Keyword not found in first case but found in second case.
193: 
193: Loading rft file TMP1.RFT  .... done
193: Loading rft file TMP3.RFT  .... done
193: 
193: 
193:    A-1H (2000/1/1) |    A-1H (2000/1/1)
193:   A-1H (2000/2/10) |                   
193:   A-2H (2000/2/20) |   A-2H (2000/2/20)
193: 
193: 
193: Loading rft file TMP1.RFT  .... done
193: Loading rft file TMP2.RFT  .... done
193: 
193: Well: A-1H date: 2000/1/1
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: Comparing: SGAS ...  done.
193: 
193: Well: A-1H date: 2000/2/10
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: Comparing: SGAS ...  done.
193: 
193: Well: A-2H date: 2000/2/20
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: Comparing: SGAS ...  done.
193: 
193: 
193: Loading rft file TMP1.RFT  .... done
193: Loading rft file TMP2.RFT  .... done
193: 
193: Well: A-1H date: 2000/1/1
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: Comparing: SGAS ...  done.
193: 
193: Well: A-1H date: 2000/2/10
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: Comparing: SGAS ...  done.
193: 
193: Well: A-2H date: 2000/2/20
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: Comparing: SGAS ...  done.
193: 
193: 
193: Loading rft file TMP1.RFT  .... done
193: Loading rft file TMP2.RFT  .... done
193: 
193: Well: A-1H date: 2000/1/1
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: Comparing: SGAS ...  done.
193: 
193: Well: A-1H date: 2000/2/10
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ... 
193: 
193: Keyword: PRESSURE, origin RFT: A-1H, 2000/2/10
193: 
193: Value index                 = 1
193: (first value, second value) = (178.361, 178.541)
193: 
193: 
193: Loading rft file TMP1.RFT  .... done
193: Loading rft file TMP2.RFT  .... done
193: 
193: Well: A-1H date: 2000/1/1
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: Comparing: SGAS ...  done.
193: 
193: Well: A-1H date: 2000/2/10
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: Comparing: SGAS ...  done.
193: 
193: Well: A-2H date: 2000/2/20
193: Comparing: TIME ...  done.
193: Comparing: DATE ...  done.
193: Comparing: WELLETC ...  done.
193: Comparing: CONIPOS ...  done.
193: Comparing: CONJPOS ...  done.
193: Comparing: CONKPOS ...  done.
193: Comparing: DEPTH ...  done.
193: Comparing: PRESSURE ...  done.
193: Comparing: SWAT ...  done.
193: Comparing: SGAS ...  done.
193: 
193:  
193: 2 keywords exhibit failures
193: 	PRESSURE: RFT: A-1H, 2000/2/10
193: 		Fails for 1 entries
193: 		Largest absolute error: 1.8014526e-01
193: 		Largest relative error: 1.0089846e-03
193: 	SGAS: RFT: A-2H, 2000/2/20
193: 		Fails for 1 entries
193: 		Largest absolute error: 9.9999998e-03
193: 		Largest relative error: -1.0000000e+00
193: 
193: *** No errors detected
193: 
192/194 Test #193: EclRegressionTest ................   Passed    0.08 sec
test 194
        Start 194: python_tests

194: Test command: /usr/bin/cmake "-E" "env" "LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/lib" "/usr/bin/python3" "-m" "unittest" "discover"
194: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python
194: Test timeout computed to be: 1500
190: Running 14 test cases...
190: 
190: *** No errors detected
190: 
193/194 Test #190: msim_ACTIONX .....................   Passed    1.84 sec
194: ............................F.......................................................................................
194: ======================================================================
194: FAIL: test_add_filter (tests.test_emodel.TestEModel.test_add_filter)
194: ----------------------------------------------------------------------
194: Traceback (most recent call last):
194:   File "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python/tests/test_emodel.py", line 51, in test_add_filter
194:     self.assertTrue( abs((sum(celvol1) - refVol1)/refVol1) < 1.0e-5)
194:     ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
194: AssertionError: np.False_ is not true
194: 
194: ----------------------------------------------------------------------
194: Ran 116 tests in 1.350s
194: 
194: FAILED (failures=1)
194: Creating state
194: State OK
194: 324
194: set(PERMX) = {np.float64(1.973846533432026e-14), np.float64(1.4803849000740194e-13), np.float64(3.947693066864052e-14), np.float64(1.2830002467308169e-13)}
194: 324
194: set(PERMX) = {np.float64(1.973846533432026e-14), np.float64(1.4803849000740194e-13), np.float64(3.947693066864052e-14), np.float64(1.2830002467308169e-13)}
194: {'FLAG': 'WATER', 'DIRECTION': 'XY', 'ALPHA_FACTOR': 0.5, 'BETA_FACTOR': 0.5, 'OIL_WATER': 21.0}
194: (6, 6, 2247.9)
194/194 Test #194: python_tests .....................***Failed    1.49 sec
............................F.......................................................................................
======================================================================
FAIL: test_add_filter (tests.test_emodel.TestEModel.test_add_filter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/python/tests/test_emodel.py", line 51, in test_add_filter
    self.assertTrue( abs((sum(celvol1) - refVol1)/refVol1) < 1.0e-5)
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: np.False_ is not true

----------------------------------------------------------------------
Ran 116 tests in 1.350s

FAILED (failures=1)
Creating state
State OK
324
set(PERMX) = {np.float64(1.973846533432026e-14), np.float64(1.4803849000740194e-13), np.float64(3.947693066864052e-14), np.float64(1.2830002467308169e-13)}
324
set(PERMX) = {np.float64(1.973846533432026e-14), np.float64(1.4803849000740194e-13), np.float64(3.947693066864052e-14), np.float64(1.2830002467308169e-13)}
{'FLAG': 'WATER', 'DIRECTION': 'XY', 'ALPHA_FACTOR': 0.5, 'BETA_FACTOR': 0.5, 'OIL_WATER': 21.0}
(6, 6, 2247.9)


99% tests passed, 1 tests failed out of 194

Total Test time (real) =  39.24 sec

The following tests FAILED:
	194 - python_tests (Failed)
Errors while running CTest
make[1]: *** [Makefile:74: test] Error 8
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
	rm -fr -- /tmp/dh-xdg-rundir-EAOqqFzq
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j2 test ARGS\+=--verbose ARGS\+=-j2 returned exit code 2
make: *** [debian/rules:17: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202502/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:opm-common, so that this is still
visible in the BTS web page for this package.

Thanks.



More information about the debian-science-maintainers mailing list