Bug#1090190: amgcl: FTBFS: The following tests FAILED: 13 - test_pyamgcl (Failed)

Santiago Vila sanvila at debian.org
Mon Dec 16 17:49:05 GMT 2024


Package: src:amgcl
Version: 1.4.3-7
Severity: serious
Tags: ftbfs

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build --with python3 --buildsystem=cmake
   dh_update_autotools_config -O--buildsystem=cmake
   dh_autoreconf -O--buildsystem=cmake
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
	-DAMGCL_BUILD_TESTS=ON \
	-DAMGCL_BUILD_EXAMPLES=ON \
	-DAMGCL_DISABLE_RARE_COMPONENTS=OFF \
	-DAMGCL_HAVE_PYTHON=ON \
	-DAMGCL_HAVE_FORTRAN=ON
	cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DAMGCL_BUILD_TESTS=ON -DAMGCL_BUILD_EXAMPLES=ON -DAMGCL_DISABLE_RARE_COMPONENTS=OFF -DAMGCL_HAVE_PYTHON=ON -DAMGCL_HAVE_FORTRAN=ON ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):

[... snipped ...]

7: *** No errors detected
7: 
11/13 Test  #7: test_solver_ns_builtin ...........   Passed  117.28 sec
test 13
      Start 13: test_pyamgcl

13: Test command: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/test_pyamgcl.py
13: Working Directory: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests
13: Environment variables: 
13:  PYTHONPATH=/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/..
13: Test timeout computed to be: 10000000
12: Iterations: 13
12: Error:      3.95956e-09
12: 
12: Relaxation as preconditioner: chebyshev
12: Using chebyshev as preconditioner
13: E.
13: ======================================================================
13: ERROR: test_preconditioner (__main__.TestPyAMGCL.test_preconditioner)
13: ----------------------------------------------------------------------
13: Traceback (most recent call last):
13:   File "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/test_pyamgcl.py", line 64, in test_preconditioner
13:     x,info = bicgstab(A, rhs, M=P, tol=1e-3)
13:              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
13: TypeError: bicgstab() got an unexpected keyword argument 'tol'
13: 
13: ----------------------------------------------------------------------
13: Ran 2 tests in 0.990s
13: 
13: FAILED (errors=1)
12/13 Test #13: test_pyamgcl .....................***Failed    1.15 sec
E.
======================================================================
ERROR: test_preconditioner (__main__.TestPyAMGCL.test_preconditioner)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/tests/test_pyamgcl.py", line 64, in test_preconditioner
    x,info = bicgstab(A, rhs, M=P, tol=1e-3)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: bicgstab() got an unexpected keyword argument 'tol'

----------------------------------------------------------------------
Ran 2 tests in 0.990s

FAILED (errors=1)

