0s autopkgtest [21:09:08]: starting date and time: 2025-10-20 21:09:08+0000 0s autopkgtest [21:09:08]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [21:09:08]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.9hx05blz/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pytest,src:python-pluggy --apt-upgrade python-pot --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=pytest/8.4.2-1 python-pluggy/1.6.0-1' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-4.secgroup --name adt-resolute-arm64-python-pot-20251020-210908-juju-7f2275-prod-proposed-migration-environment-20-7fdf07d5-6338-4ec2-9c81-c78e0b0d8be5 --image adt/ubuntu-resolute-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-arm64-python-pot-20251020-210908-juju-7f2275-prod-proposed-migration-environment-20-7fdf07d5-6338-4ec2-9c81-c78e0b0d8be5 from image adt/ubuntu-resolute-arm64-server-20251020.img (UUID 53f7e888-0b33-40b7-be7f-09b2db152d64)... 57s autopkgtest [21:10:05]: testbed dpkg architecture: arm64 57s autopkgtest [21:10:05]: testbed apt version: 3.1.8ubuntu1 58s autopkgtest [21:10:06]: @@@@@@@@@@@@@@@@@@@@ test bed setup 58s autopkgtest [21:10:06]: testbed release detected to be: None 59s autopkgtest [21:10:07]: updating testbed package index (apt update) 59s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 59s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 59s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 59s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 59s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [646 kB] 60s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [59.3 kB] 60s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 60s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [14.3 kB] 60s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main arm64 Packages [115 kB] 60s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted arm64 Packages [43.8 kB] 60s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 Packages [409 kB] 60s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse arm64 Packages [5672 B] 60s Fetched 1382 kB in 1s (1364 kB/s) 61s Reading package lists... 62s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 62s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 62s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 62s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 64s Reading package lists... 64s Reading package lists... 64s Building dependency tree... 64s Reading state information... 65s Calculating upgrade... 66s The following packages will be upgraded: 66s libbrotli1 libjson-c5 python3-inflect python3-oauthlib python3-zipp 66s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 66s Need to get 512 kB of archives. 66s After this operation, 31.7 kB of additional disk space will be used. 66s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 libjson-c5 arm64 0.18+ds-1.1 [37.5 kB] 66s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 libbrotli1 arm64 1.1.0-2build6 [336 kB] 66s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-inflect all 7.5.0-1 [33.9 kB] 66s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-oauthlib all 3.3.1-1 [93.5 kB] 67s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-zipp all 3.23.0-1 [10.4 kB] 67s dpkg-preconfigure: unable to re-open stdin: No such file or directory 67s Fetched 512 kB in 1s (898 kB/s) 68s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83364 files and directories currently installed.) 68s Preparing to unpack .../libjson-c5_0.18+ds-1.1_arm64.deb ... 68s Unpacking libjson-c5:arm64 (0.18+ds-1.1) over (0.18+ds-1) ... 68s Preparing to unpack .../libbrotli1_1.1.0-2build6_arm64.deb ... 68s Unpacking libbrotli1:arm64 (1.1.0-2build6) over (1.1.0-2build5) ... 68s Preparing to unpack .../python3-inflect_7.5.0-1_all.deb ... 68s Unpacking python3-inflect (7.5.0-1) over (7.3.1-2) ... 68s Preparing to unpack .../python3-oauthlib_3.3.1-1_all.deb ... 69s Unpacking python3-oauthlib (3.3.1-1) over (3.2.2-3) ... 69s Preparing to unpack .../python3-zipp_3.23.0-1_all.deb ... 69s Unpacking python3-zipp (3.23.0-1) over (3.21.0-1) ... 69s Setting up libbrotli1:arm64 (1.1.0-2build6) ... 69s Setting up python3-zipp (3.23.0-1) ... 69s Setting up python3-inflect (7.5.0-1) ... 70s Setting up python3-oauthlib (3.3.1-1) ... 70s Setting up libjson-c5:arm64 (0.18+ds-1.1) ... 70s Processing triggers for libc-bin (2.42-0ubuntu3) ... 70s autopkgtest [21:10:18]: upgrading testbed (apt dist-upgrade and autopurge) 71s Reading package lists... 71s Building dependency tree... 71s Reading state information... 72s Calculating upgrade... 73s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 73s Reading package lists... 74s Building dependency tree... 74s Reading state information... 74s Solving dependencies... 75s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 78s autopkgtest [21:10:26]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 09:50:31 UTC 2025 78s autopkgtest [21:10:26]: @@@@@@@@@@@@@@@@@@@@ apt-source python-pot 81s Get:1 http://ftpmaster.internal/ubuntu resolute/universe python-pot 0.9.5+dfsg-1 (dsc) [2114 B] 81s Get:2 http://ftpmaster.internal/ubuntu resolute/universe python-pot 0.9.5+dfsg-1 (tar) [807 kB] 81s Get:3 http://ftpmaster.internal/ubuntu resolute/universe python-pot 0.9.5+dfsg-1 (diff) [4888 B] 81s gpgv: Signature made Mon Feb 24 10:22:54 2025 UTC 81s gpgv: using RSA key CFC5EF8510851E7355B55E809D11582AFD548CFA 81s gpgv: issuer "gspr@nonempty.org" 81s gpgv: Can't check signature: No public key 81s dpkg-source: warning: cannot verify inline signature for ./python-pot_0.9.5+dfsg-1.dsc: no acceptable signature found 81s autopkgtest [21:10:29]: testing package python-pot version 0.9.5+dfsg-1 81s autopkgtest [21:10:29]: build not needed 82s autopkgtest [21:10:30]: test upstream.sh: preparing testbed 83s Reading package lists... 83s Building dependency tree... 83s Reading state information... 83s Solving dependencies... 84s The following NEW packages will be installed: 84s libblas3 libgfortran5 libgomp1 liblapack3 python3-all python3-decorator 84s python3-iniconfig python3-joblib python3-numpy python3-numpy-dev 84s python3-packaging python3-pluggy python3-pot python3-pytest python3-scipy 84s python3-sklearn python3-sklearn-lib python3-threadpoolctl 84s 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. 84s Need to get 30.3 MB of archives. 84s After this operation, 140 MB of additional disk space will be used. 84s Get:1 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-numpy-dev arm64 1:2.2.4+ds-1ubuntu1 [146 kB] 85s Get:2 http://ftpmaster.internal/ubuntu resolute/main arm64 libblas3 arm64 3.12.1-6build1 [186 kB] 85s Get:3 http://ftpmaster.internal/ubuntu resolute/main arm64 libgfortran5 arm64 15.2.0-5ubuntu1 [450 kB] 85s Get:4 http://ftpmaster.internal/ubuntu resolute/main arm64 liblapack3 arm64 3.12.1-6build1 [2340 kB] 85s Get:5 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-numpy arm64 1:2.2.4+ds-1ubuntu1 [3986 kB] 86s Get:6 http://ftpmaster.internal/ubuntu resolute/main arm64 libgomp1 arm64 15.2.0-5ubuntu1 [148 kB] 86s Get:7 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-all arm64 3.13.7-1 [884 B] 86s Get:8 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-decorator all 5.2.1-2 [28.1 kB] 86s Get:9 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 86s Get:10 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-joblib all 1.4.2-4 [205 kB] 86s Get:11 http://ftpmaster.internal/ubuntu resolute/main arm64 python3-packaging all 25.0-1 [52.8 kB] 86s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 python3-pluggy all 1.6.0-1 [21.0 kB] 86s Get:13 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-scipy arm64 1.15.3-1 [15.8 MB] 87s Get:14 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-pot arm64 0.9.5+dfsg-1 [238 kB] 87s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe arm64 python3-pytest all 8.4.2-1 [268 kB] 87s Get:16 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-threadpoolctl all 3.1.0-1 [21.3 kB] 87s Get:17 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-sklearn-lib arm64 1.4.2+dfsg-8 [4109 kB] 88s Get:18 http://ftpmaster.internal/ubuntu resolute/universe arm64 python3-sklearn all 1.4.2+dfsg-8 [2258 kB] 88s Fetched 30.3 MB in 4s (8457 kB/s) 88s Selecting previously unselected package python3-numpy-dev:arm64. 88s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 83374 files and directories currently installed.) 88s Preparing to unpack .../00-python3-numpy-dev_1%3a2.2.4+ds-1ubuntu1_arm64.deb ... 88s Unpacking python3-numpy-dev:arm64 (1:2.2.4+ds-1ubuntu1) ... 88s Selecting previously unselected package libblas3:arm64. 88s Preparing to unpack .../01-libblas3_3.12.1-6build1_arm64.deb ... 88s Unpacking libblas3:arm64 (3.12.1-6build1) ... 88s Selecting previously unselected package libgfortran5:arm64. 88s Preparing to unpack .../02-libgfortran5_15.2.0-5ubuntu1_arm64.deb ... 88s Unpacking libgfortran5:arm64 (15.2.0-5ubuntu1) ... 89s Selecting previously unselected package liblapack3:arm64. 89s Preparing to unpack .../03-liblapack3_3.12.1-6build1_arm64.deb ... 89s Unpacking liblapack3:arm64 (3.12.1-6build1) ... 89s Selecting previously unselected package python3-numpy. 89s Preparing to unpack .../04-python3-numpy_1%3a2.2.4+ds-1ubuntu1_arm64.deb ... 89s Unpacking python3-numpy (1:2.2.4+ds-1ubuntu1) ... 89s Selecting previously unselected package libgomp1:arm64. 89s Preparing to unpack .../05-libgomp1_15.2.0-5ubuntu1_arm64.deb ... 89s Unpacking libgomp1:arm64 (15.2.0-5ubuntu1) ... 89s Selecting previously unselected package python3-all. 89s Preparing to unpack .../06-python3-all_3.13.7-1_arm64.deb ... 89s Unpacking python3-all (3.13.7-1) ... 89s Selecting previously unselected package python3-decorator. 89s Preparing to unpack .../07-python3-decorator_5.2.1-2_all.deb ... 89s Unpacking python3-decorator (5.2.1-2) ... 89s Selecting previously unselected package python3-iniconfig. 89s Preparing to unpack .../08-python3-iniconfig_1.1.1-2_all.deb ... 89s Unpacking python3-iniconfig (1.1.1-2) ... 89s Selecting previously unselected package python3-joblib. 89s Preparing to unpack .../09-python3-joblib_1.4.2-4_all.deb ... 89s Unpacking python3-joblib (1.4.2-4) ... 89s Selecting previously unselected package python3-packaging. 89s Preparing to unpack .../10-python3-packaging_25.0-1_all.deb ... 89s Unpacking python3-packaging (25.0-1) ... 89s Selecting previously unselected package python3-pluggy. 89s Preparing to unpack .../11-python3-pluggy_1.6.0-1_all.deb ... 89s Unpacking python3-pluggy (1.6.0-1) ... 89s Selecting previously unselected package python3-scipy. 89s Preparing to unpack .../12-python3-scipy_1.15.3-1_arm64.deb ... 89s Unpacking python3-scipy (1.15.3-1) ... 90s Selecting previously unselected package python3-pot. 90s Preparing to unpack .../13-python3-pot_0.9.5+dfsg-1_arm64.deb ... 90s Unpacking python3-pot (0.9.5+dfsg-1) ... 90s Selecting previously unselected package python3-pytest. 90s Preparing to unpack .../14-python3-pytest_8.4.2-1_all.deb ... 90s Unpacking python3-pytest (8.4.2-1) ... 90s Selecting previously unselected package python3-threadpoolctl. 90s Preparing to unpack .../15-python3-threadpoolctl_3.1.0-1_all.deb ... 90s Unpacking python3-threadpoolctl (3.1.0-1) ... 90s Selecting previously unselected package python3-sklearn-lib:arm64. 90s Preparing to unpack .../16-python3-sklearn-lib_1.4.2+dfsg-8_arm64.deb ... 90s Unpacking python3-sklearn-lib:arm64 (1.4.2+dfsg-8) ... 91s Selecting previously unselected package python3-sklearn. 91s Preparing to unpack .../17-python3-sklearn_1.4.2+dfsg-8_all.deb ... 91s Unpacking python3-sklearn (1.4.2+dfsg-8) ... 91s Setting up python3-iniconfig (1.1.1-2) ... 91s Setting up python3-joblib (1.4.2-4) ... 91s Setting up python3-threadpoolctl (3.1.0-1) ... 92s Setting up python3-all (3.13.7-1) ... 92s Setting up libgomp1:arm64 (15.2.0-5ubuntu1) ... 92s Setting up python3-decorator (5.2.1-2) ... 92s Setting up libblas3:arm64 (3.12.1-6build1) ... 92s update-alternatives: using /usr/lib/aarch64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/aarch64-linux-gnu/libblas.so.3 (libblas.so.3-aarch64-linux-gnu) in auto mode 92s Setting up python3-packaging (25.0-1) ... 92s Setting up python3-numpy-dev:arm64 (1:2.2.4+ds-1ubuntu1) ... 92s Setting up libgfortran5:arm64 (15.2.0-5ubuntu1) ... 92s Setting up python3-pluggy (1.6.0-1) ... 92s Setting up liblapack3:arm64 (3.12.1-6build1) ... 92s update-alternatives: using /usr/lib/aarch64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/aarch64-linux-gnu/liblapack.so.3 (liblapack.so.3-aarch64-linux-gnu) in auto mode 92s Setting up python3-pytest (8.4.2-1) ... 93s Setting up python3-numpy (1:2.2.4+ds-1ubuntu1) ... 95s Setting up python3-scipy (1.15.3-1) ... 100s Setting up python3-pot (0.9.5+dfsg-1) ... 101s /usr/lib/python3/dist-packages/ot/unbalanced/_lbfgs.py:38: SyntaxWarning: invalid escape sequence '\m' 101s If None, then use :math:`\mathbf{c} = \mathbf{a} \mathbf{b}^T`. 101s Setting up python3-sklearn-lib:arm64 (1.4.2+dfsg-8) ... 101s Setting up python3-sklearn (1.4.2+dfsg-8) ... 103s Processing triggers for man-db (2.13.1-1) ... 104s Processing triggers for libc-bin (2.42-0ubuntu3) ... 106s autopkgtest [21:10:54]: test upstream.sh: [----------------------- 106s Running tests with Python 3.13. 109s ============================= test session starts ============================== 109s platform linux -- Python 3.13.7, pytest-8.4.2, pluggy-1.6.0 109s rootdir: /tmp/autopkgtest.pUG1W3/autopkgtest_tmp 109s plugins: typeguard-4.4.2 109s collected 1006 items 109s 114s test/gromov/test_bregman.py ..x..x............ [ 1%] 115s test/gromov/test_dictionary.py .... [ 2%] 116s test/gromov/test_estimators.py .. [ 2%] 119s test/gromov/test_fugw.py ............................................... [ 7%] 120s ........................................................................ [ 14%] 121s ................ [ 15%] 121s test/gromov/test_gw.py ....s....x....... [ 17%] 122s test/gromov/test_lowrank.py .......... [ 18%] 126s test/gromov/test_partial.py .... [ 18%] 127s test/gromov/test_quantized.py .... [ 19%] 128s test/gromov/test_semirelaxed.py .....x......... [ 20%] 128s test/gromov/test_utils.py ........ [ 21%] 129s test/test_1d_solver.py ...s..s...... [ 22%] 129s test/test_backend.py .......... [ 23%] 137s test/test_bregman.py ......................................sss.......... [ 28%] 148s .....................................ss....ss..ss..s....... [ 34%] 148s test/test_coot.py ......... [ 35%] 150s test/test_da.py .....................s... [ 38%] 150s test/test_dmmot.py .. [ 38%] 150s test/test_dr.py ssssss [ 38%] 151s test/test_factored.py .. [ 39%] 155s test/test_gaussian.py .................. [ 40%] 155s test/test_gmm.py ......s. [ 41%] 155s test/test_gnn.py ssss [ 42%] 158s test/test_lowrank.py ........... [ 43%] 158s test/test_mapping.py sss. [ 43%] 159s test/test_optim.py ...... [ 44%] 159s test/test_ot.py ....s..........s.. [ 46%] 161s test/test_partial.py ...... [ 46%] 161s test/test_plot.py sss [ 46%] 161s test/test_regpath.py .. [ 47%] 162s test/test_sliced.py ...........s..s............. [ 49%] 162s test/test_smooth.py ... [ 50%] 166s test/test_solvers.py .s................................................. [ 55%] 167s .........................ssssssss........ssssssss....................... [ 62%] 171s .ssssssss........ssssssss...ss............. [ 66%] 174s test/test_stochastic.py ......... [ 67%] 176s test/test_ucoot.py ..................................................... [ 72%] 178s ........................................................................ [ 80%] 179s ........ [ 80%] 179s test/test_utils.py .............................. [ 83%] 179s test/test_weak.py .. [ 83%] 187s test/unbalanced/test_lbfgs.py .......................................... [ 88%] 189s ................................. [ 91%] 201s test/unbalanced/test_mm.py .......... [ 92%] 201s test/unbalanced/test_sinkhorn.py ....................................... [ 96%] 205s ..................................... [100%] 205s 205s =============================== warnings summary =============================== 205s test/gromov/test_bregman.py: 12 warnings 205s test/gromov/test_estimators.py: 1 warning 205s test/test_bregman.py: 6 warnings 205s test/test_coot.py: 1 warning 205s test/test_da.py: 4 warnings 205s test/test_optim.py: 1 warning 205s test/test_partial.py: 1 warning 205s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:667: UserWarning: Sinkhorn did not converge. You might want to increase the number of iterations `numItermax` or the regularization parameter `reg`. 205s warnings.warn( 205s 205s test/gromov/test_bregman.py::test_BAPG_gromov[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:585: RuntimeWarning: divide by zero encountered in divide 205s column_scaling = q / nx.sum(T, 0) 205s 205s test/gromov/test_bregman.py::test_BAPG_gromov[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:586: RuntimeWarning: invalid value encountered in multiply 205s T = nx.reshape(column_scaling, (1, -1)) * T 205s 205s test/gromov/test_bregman.py::test_BAPG_fgw[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:1597: RuntimeWarning: divide by zero encountered in divide 205s row_scaling = p / nx.sum(T, 1) 205s 205s test/gromov/test_bregman.py::test_BAPG_fgw[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:1598: RuntimeWarning: invalid value encountered in multiply 205s T = nx.reshape(row_scaling, (-1, 1)) * T 205s 205s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 205s /usr/lib/python3/dist-packages/ot/backend.py:1168: RuntimeWarning: divide by zero encountered in log 205s return np.log(a) 205s 205s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 205s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:631: RuntimeWarning: divide by zero encountered in divide 205s v = b / KtransposeU 205s 205s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 205s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:631: RuntimeWarning: overflow encountered in divide 205s v = b / KtransposeU 205s 205s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 205s test/gromov/test_bregman.py::test_gromov_entropic_barycenter[numpy] 205s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:643: UserWarning: Warning: numerical errors at iteration 0 205s warnings.warn("Warning: numerical errors at iteration %d" % ii) 205s 205s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:1231: UserWarning: Solver failed to produce a transport plan. You might want to increase the regularization parameter `epsilon`. 205s warnings.warn( 205s 205s test/gromov/test_bregman.py::test_gromov_entropic_barycenter[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:245: UserWarning: Solver failed to produce a transport plan. You might want to increase the regularization parameter `epsilon`. 205s warnings.warn( 205s 205s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 205s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 205s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 205s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_estimators.py:246: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) 205s index[0] = generator.choice(len_p, size=1, p=nx.to_numpy(p)) 205s 205s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 205s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 205s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 205s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_estimators.py:247: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) 205s index[1] = generator.choice(len_q, size=1, p=nx.to_numpy(q)) 205s 205s test/gromov/test_estimators.py: 400 warnings 205s /usr/lib/python3/dist-packages/ot/gromov/_estimators.py:252: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) 205s index[0] = generator.choice(len_p, size=1, p=nx.to_numpy(p)) 205s 205s test/gromov/test_estimators.py: 400 warnings 205s /usr/lib/python3/dist-packages/ot/gromov/_estimators.py:254: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) 205s index[1] = generator.choice( 205s 205s test/gromov/test_fugw.py: 42 warnings 205s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:1208: UserWarning: The computation of gradients is only supported for KL divergence, but not for l2 divergence. The gradient of the KL case will be used. 205s warnings.warn( 205s 205s test/gromov/test_fugw.py: 28 warnings 205s test/test_ucoot.py: 28 warnings 205s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:228: UserWarning: Sinkhorn algorithm does not support unregularized problem. Solver is set to 'mm'. 205s warnings.warn( 205s 205s test/gromov/test_fugw.py: 28 warnings 205s test/test_ucoot.py: 32 warnings 205s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:220: UserWarning: Sinkhorn algorithm does not support L2 norm. Divergence is set to 'kl'. 205s warnings.warn( 205s 205s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 205s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:738: RuntimeWarning: divide by zero encountered in divide 205s u = (a / Kv) ** fi_1 205s 205s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 205s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:751: UserWarning: Numerical errors at iteration 0 205s warnings.warn("Numerical errors at iteration %s" % i) 205s 205s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 205s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 205s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:410: RuntimeWarning: divide by zero encountered in scalar divide 205s pi_samp = nx.sqrt(mass / nx.sum(pi_samp)) * pi_samp # shape nx x ny 205s 205s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 205s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 205s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:410: RuntimeWarning: invalid value encountered in multiply 205s pi_samp = nx.sqrt(mass / nx.sum(pi_samp)) * pi_samp # shape nx x ny 205s 205s test/gromov/test_gw.py::test_gromov_integer_warnings[numpy] 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/gromov/test_gw.py:163: UserWarning: Input structure matrix consists of integers. The transport plan will be casted accordingly, possibly resulting in a loss of precision. If this behaviour is unwanted, please make sure your input structure matrix consists of floating point elements. 205s G = ot.gromov.gromov_wasserstein( 205s 205s test/gromov/test_gw.py::test_gromov_integer_warnings[numpy] 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/gromov/test_gw.py:175: UserWarning: Input structure matrix consists of integers. The transport plan will be casted accordingly, possibly resulting in a loss of precision. If this behaviour is unwanted, please make sure your input structure matrix consists of floating point elements. 205s ot.gromov.gromov_wasserstein( 205s 205s test/gromov/test_gw.py::test_fgw_integer_warnings[numpy] 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/gromov/test_gw.py:936: UserWarning: Input feature matrix consists of integer. The transport plan will be casted accordingly, possibly resulting in a loss of precision. If this behaviour is unwanted, please make sure your input feature matrix consists of floating point elements. 205s G, log = ot.gromov.fused_gromov_wasserstein( 205s 205s test/gromov/test_gw.py::test_fgw_integer_warnings[numpy] 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/gromov/test_gw.py:949: UserWarning: Input feature matrix consists of integer. The transport plan will be casted accordingly, possibly resulting in a loss of precision. If this behaviour is unwanted, please make sure your input feature matrix consists of floating point elements. 205s Gb, logb = ot.gromov.fused_gromov_wasserstein( 205s 205s test/gromov/test_lowrank.py::test_lowrank_gromov_wasserstein_samples 205s test/gromov/test_lowrank.py::test_lowrank_wasserstein_samples_gamma_init[theory] 205s /usr/lib/python3/dist-packages/ot/gromov/_lowrank.py:301: UserWarning: Low Rank GW did not converge. You might want to increase the number of iterations `numItermax` 205s warnings.warn( 205s 205s test/gromov/test_partial.py::test_partial_gromov_wasserstein[numpy] 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/gromov/test_partial.py:173: UserWarning: Input structure matrix consists of integers. The transport plan will be casted accordingly, possibly resulting in a loss of precision. If this behaviour is unwanted, please make sure your input structure matrix consists of floating point elements. 205s res0b, log0b = ot.gromov.partial_gromov_wasserstein( 205s 205s test/gromov/test_quantized.py::test_quantized_gw[numpy] 205s test/gromov/test_quantized.py::test_quantized_gw[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_quantized.py:771: UserWarning: Requested number of partitions higher than the number of nodeshence we enforce each node to be a partition. 205s part1 = get_graph_partition( 205s 205s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 205s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 205s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 205s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 205s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_quantized.py:1220: UserWarning: Requested number of partitions higher than the number of nodeshence we enforce each node to be a partition. 205s part1, rep_indices1 = get_partition_and_representants_samples( 205s 205s test/gromov/test_semirelaxed.py::test_entropic_semirelaxed_gromov_dtype_device[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_semirelaxed.py:1008: RuntimeWarning: overflow encountered in divide 205s scaling = p / nx.sum(K, 1) 205s 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_utils.py:775: RuntimeWarning: divide by zero encountered in divide 205s prod = nx.nan_to_num(1.0 / quotient, nan=1.0, posinf=1.0, neginf=1.0) 205s 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_semirelaxed.py:1624: UserWarning: Both structures have the same size so no partitioning isperformed to initialize the transport plan even thoughinitialization method is kmeans 205s semirelaxed_init_plan( 205s 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_semirelaxed.py:151: UserWarning: Both structures have the same size so no partitioning isperformed to initialize the transport plan even thoughinitialization method is kmeans 205s G0 = semirelaxed_init_plan( 205s 205s test/gromov/test_semirelaxed.py::test_semirelaxed_fgw_barycenter[numpy] 205s test/gromov/test_semirelaxed.py::test_semirelaxed_fgw_barycenter[numpy] 205s /usr/lib/python3/dist-packages/ot/gromov/_semirelaxed.py:2001: UserWarning: Both structures have the same size so no partitioning isperformed to initialize the transport plan even thoughinitialization method is kmeans 205s semirelaxed_init_plan( 205s 205s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/gromov/test_utils.py:105: UserWarning: Both structures have the same size so no partitioning isperformed to initialize the transport plan even thoughinitialization method is kmeans 205s T = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 205s 205s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/gromov/test_utils.py:106: UserWarning: Both structures have the same size so no partitioning isperformed to initialize the transport plan even thoughinitialization method is kmeans 205s Tb = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 205s 205s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/gromov/test_utils.py:105: UserWarning: Both structures have the same size so no partitioning isperformed to initialize the transport plan even thoughinitialization method is spectral 205s T = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 205s 205s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/gromov/test_utils.py:106: UserWarning: Both structures have the same size so no partitioning isperformed to initialize the transport plan even thoughinitialization method is spectral 205s Tb = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 205s 205s test/test_bregman.py::test_nan_warning[sinkhorn] 205s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:622: RuntimeWarning: divide by zero encountered in divide 205s K = nx.exp(M / (-reg)) 205s 205s test/test_bregman.py::test_nan_warning[sinkhorn] 205s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:622: RuntimeWarning: invalid value encountered in divide 205s K = nx.exp(M / (-reg)) 205s 205s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 205s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1261: RuntimeWarning: divide by zero encountered in divide 205s return nx.exp(-(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg) 205s 205s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 205s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1261: RuntimeWarning: invalid value encountered in divide 205s return nx.exp(-(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg) 205s 205s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 205s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 205s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1266: RuntimeWarning: divide by zero encountered in divide 205s -(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg 205s 205s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 205s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 205s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1266: RuntimeWarning: invalid value encountered in divide 205s -(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg 205s 205s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-True-True] 205s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-True-False] 205s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-False-True] 205s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-False-False] 205s test/test_bregman.py::test_sinkhorn_variants_dtype_device[numpy-sinkhorn_stabilized] 205s test/test_bregman.py::test_sinkhorn_warmstart 205s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1331: UserWarning: Sinkhorn did not converge. You might want to increase the number of iterations `numItermax` or the regularization parameter `reg`. 205s warnings.warn( 205s 205s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-True-True] 205s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-True-False] 205s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-False-True] 205s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-False-False] 205s test/test_bregman.py::test_sinkhorn_variants_dtype_device[numpy-sinkhorn_log] 205s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:903: UserWarning: Sinkhorn did not converge. You might want to increase the number of iterations `numItermax` or the regularization parameter `reg`. 205s warnings.warn( 205s 205s test/test_bregman.py::test_sinkhorn_empty 205s test/test_bregman.py::test_sinkhorn_variants[numpy] 205s test/test_bregman.py::test_sinkhorn_variants_dtype_device[numpy-greenkhorn] 205s test/test_bregman.py::test_sinkhorn_variants_log 205s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1089: UserWarning: Sinkhorn did not converge. You might want to increase the number of iterations `numItermax` or the regularization parameter `reg`. 205s warnings.warn( 205s 205s test/test_coot.py::test_coot[numpy-False] 205s test/test_coot.py::test_coot[numpy-True] 205s test/test_coot.py::test_coot[numpy-1] 205s test/test_coot.py::test_coot[numpy-0] 205s test/test_coot.py::test_coot_warmstart[numpy] 205s test/test_coot.py::test_coot_log[numpy] 205s /usr/lib/python3/dist-packages/ot/lp/__init__.py:388: UserWarning: numItermax reached before optimality. Try to increase numItermax. 205s result_code_string = check_result(result_code) 205s 205s test/test_da.py::test_sinkhorn_transport_class[numpy] 205s /usr/lib/python3/dist-packages/ot/da.py:1292: UserWarning: The method has been set to 'sinkhorn_log' as it is the only method available for out_of_sample_map='continuous' 205s warnings.warn( 205s 205s test/test_partial.py::test_raise_errors 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/test_partial.py:49: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein` instead. 205s ot.partial.partial_gromov_wasserstein(M, M, p, q, m=2, log=True) 205s 205s test/test_partial.py::test_raise_errors 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/test_partial.py:52: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein` instead. 205s ot.partial.partial_gromov_wasserstein(M, M, p, q, m=-1, log=True) 205s 205s test/test_partial.py::test_raise_errors 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/test_partial.py:55: UserWarning: This function will be deprecated in a near future, please use ot.gromov.entropic_partial_gromov_wasserstein` instead. 205s ot.partial.entropic_partial_gromov_wasserstein(M, M, p, q, reg=1, m=2, log=True) 205s 205s test/test_partial.py::test_raise_errors 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/test_partial.py:58: UserWarning: This function will be deprecated in a near future, please use ot.gromov.entropic_partial_gromov_wasserstein` instead. 205s ot.partial.entropic_partial_gromov_wasserstein( 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/test_partial.py:244: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein` instead. 205s res0, log0 = ot.partial.partial_gromov_wasserstein( 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /usr/lib/python3/dist-packages/ot/partial.py:808: UserWarning: This function will be deprecated in a near future, please use ot.gromov.gwggrad` instead. 205s M = 0.5 * gwgrad_partial( 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /usr/lib/python3/dist-packages/ot/partial.py:837: UserWarning: This function will be deprecated in a near future, please use ot.gromov.gwloss` instead. 205s print("{:5d}|{:8e}|{:8e}".format(cpt, err, gwloss_partial(C1, C2, G0))) 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /usr/lib/python3/dist-packages/ot/partial.py:654: UserWarning: This function will be deprecated in a near future, please use ot.gromov.gwggrad` instead. 205s g = gwgrad_partial(C1, C2, T) * 0.5 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /usr/lib/python3/dist-packages/ot/partial.py:840: UserWarning: This function will be deprecated in a near future, please use ot.gromov.gwloss` instead. 205s a = gwloss_partial(C1, C2, deltaG) 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /usr/lib/python3/dist-packages/ot/partial.py:858: UserWarning: This function will be deprecated in a near future, please use ot.gromov.gwloss` instead. 205s log["partial_gw_dist"] = gwloss_partial(C1, C2, G0) 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/test_partial.py:253: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein` instead. 205s res0, log0 = ot.partial.partial_gromov_wasserstein(C1, C2, p, q, m=m, log=True) 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/test_partial.py:257: UserWarning: This function will be deprecated in a near future, please use ot.gromov.entropic_partial_gromov_wasserstein` instead. 205s res, log = ot.partial.entropic_partial_gromov_wasserstein( 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /usr/lib/python3/dist-packages/ot/partial.py:1149: UserWarning: This function will be deprecated in a near future, please use ot.gromov.gwggrad` instead. 205s M_entr = gwgrad_partial(C1, C2, G0) 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /usr/lib/python3/dist-packages/ot/partial.py:1167: UserWarning: This function will be deprecated in a near future, please use ot.gromov.gwloss` instead. 205s loge["partial_gw_dist"] = gwloss_partial(C1, C2, G0) 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/test_partial.py:263: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein2` instead. 205s w0, log0 = ot.partial.partial_gromov_wasserstein2(C1, C2, p, q, m=m, log=True) 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /usr/lib/python3/dist-packages/ot/partial.py:989: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein` instead. 205s partial_gw, log_gw = partial_gromov_wasserstein( 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/test_partial.py:264: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein2` instead. 205s w0_val = ot.partial.partial_gromov_wasserstein2(C1, C2, p, q, m=m, log=False) 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/test_partial.py:269: UserWarning: This function will be deprecated in a near future, please use ot.gromov.partial_gromov_wasserstein` instead. 205s res0, log0 = ot.partial.partial_gromov_wasserstein(C1, C2, p, q, m=m, log=True) 205s 205s test/test_partial.py::test_partial_gromov_wasserstein 205s /tmp/autopkgtest.pUG1W3/autopkgtest_tmp/test/test_partial.py:270: UserWarning: This function will be deprecated in a near future, please use ot.gromov.entropic_partial_gromov_wasserstein` instead. 205s res, log = ot.partial.entropic_partial_gromov_wasserstein( 205s 205s test/test_regpath.py: 232 warnings 205s /usr/lib/python3/dist-packages/ot/regpath.py:494: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.) 205s M[-1, -1] = 1 / s 205s 205s test/test_sliced.py::test_sliced_sphere_backend_type_devices[numpy] 205s /usr/lib/python3/dist-packages/ot/lp/solver_1d.py:796: RuntimeWarning: divide by zero encountered in divide 205s (Ctp - Ctm + tm * dCptm - tp * dCmtp) / (dCptm - dCmtp) 205s 205s test/test_sliced.py::test_sliced_sphere_backend_type_devices[numpy] 205s /usr/lib/python3/dist-packages/ot/lp/solver_1d.py:796: RuntimeWarning: invalid value encountered in divide 205s (Ctp - Ctm + tm * dCptm - tp * dCmtp) / (dCptm - dCmtp) 205s 205s test/test_solvers.py::test_solve_grid[numpy-None-tuple-0.9-TV] 205s test/test_solvers.py::test_solve_grid[numpy-1-tuple-0.9-KL] 205s test/test_solvers.py::test_solve_grid[numpy-1-tuple-0.9-L2] 205s test/test_solvers.py::test_solve_grid[numpy-1-tuple-0.9-TV] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_lbfgs.py:277: UserWarning: The callable functions should be able to handle numpy arrays, wrapper ar added to handle this which comes with overhead 205s warnings.warn( 205s 205s test/test_ucoot.py: 66 warnings 205s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:795: UserWarning: The computation of gradients is only supported for KL divergence, not for l2 divergence 205s warnings.warn( 205s 205s test/test_ucoot.py: 96 warnings 205s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:260: UserWarning: M_samp is None but alpha_samp = 0.1 > 0. The algo will treat as if alpha_samp = 0. 205s warnings.warn( 205s 205s test/test_ucoot.py: 96 warnings 205s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:269: UserWarning: M_feat is None but alpha_feat = 0.2 > 0. The algo will treat as if alpha_feat = 0. 205s warnings.warn( 205s 205s test/test_utils.py::test_dist 205s test/test_utils.py::test_dist 205s /usr/lib/python3/dist-packages/scipy/spatial/distance.py:3127: DeprecationWarning: The sokalmichener metric is deprecated since SciPy 1.15.0 and will be removed in SciPy 1.17.0. Replace usage of 'sokalmichener(u, v)' with 'rogerstanimoto(u, v)'. 205s return cdist_fn(XA, XB, out=out, **kwargs) 205s 205s test/unbalanced/test_sinkhorn.py: 10 warnings 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:717: UserWarning: If reg_type = entropy, then the matrix c is overwritten by the one matrix. 205s warnings.warn( 205s 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_convergence[numpy-sinkhorn_stabilized-entropy] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_marginals[numpy-sinkhorn_stabilized-entropy] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_warmstart[numpy-sinkhorn_stabilized-entropy] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_reference_measure[numpy-sinkhorn_stabilized-entropy] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_multiple_inputs[numpy-sinkhorn_stabilized] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:973: UserWarning: If reg_type = entropy, then the matrix c is overwritten by the one matrix. 205s warnings.warn( 205s 205s test/unbalanced/test_sinkhorn.py: 15 warnings 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:225: UserWarning: Method not implemented yet. Using classic Sinkhorn-Knopp 205s warnings.warn("Method not implemented yet. Using classic Sinkhorn-Knopp") 205s 205s test/unbalanced/test_sinkhorn.py: 11 warnings 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:445: UserWarning: Method not implemented yet. Using classic Sinkhorn-Knopp 205s warnings.warn("Method not implemented yet. Using classic Sinkhorn-Knopp") 205s 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_convergence[numpy-sinkhorn_translation_invariant-entropy] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_marginals[numpy-sinkhorn_translation_invariant-entropy] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_warmstart[numpy-sinkhorn_translation_invariant-entropy] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_reference_measure[numpy-sinkhorn_translation_invariant-entropy] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_multiple_inputs[numpy-sinkhorn_translation_invariant] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1246: UserWarning: If reg_type = entropy, then the matrix c is overwritten by the one matrix. 205s warnings.warn( 205s 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn-inf] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_reg_scaling-inf] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn-inf-inf] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_reg_scaling-inf-inf] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:740: RuntimeWarning: overflow encountered in divide 205s v = (b / Ktu) ** fi_2 205s 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn-inf] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_reg_scaling-inf] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn-inf-inf] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_reg_scaling-inf-inf] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:751: UserWarning: Numerical errors at iteration 180 205s warnings.warn("Numerical errors at iteration %s" % i) 205s 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_stabilized-inf] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_stabilized-inf-inf] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1050: UserWarning: Stabilized Unbalanced Sinkhorn did not converge.Try a larger entropy `reg` or a lower mass `reg_m`.Or a larger absorption threshold `tau`. 205s warnings.warn( 205s 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1330: RuntimeWarning: overflow encountered in divide 205s v = v_ / t 205s 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1335: RuntimeWarning: invalid value encountered in scalar divide 205s err_v = nx.max(nx.abs(v - vprev)) / max( 205s 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1308: RuntimeWarning: overflow encountered in divide 205s v_hat = (b / Ktu) ** fi_2 * nx.sum(a * u_ ** (-reg_ratio1)) ** k_rho1 205s 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1320: UserWarning: Numerical errors at iteration 180 205s warnings.warn("Numerical errors at iteration %s" % i) 205s 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_multiple_inputs[numpy-sinkhorn_reg_scaling] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:532: UserWarning: Method not implemented yet. Using classic Sinkhorn-Knopp 205s warnings.warn("Method not implemented yet. Using classic Sinkhorn-Knopp") 205s 205s test/unbalanced/test_sinkhorn.py::test_stabilized_vs_sinkhorn[numpy] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:478: UserWarning: Reg_type not implemented yet. Use entropy. 205s warnings.warn("Reg_type not implemented yet. Use entropy.") 205s 205s test/unbalanced/test_sinkhorn.py::test_unbalanced_barycenter[numpy-sinkhorn_reg_scaling] 205s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1787: UserWarning: Method not implemented yet. Using classic Sinkhorn Knopp 205s warnings.warn("Method not implemented yet. Using classic Sinkhorn Knopp") 205s 205s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 205s ===== 932 passed, 70 skipped, 4 xfailed, 1665 warnings in 96.97s (0:01:36) ===== 206s ********** 206s autopkgtest [21:12:34]: test upstream.sh: -----------------------] 206s upstream.sh PASS 206s autopkgtest [21:12:34]: test upstream.sh: - - - - - - - - - - results - - - - - - - - - - 207s autopkgtest [21:12:35]: @@@@@@@@@@@@@@@@@@@@ summary 207s upstream.sh PASS