12: Iterations: 21
12: Error:      8.14557e-09
12: 
12: Coarsening: aggregation
12: Number of levels:    4
12: Operator complexity: 1.25
12: Grid complexity:     1.15
12: Memory footprint:    8.31 M
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0        32768         223232      5.28 M (80.02%)
12:     1         4192          46254      2.47 M (16.58%)
12:     2          593           8329    428.00 K ( 2.99%)
12:     3           90           1170    141.52 K ( 0.42%)
12: 
12: Iterations: 48
12: Error:      9.3368e-09
12: 
12: Number of levels:    4
12: Operator complexity: 1.25
12: Grid complexity:     1.15
12: Memory footprint:    8.31 M
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0        32768         223232      5.28 M (80.02%)
12:     1         4192          46254      2.47 M (16.58%)
12:     2          593           8329    428.00 K ( 2.99%)
12:     3           90           1170    141.52 K ( 0.42%)
12: 
12: Iterations: 48
12: Error:      9.3368e-09
12: 
12: Coarsening: smoothed_aggregation
12: Number of levels:    3
12: Operator complexity: 1.59
12: Grid complexity:     1.14
12: Memory footprint:    20.02 M
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0        32768         223232     11.65 M (62.80%)
12:     1         4192         114356      6.13 M (32.17%)
12:     2          346          17898      2.24 M ( 5.03%)
12: 
12: Iterations: 19
12: Error:      5.58503e-09
12: 
12: Number of levels:    3
12: Operator complexity: 1.59
12: Grid complexity:     1.14
12: Memory footprint:    20.02 M
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0        32768         223232     11.65 M (62.80%)
12:     1         4192         114356      6.13 M (32.17%)
12:     2          346          17898      2.24 M ( 5.03%)
12: 
12: Iterations: 19
12: Error:      5.58503e-09
12: 
12: Coarsening: smoothed_aggr_emin
12: Number of levels:    3
12: Operator complexity: 1.60
12: Grid complexity:     1.14
12: Memory footprint:    20.33 M
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0        32768         223232     11.65 M (62.57%)
12:     1         4192         114356      6.13 M (32.05%)
12:     2          372          19190      2.56 M ( 5.38%)
12: 
12: Iterations: 19
12: Error:      4.23987e-09
12: 
12: Number of levels:    3
12: Operator complexity: 1.60
12: Grid complexity:     1.14
12: Memory footprint:    20.33 M
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0        32768         223232     11.65 M (62.57%)
12:     1         4192         114356      6.13 M (32.05%)
12:     2          372          19190      2.56 M ( 5.38%)
12: 
12: Iterations: 19
12: Error:      4.23987e-09
12: 
12: Coarsening: ruge_stuben
12: Solver: cg
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Solver: bicgstab
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Solver: bicgstabl
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Solver: gmres
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      2.22045e-16
12: 
12: Solver: lgmres
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      2.22045e-16
12: 
12: Solver: fgmres
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      2.22045e-16
12: 
12: Solver: idrs
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 0
12: Error:      0
12: 
12: Relaxation: spai0
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation as preconditioner: spai0
12: Using spai0 as preconditioner
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation: spai1
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation as preconditioner: spai1
12: Relaxation: damped_jacobi
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation as preconditioner: damped_jacobi
12: Using damped_jacobi as preconditioner
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation: gauss_seidel
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation as preconditioner: gauss_seidel
12: Using gauss_seidel as preconditioner
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation: ilu0
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation as preconditioner: ilu0
12: Using ilu0 as preconditioner
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation: iluk
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation as preconditioner: iluk
12: Using iluk as preconditioner
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation: ilup
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation as preconditioner: ilup
12: Using ilup as preconditioner
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation: ilut
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation as preconditioner: ilut
12: Using ilut as preconditioner
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation: chebyshev
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Relaxation as preconditioner: chebyshev
12: Using chebyshev as preconditioner
12: Iterations: 1
12: Error:      0
12: 
12: Coarsening: aggregation
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Coarsening: smoothed_aggregation
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Coarsening: smoothed_aggr_emin
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Number of levels:    1
12: Operator complexity: 1.00
12: Grid complexity:     1.00
12: Memory footprint:    148.00 B
12: 
12: level     unknowns       nonzeros      memory
12: ---------------------------------------------
12:     0            2              2    148.00 B (100.00%)
12: 
12: Iterations: 1
12: Error:      0
12: 
12: Coarsening: ruge_stuben
12: 
12: *** No errors detected
12: 
13/13 Test #12: test_solver_ns_eigen .............   Passed   62.55 sec

92% tests passed, 1 tests failed out of 13

Total Test time (real) = 308.97 sec

The following tests FAILED:
	 13 - test_pyamgcl (Failed)
Errors while running CTest
make[1]: *** [Makefile:74: test] Error 8
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_test: error: cd obj-x86_64-linux-gnu && make -j2 test ARGS\+=--verbose ARGS\+=-j2 returned exit code 2
make: *** [debian/rules:8: build] Error 25
dpkg-buildpackage: error: debian/rules build 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/202412/

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 affects, so that this is still visible in the BTS web
page for this package.

Thanks.



More information about the debian-science-maintainers mailing list