0s autopkgtest [17:10:10]: starting date and time: 2025-10-20 17:10:10+0000 0s autopkgtest [17:10:10]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [17:10:10]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.sz_uk43s/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-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@bos03-s390x-15.secgroup --name adt-resolute-s390x-python-pot-20251020-171010-juju-7f2275-prod-proposed-migration-environment-15-9dd62a77-3f26-4eb7-8eb7-793dcff5e027 --image adt/ubuntu-resolute-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-proposed-migration-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-s390x-python-pot-20251020-171010-juju-7f2275-prod-proposed-migration-environment-15-9dd62a77-3f26-4eb7-8eb7-793dcff5e027 from image adt/ubuntu-resolute-s390x-server-20251020.img (UUID af6042e7-5f94-4102-8fd4-5557e2338897)... 53s autopkgtest [17:11:03]: testbed dpkg architecture: s390x 53s autopkgtest [17:11:03]: testbed apt version: 3.1.8ubuntu1 53s autopkgtest [17:11:03]: @@@@@@@@@@@@@@@@@@@@ test bed setup 54s autopkgtest [17:11:04]: testbed release detected to be: None 54s autopkgtest [17:11:04]: updating testbed package index (apt update) 55s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [83.3 kB] 55s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 55s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 55s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 55s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [59.3 kB] 55s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [14.3 kB] 55s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [646 kB] 55s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [5028 B] 55s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [108 kB] 55s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/restricted s390x Packages [940 B] 55s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [395 kB] 55s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [3812 B] 56s Fetched 1316 kB in 1s (1241 kB/s) 56s Reading package lists... 57s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 57s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 57s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 57s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 58s Reading package lists... 58s Reading package lists... 58s Building dependency tree... 58s Reading state information... 58s Calculating upgrade... 58s The following packages will be upgraded: 58s libbrotli1 libjson-c5 python3-inflect python3-oauthlib python3-zipp 58s 5 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 58s Need to get 554 kB of archives. 58s After this operation, 31.7 kB of additional disk space will be used. 58s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libjson-c5 s390x 0.18+ds-1.1 [36.8 kB] 58s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libbrotli1 s390x 1.1.0-2build6 [379 kB] 59s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x python3-inflect all 7.5.0-1 [33.9 kB] 59s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x python3-oauthlib all 3.3.1-1 [93.5 kB] 59s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x python3-zipp all 3.23.0-1 [10.4 kB] 59s dpkg-preconfigure: unable to re-open stdin: No such file or directory 59s Fetched 554 kB in 1s (834 kB/s) 59s (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 ... 56857 files and directories currently installed.) 59s Preparing to unpack .../libjson-c5_0.18+ds-1.1_s390x.deb ... 59s Unpacking libjson-c5:s390x (0.18+ds-1.1) over (0.18+ds-1) ... 59s Preparing to unpack .../libbrotli1_1.1.0-2build6_s390x.deb ... 59s Unpacking libbrotli1:s390x (1.1.0-2build6) over (1.1.0-2build5) ... 59s Preparing to unpack .../python3-inflect_7.5.0-1_all.deb ... 59s Unpacking python3-inflect (7.5.0-1) over (7.3.1-2) ... 59s Preparing to unpack .../python3-oauthlib_3.3.1-1_all.deb ... 59s Unpacking python3-oauthlib (3.3.1-1) over (3.2.2-3) ... 59s Preparing to unpack .../python3-zipp_3.23.0-1_all.deb ... 59s Unpacking python3-zipp (3.23.0-1) over (3.21.0-1) ... 59s Setting up libbrotli1:s390x (1.1.0-2build6) ... 59s Setting up python3-zipp (3.23.0-1) ... 59s Setting up python3-inflect (7.5.0-1) ... 60s Setting up python3-oauthlib (3.3.1-1) ... 60s Setting up libjson-c5:s390x (0.18+ds-1.1) ... 60s Processing triggers for libc-bin (2.42-0ubuntu3) ... 60s autopkgtest [17:11:10]: upgrading testbed (apt dist-upgrade and autopurge) 60s Reading package lists... 60s Building dependency tree... 60s Reading state information... 60s Calculating upgrade... 60s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 61s Solving dependencies... 61s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 64s autopkgtest [17:11:14]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP Mon Sep 22 08:56:47 UTC 2025 64s autopkgtest [17:11:14]: @@@@@@@@@@@@@@@@@@@@ apt-source python-pot 66s Get:1 http://ftpmaster.internal/ubuntu resolute/universe python-pot 0.9.5+dfsg-1 (dsc) [2114 B] 66s Get:2 http://ftpmaster.internal/ubuntu resolute/universe python-pot 0.9.5+dfsg-1 (tar) [807 kB] 66s Get:3 http://ftpmaster.internal/ubuntu resolute/universe python-pot 0.9.5+dfsg-1 (diff) [4888 B] 66s gpgv: Signature made Mon Feb 24 10:22:54 2025 UTC 66s gpgv: using RSA key CFC5EF8510851E7355B55E809D11582AFD548CFA 66s gpgv: issuer "gspr@nonempty.org" 66s gpgv: Can't check signature: No public key 66s dpkg-source: warning: cannot verify inline signature for ./python-pot_0.9.5+dfsg-1.dsc: no acceptable signature found 66s autopkgtest [17:11:16]: testing package python-pot version 0.9.5+dfsg-1 66s autopkgtest [17:11:16]: build not needed 71s autopkgtest [17:11:21]: test upstream.sh: preparing testbed 72s Reading package lists... 72s Building dependency tree... 72s Reading state information... 72s Solving dependencies... 72s The following NEW packages will be installed: 72s libblas3 libgfortran5 libgomp1 liblapack3 python3-all python3-decorator 72s python3-iniconfig python3-joblib python3-numpy python3-numpy-dev 72s python3-packaging python3-pluggy python3-pot python3-pytest python3-scipy 72s python3-sklearn python3-sklearn-lib python3-threadpoolctl 72s 0 upgraded, 18 newly installed, 0 to remove and 0 not upgraded. 72s Need to get 33.0 MB of archives. 72s After this operation, 147 MB of additional disk space will be used. 72s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x python3-numpy-dev s390x 1:2.2.4+ds-1ubuntu1 [147 kB] 72s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x libblas3 s390x 3.12.1-6build1 [245 kB] 73s Get:3 http://ftpmaster.internal/ubuntu resolute/main s390x libgfortran5 s390x 15.2.0-5ubuntu1 [629 kB] 73s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x liblapack3 s390x 3.12.1-6build1 [2910 kB] 73s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x python3-numpy s390x 1:2.2.4+ds-1ubuntu1 [4399 kB] 74s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x libgomp1 s390x 15.2.0-5ubuntu1 [154 kB] 74s Get:7 http://ftpmaster.internal/ubuntu resolute/main s390x python3-all s390x 3.13.7-1 [886 B] 74s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x python3-decorator all 5.2.1-2 [28.1 kB] 74s Get:9 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 74s Get:10 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-joblib all 1.4.2-4 [205 kB] 74s Get:11 http://ftpmaster.internal/ubuntu resolute/main s390x python3-packaging all 25.0-1 [52.8 kB] 74s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x python3-pluggy all 1.6.0-1 [21.0 kB] 74s Get:13 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-scipy s390x 1.15.3-1 [17.2 MB] 75s Get:14 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-pot s390x 0.9.5+dfsg-1 [251 kB] 75s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x python3-pytest all 8.4.2-1 [268 kB] 75s Get:16 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-threadpoolctl all 3.1.0-1 [21.3 kB] 75s Get:17 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-sklearn-lib s390x 1.4.2+dfsg-8 [4262 kB] 76s Get:18 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-sklearn all 1.4.2+dfsg-8 [2258 kB] 76s Fetched 33.0 MB in 4s (8706 kB/s) 76s Selecting previously unselected package python3-numpy-dev:s390x. 76s (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 ... 56867 files and directories currently installed.) 76s Preparing to unpack .../00-python3-numpy-dev_1%3a2.2.4+ds-1ubuntu1_s390x.deb ... 76s Unpacking python3-numpy-dev:s390x (1:2.2.4+ds-1ubuntu1) ... 76s Selecting previously unselected package libblas3:s390x. 76s Preparing to unpack .../01-libblas3_3.12.1-6build1_s390x.deb ... 76s Unpacking libblas3:s390x (3.12.1-6build1) ... 76s Selecting previously unselected package libgfortran5:s390x. 76s Preparing to unpack .../02-libgfortran5_15.2.0-5ubuntu1_s390x.deb ... 76s Unpacking libgfortran5:s390x (15.2.0-5ubuntu1) ... 76s Selecting previously unselected package liblapack3:s390x. 76s Preparing to unpack .../03-liblapack3_3.12.1-6build1_s390x.deb ... 76s Unpacking liblapack3:s390x (3.12.1-6build1) ... 76s Selecting previously unselected package python3-numpy. 76s Preparing to unpack .../04-python3-numpy_1%3a2.2.4+ds-1ubuntu1_s390x.deb ... 76s Unpacking python3-numpy (1:2.2.4+ds-1ubuntu1) ... 76s Selecting previously unselected package libgomp1:s390x. 76s Preparing to unpack .../05-libgomp1_15.2.0-5ubuntu1_s390x.deb ... 76s Unpacking libgomp1:s390x (15.2.0-5ubuntu1) ... 76s Selecting previously unselected package python3-all. 76s Preparing to unpack .../06-python3-all_3.13.7-1_s390x.deb ... 76s Unpacking python3-all (3.13.7-1) ... 76s Selecting previously unselected package python3-decorator. 76s Preparing to unpack .../07-python3-decorator_5.2.1-2_all.deb ... 76s Unpacking python3-decorator (5.2.1-2) ... 76s Selecting previously unselected package python3-iniconfig. 76s Preparing to unpack .../08-python3-iniconfig_1.1.1-2_all.deb ... 76s Unpacking python3-iniconfig (1.1.1-2) ... 76s Selecting previously unselected package python3-joblib. 76s Preparing to unpack .../09-python3-joblib_1.4.2-4_all.deb ... 76s Unpacking python3-joblib (1.4.2-4) ... 76s Selecting previously unselected package python3-packaging. 76s Preparing to unpack .../10-python3-packaging_25.0-1_all.deb ... 76s Unpacking python3-packaging (25.0-1) ... 76s Selecting previously unselected package python3-pluggy. 76s Preparing to unpack .../11-python3-pluggy_1.6.0-1_all.deb ... 76s Unpacking python3-pluggy (1.6.0-1) ... 76s Selecting previously unselected package python3-scipy. 76s Preparing to unpack .../12-python3-scipy_1.15.3-1_s390x.deb ... 76s Unpacking python3-scipy (1.15.3-1) ... 77s Selecting previously unselected package python3-pot. 77s Preparing to unpack .../13-python3-pot_0.9.5+dfsg-1_s390x.deb ... 77s Unpacking python3-pot (0.9.5+dfsg-1) ... 77s Selecting previously unselected package python3-pytest. 77s Preparing to unpack .../14-python3-pytest_8.4.2-1_all.deb ... 77s Unpacking python3-pytest (8.4.2-1) ... 77s Selecting previously unselected package python3-threadpoolctl. 77s Preparing to unpack .../15-python3-threadpoolctl_3.1.0-1_all.deb ... 77s Unpacking python3-threadpoolctl (3.1.0-1) ... 77s Selecting previously unselected package python3-sklearn-lib:s390x. 77s Preparing to unpack .../16-python3-sklearn-lib_1.4.2+dfsg-8_s390x.deb ... 77s Unpacking python3-sklearn-lib:s390x (1.4.2+dfsg-8) ... 77s Selecting previously unselected package python3-sklearn. 77s Preparing to unpack .../17-python3-sklearn_1.4.2+dfsg-8_all.deb ... 77s Unpacking python3-sklearn (1.4.2+dfsg-8) ... 77s Setting up python3-iniconfig (1.1.1-2) ... 77s Setting up python3-joblib (1.4.2-4) ... 77s Setting up python3-threadpoolctl (3.1.0-1) ... 77s Setting up python3-all (3.13.7-1) ... 77s Setting up libgomp1:s390x (15.2.0-5ubuntu1) ... 77s Setting up python3-decorator (5.2.1-2) ... 77s Setting up libblas3:s390x (3.12.1-6build1) ... 77s update-alternatives: using /usr/lib/s390x-linux-gnu/blas/libblas.so.3 to provide /usr/lib/s390x-linux-gnu/libblas.so.3 (libblas.so.3-s390x-linux-gnu) in auto mode 77s Setting up python3-packaging (25.0-1) ... 77s Setting up python3-numpy-dev:s390x (1:2.2.4+ds-1ubuntu1) ... 77s Setting up libgfortran5:s390x (15.2.0-5ubuntu1) ... 77s Setting up python3-pluggy (1.6.0-1) ... 77s Setting up liblapack3:s390x (3.12.1-6build1) ... 77s update-alternatives: using /usr/lib/s390x-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/s390x-linux-gnu/liblapack.so.3 (liblapack.so.3-s390x-linux-gnu) in auto mode 77s Setting up python3-pytest (8.4.2-1) ... 78s Setting up python3-numpy (1:2.2.4+ds-1ubuntu1) ... 79s Setting up python3-scipy (1.15.3-1) ... 82s Setting up python3-pot (0.9.5+dfsg-1) ... 82s /usr/lib/python3/dist-packages/ot/unbalanced/_lbfgs.py:38: SyntaxWarning: invalid escape sequence '\m' 82s If None, then use :math:`\mathbf{c} = \mathbf{a} \mathbf{b}^T`. 82s Setting up python3-sklearn-lib:s390x (1.4.2+dfsg-8) ... 82s Setting up python3-sklearn (1.4.2+dfsg-8) ... 84s Processing triggers for man-db (2.13.1-1) ... 84s Processing triggers for libc-bin (2.42-0ubuntu3) ... 85s autopkgtest [17:11:35]: test upstream.sh: [----------------------- 85s Running tests with Python 3.13. 86s ============================= test session starts ============================== 86s platform linux -- Python 3.13.7, pytest-8.4.2, pluggy-1.6.0 86s rootdir: /tmp/autopkgtest.74JGk7/autopkgtest_tmp 86s plugins: typeguard-4.4.2 86s collected 1006 items 86s 90s test/gromov/test_bregman.py ..x..x............ [ 1%] 90s test/gromov/test_dictionary.py .... [ 2%] 91s test/gromov/test_estimators.py .. [ 2%] 93s test/gromov/test_fugw.py ............................................... [ 7%] 94s ........................................................................ [ 14%] 94s ................ [ 15%] 94s test/gromov/test_gw.py ....s....x....... [ 17%] 94s test/gromov/test_lowrank.py .......... [ 18%] 98s test/gromov/test_partial.py .... [ 18%] 98s test/gromov/test_quantized.py .... [ 19%] 99s test/gromov/test_semirelaxed.py .....x......... [ 20%] 99s test/gromov/test_utils.py ........ [ 21%] 99s test/test_1d_solver.py ...s..s...... [ 22%] 99s test/test_backend.py .......... [ 23%] 105s test/test_bregman.py ......................................sss.......... [ 28%] 112s .....................................ss....ss..ss..s....... [ 34%] 113s test/test_coot.py ......... [ 35%] 114s test/test_da.py .....................s... [ 38%] 114s test/test_dmmot.py .. [ 38%] 114s test/test_dr.py ssssss [ 38%] 115s test/test_factored.py .. [ 39%] 119s test/test_gaussian.py .................. [ 40%] 119s test/test_gmm.py ......s. [ 41%] 119s test/test_gnn.py ssss [ 42%] 121s test/test_lowrank.py ........... [ 43%] 121s test/test_mapping.py sss. [ 43%] 122s test/test_optim.py ...... [ 44%] 123s test/test_ot.py ....s..........s.. [ 46%] 124s test/test_partial.py ...... [ 46%] 124s test/test_plot.py sss [ 46%] 124s test/test_regpath.py .. [ 47%] 125s test/test_sliced.py ...........s..s............. [ 49%] 125s test/test_smooth.py ... [ 50%] 128s test/test_solvers.py .s................................................. [ 55%] 129s .........................ssssssss........ssssssss....................... [ 62%] 132s .ssssssss........ssssssss...ss............. [ 66%] 134s test/test_stochastic.py ......... [ 67%] 135s test/test_ucoot.py ..................................................... [ 72%] 138s ........................................................................ [ 80%] 138s ........ [ 80%] 138s test/test_utils.py .............................. [ 83%] 138s test/test_weak.py .. [ 83%] 145s test/unbalanced/test_lbfgs.py .......................................... [ 88%] 147s ................................. [ 91%] 158s test/unbalanced/test_mm.py .......... [ 92%] 158s test/unbalanced/test_sinkhorn.py ....................................... [ 96%] 161s ..................................... [100%] 161s 161s =============================== warnings summary =============================== 161s test/gromov/test_bregman.py: 12 warnings 161s test/gromov/test_estimators.py: 1 warning 161s test/test_bregman.py: 6 warnings 161s test/test_coot.py: 1 warning 161s test/test_da.py: 4 warnings 161s test/test_optim.py: 1 warning 161s test/test_partial.py: 1 warning 161s /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`. 161s warnings.warn( 161s 161s test/gromov/test_bregman.py::test_BAPG_gromov[numpy] 161s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:585: RuntimeWarning: divide by zero encountered in divide 161s column_scaling = q / nx.sum(T, 0) 161s 161s test/gromov/test_bregman.py::test_BAPG_gromov[numpy] 161s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:586: RuntimeWarning: invalid value encountered in multiply 161s T = nx.reshape(column_scaling, (1, -1)) * T 161s 161s test/gromov/test_bregman.py::test_BAPG_fgw[numpy] 161s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:1597: RuntimeWarning: divide by zero encountered in divide 161s row_scaling = p / nx.sum(T, 1) 161s 161s test/gromov/test_bregman.py::test_BAPG_fgw[numpy] 161s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:1598: RuntimeWarning: invalid value encountered in multiply 161s T = nx.reshape(row_scaling, (-1, 1)) * T 161s 161s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 161s /usr/lib/python3/dist-packages/ot/backend.py:1168: RuntimeWarning: divide by zero encountered in log 161s return np.log(a) 161s 161s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 161s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:631: RuntimeWarning: divide by zero encountered in divide 161s v = b / KtransposeU 161s 161s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 161s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:631: RuntimeWarning: overflow encountered in divide 161s v = b / KtransposeU 161s 161s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 161s test/gromov/test_bregman.py::test_gromov_entropic_barycenter[numpy] 161s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:643: UserWarning: Warning: numerical errors at iteration 0 161s warnings.warn("Warning: numerical errors at iteration %d" % ii) 161s 161s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 161s /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`. 161s warnings.warn( 161s 161s test/gromov/test_bregman.py::test_gromov_entropic_barycenter[numpy] 161s /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`. 161s warnings.warn( 161s 161s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 161s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 161s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 161s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 161s /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.) 161s index[0] = generator.choice(len_p, size=1, p=nx.to_numpy(p)) 161s 161s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 161s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 161s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 161s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 161s /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.) 161s index[1] = generator.choice(len_q, size=1, p=nx.to_numpy(q)) 161s 161s test/gromov/test_estimators.py: 400 warnings 161s /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.) 161s index[0] = generator.choice(len_p, size=1, p=nx.to_numpy(p)) 161s 161s test/gromov/test_estimators.py: 400 warnings 161s /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.) 161s index[1] = generator.choice( 161s 161s test/gromov/test_fugw.py: 42 warnings 161s /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. 161s warnings.warn( 161s 161s test/gromov/test_fugw.py: 28 warnings 161s test/test_ucoot.py: 28 warnings 161s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:228: UserWarning: Sinkhorn algorithm does not support unregularized problem. Solver is set to 'mm'. 161s warnings.warn( 161s 161s test/gromov/test_fugw.py: 28 warnings 161s test/test_ucoot.py: 32 warnings 161s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:220: UserWarning: Sinkhorn algorithm does not support L2 norm. Divergence is set to 'kl'. 161s warnings.warn( 161s 161s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 161s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 161s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:738: RuntimeWarning: divide by zero encountered in divide 161s u = (a / Kv) ** fi_1 161s 161s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 161s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 161s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:751: UserWarning: Numerical errors at iteration 0 161s warnings.warn("Numerical errors at iteration %s" % i) 161s 161s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 161s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 161s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:410: RuntimeWarning: divide by zero encountered in scalar divide 161s pi_samp = nx.sqrt(mass / nx.sum(pi_samp)) * pi_samp # shape nx x ny 161s 161s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 161s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 161s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:410: RuntimeWarning: invalid value encountered in multiply 161s pi_samp = nx.sqrt(mass / nx.sum(pi_samp)) * pi_samp # shape nx x ny 161s 161s test/gromov/test_gw.py::test_gromov_integer_warnings[numpy] 161s /tmp/autopkgtest.74JGk7/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. 161s G = ot.gromov.gromov_wasserstein( 161s 161s test/gromov/test_gw.py::test_gromov_integer_warnings[numpy] 161s /tmp/autopkgtest.74JGk7/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. 161s ot.gromov.gromov_wasserstein( 161s 161s test/gromov/test_gw.py::test_fgw_integer_warnings[numpy] 161s /tmp/autopkgtest.74JGk7/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. 161s G, log = ot.gromov.fused_gromov_wasserstein( 161s 161s test/gromov/test_gw.py::test_fgw_integer_warnings[numpy] 161s /tmp/autopkgtest.74JGk7/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. 161s Gb, logb = ot.gromov.fused_gromov_wasserstein( 161s 161s test/gromov/test_lowrank.py::test_lowrank_gromov_wasserstein_samples 161s test/gromov/test_lowrank.py::test_lowrank_wasserstein_samples_gamma_init[theory] 161s /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` 161s warnings.warn( 161s 161s test/gromov/test_partial.py::test_partial_gromov_wasserstein[numpy] 161s /tmp/autopkgtest.74JGk7/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. 161s res0b, log0b = ot.gromov.partial_gromov_wasserstein( 161s 161s test/gromov/test_quantized.py::test_quantized_gw[numpy] 161s test/gromov/test_quantized.py::test_quantized_gw[numpy] 161s /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. 161s part1 = get_graph_partition( 161s 161s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 161s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 161s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 161s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 161s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 161s /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. 161s part1, rep_indices1 = get_partition_and_representants_samples( 161s 161s test/gromov/test_semirelaxed.py::test_entropic_semirelaxed_gromov_dtype_device[numpy] 161s /usr/lib/python3/dist-packages/ot/gromov/_semirelaxed.py:1008: RuntimeWarning: overflow encountered in divide 161s scaling = p / nx.sum(K, 1) 161s 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s /usr/lib/python3/dist-packages/ot/gromov/_utils.py:775: RuntimeWarning: divide by zero encountered in divide 161s prod = nx.nan_to_num(1.0 / quotient, nan=1.0, posinf=1.0, neginf=1.0) 161s 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s /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 161s semirelaxed_init_plan( 161s 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 161s /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 161s G0 = semirelaxed_init_plan( 161s 161s test/gromov/test_semirelaxed.py::test_semirelaxed_fgw_barycenter[numpy] 161s test/gromov/test_semirelaxed.py::test_semirelaxed_fgw_barycenter[numpy] 161s /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 161s semirelaxed_init_plan( 161s 161s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 161s /tmp/autopkgtest.74JGk7/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 161s T = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 161s 161s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 161s /tmp/autopkgtest.74JGk7/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 161s Tb = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 161s 161s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 161s /tmp/autopkgtest.74JGk7/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 161s T = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 161s 161s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 161s /tmp/autopkgtest.74JGk7/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 161s Tb = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 161s 161s test/test_bregman.py::test_nan_warning[sinkhorn] 161s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:622: RuntimeWarning: divide by zero encountered in divide 161s K = nx.exp(M / (-reg)) 161s 161s test/test_bregman.py::test_nan_warning[sinkhorn] 161s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:622: RuntimeWarning: invalid value encountered in divide 161s K = nx.exp(M / (-reg)) 161s 161s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 161s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1261: RuntimeWarning: divide by zero encountered in divide 161s return nx.exp(-(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg) 161s 161s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 161s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1261: RuntimeWarning: invalid value encountered in divide 161s return nx.exp(-(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg) 161s 161s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 161s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 161s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1266: RuntimeWarning: divide by zero encountered in divide 161s -(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg 161s 161s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 161s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 161s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1266: RuntimeWarning: invalid value encountered in divide 161s -(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg 161s 161s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-True-True] 161s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-True-False] 161s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-False-True] 161s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-False-False] 161s test/test_bregman.py::test_sinkhorn_variants_dtype_device[numpy-sinkhorn_stabilized] 161s test/test_bregman.py::test_sinkhorn_warmstart 161s /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`. 161s warnings.warn( 161s 161s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-True-True] 161s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-True-False] 161s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-False-True] 161s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-False-False] 161s test/test_bregman.py::test_sinkhorn_variants_dtype_device[numpy-sinkhorn_log] 161s /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`. 161s warnings.warn( 161s 161s test/test_bregman.py::test_sinkhorn_empty 161s test/test_bregman.py::test_sinkhorn_variants[numpy] 161s test/test_bregman.py::test_sinkhorn_variants_dtype_device[numpy-greenkhorn] 161s test/test_bregman.py::test_sinkhorn_variants_log 161s /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`. 161s warnings.warn( 161s 161s test/test_coot.py::test_coot[numpy-False] 161s test/test_coot.py::test_coot[numpy-True] 161s test/test_coot.py::test_coot[numpy-1] 161s test/test_coot.py::test_coot[numpy-0] 161s test/test_coot.py::test_coot_warmstart[numpy] 161s test/test_coot.py::test_coot_log[numpy] 161s /usr/lib/python3/dist-packages/ot/lp/__init__.py:388: UserWarning: numItermax reached before optimality. Try to increase numItermax. 161s result_code_string = check_result(result_code) 161s 161s test/test_da.py::test_sinkhorn_transport_class[numpy] 161s /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' 161s warnings.warn( 161s 161s test/test_partial.py::test_raise_errors 161s /tmp/autopkgtest.74JGk7/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. 161s ot.partial.partial_gromov_wasserstein(M, M, p, q, m=2, log=True) 161s 161s test/test_partial.py::test_raise_errors 161s /tmp/autopkgtest.74JGk7/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. 161s ot.partial.partial_gromov_wasserstein(M, M, p, q, m=-1, log=True) 161s 161s test/test_partial.py::test_raise_errors 161s /tmp/autopkgtest.74JGk7/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. 161s ot.partial.entropic_partial_gromov_wasserstein(M, M, p, q, reg=1, m=2, log=True) 161s 161s test/test_partial.py::test_raise_errors 161s /tmp/autopkgtest.74JGk7/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. 161s ot.partial.entropic_partial_gromov_wasserstein( 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /tmp/autopkgtest.74JGk7/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. 161s res0, log0 = ot.partial.partial_gromov_wasserstein( 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /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. 161s M = 0.5 * gwgrad_partial( 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /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. 161s print("{:5d}|{:8e}|{:8e}".format(cpt, err, gwloss_partial(C1, C2, G0))) 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /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. 161s g = gwgrad_partial(C1, C2, T) * 0.5 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /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. 161s a = gwloss_partial(C1, C2, deltaG) 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /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. 161s log["partial_gw_dist"] = gwloss_partial(C1, C2, G0) 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /tmp/autopkgtest.74JGk7/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. 161s res0, log0 = ot.partial.partial_gromov_wasserstein(C1, C2, p, q, m=m, log=True) 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /tmp/autopkgtest.74JGk7/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. 161s res, log = ot.partial.entropic_partial_gromov_wasserstein( 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /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. 161s M_entr = gwgrad_partial(C1, C2, G0) 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /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. 161s loge["partial_gw_dist"] = gwloss_partial(C1, C2, G0) 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /tmp/autopkgtest.74JGk7/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. 161s w0, log0 = ot.partial.partial_gromov_wasserstein2(C1, C2, p, q, m=m, log=True) 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /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. 161s partial_gw, log_gw = partial_gromov_wasserstein( 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /tmp/autopkgtest.74JGk7/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. 161s w0_val = ot.partial.partial_gromov_wasserstein2(C1, C2, p, q, m=m, log=False) 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /tmp/autopkgtest.74JGk7/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. 161s res0, log0 = ot.partial.partial_gromov_wasserstein(C1, C2, p, q, m=m, log=True) 161s 161s test/test_partial.py::test_partial_gromov_wasserstein 161s /tmp/autopkgtest.74JGk7/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. 161s res, log = ot.partial.entropic_partial_gromov_wasserstein( 161s 161s test/test_regpath.py: 232 warnings 161s /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.) 161s M[-1, -1] = 1 / s 161s 161s test/test_sliced.py::test_sliced_sphere_backend_type_devices[numpy] 161s /usr/lib/python3/dist-packages/ot/lp/solver_1d.py:796: RuntimeWarning: divide by zero encountered in divide 161s (Ctp - Ctm + tm * dCptm - tp * dCmtp) / (dCptm - dCmtp) 161s 161s test/test_sliced.py::test_sliced_sphere_backend_type_devices[numpy] 161s /usr/lib/python3/dist-packages/ot/lp/solver_1d.py:796: RuntimeWarning: invalid value encountered in divide 161s (Ctp - Ctm + tm * dCptm - tp * dCmtp) / (dCptm - dCmtp) 161s 161s test/test_solvers.py::test_solve_grid[numpy-None-tuple-0.9-TV] 161s test/test_solvers.py::test_solve_grid[numpy-1-tuple-0.9-KL] 161s test/test_solvers.py::test_solve_grid[numpy-1-tuple-0.9-L2] 161s test/test_solvers.py::test_solve_grid[numpy-1-tuple-0.9-TV] 161s /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 161s warnings.warn( 161s 161s test/test_ucoot.py: 66 warnings 161s /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 161s warnings.warn( 161s 161s test/test_ucoot.py: 96 warnings 161s /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. 161s warnings.warn( 161s 161s test/test_ucoot.py: 96 warnings 161s /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. 161s warnings.warn( 161s 161s test/test_utils.py::test_dist 161s test/test_utils.py::test_dist 161s /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)'. 161s return cdist_fn(XA, XB, out=out, **kwargs) 161s 161s test/unbalanced/test_sinkhorn.py: 10 warnings 161s /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. 161s warnings.warn( 161s 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_convergence[numpy-sinkhorn_stabilized-entropy] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_marginals[numpy-sinkhorn_stabilized-entropy] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_warmstart[numpy-sinkhorn_stabilized-entropy] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_reference_measure[numpy-sinkhorn_stabilized-entropy] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_multiple_inputs[numpy-sinkhorn_stabilized] 161s /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. 161s warnings.warn( 161s 161s test/unbalanced/test_sinkhorn.py: 15 warnings 161s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:225: UserWarning: Method not implemented yet. Using classic Sinkhorn-Knopp 161s warnings.warn("Method not implemented yet. Using classic Sinkhorn-Knopp") 161s 161s test/unbalanced/test_sinkhorn.py: 11 warnings 161s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:445: UserWarning: Method not implemented yet. Using classic Sinkhorn-Knopp 161s warnings.warn("Method not implemented yet. Using classic Sinkhorn-Knopp") 161s 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_convergence[numpy-sinkhorn_translation_invariant-entropy] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_marginals[numpy-sinkhorn_translation_invariant-entropy] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_warmstart[numpy-sinkhorn_translation_invariant-entropy] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_reference_measure[numpy-sinkhorn_translation_invariant-entropy] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_multiple_inputs[numpy-sinkhorn_translation_invariant] 161s /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. 161s warnings.warn( 161s 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn-inf] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_reg_scaling-inf] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn-inf-inf] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_reg_scaling-inf-inf] 161s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:740: RuntimeWarning: overflow encountered in divide 161s v = (b / Ktu) ** fi_2 161s 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn-inf] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_reg_scaling-inf] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn-inf-inf] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_reg_scaling-inf-inf] 161s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:751: UserWarning: Numerical errors at iteration 180 161s warnings.warn("Numerical errors at iteration %s" % i) 161s 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_stabilized-inf] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_stabilized-inf-inf] 161s /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`. 161s warnings.warn( 161s 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 161s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1330: RuntimeWarning: overflow encountered in divide 161s v = v_ / t 161s 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 161s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1335: RuntimeWarning: invalid value encountered in scalar divide 161s err_v = nx.max(nx.abs(v - vprev)) / max( 161s 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 161s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1308: RuntimeWarning: overflow encountered in divide 161s v_hat = (b / Ktu) ** fi_2 * nx.sum(a * u_ ** (-reg_ratio1)) ** k_rho1 161s 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 161s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1320: UserWarning: Numerical errors at iteration 180 161s warnings.warn("Numerical errors at iteration %s" % i) 161s 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_multiple_inputs[numpy-sinkhorn_reg_scaling] 161s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:532: UserWarning: Method not implemented yet. Using classic Sinkhorn-Knopp 161s warnings.warn("Method not implemented yet. Using classic Sinkhorn-Knopp") 161s 161s test/unbalanced/test_sinkhorn.py::test_stabilized_vs_sinkhorn[numpy] 161s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:478: UserWarning: Reg_type not implemented yet. Use entropy. 161s warnings.warn("Reg_type not implemented yet. Use entropy.") 161s 161s test/unbalanced/test_sinkhorn.py::test_unbalanced_barycenter[numpy-sinkhorn_reg_scaling] 161s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1787: UserWarning: Method not implemented yet. Using classic Sinkhorn Knopp 161s warnings.warn("Method not implemented yet. Using classic Sinkhorn Knopp") 161s 161s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 161s ===== 932 passed, 70 skipped, 4 xfailed, 1665 warnings in 75.13s (0:01:15) ===== 162s ********** 162s autopkgtest [17:12:52]: test upstream.sh: -----------------------] 162s upstream.sh PASS 162s autopkgtest [17:12:52]: test upstream.sh: - - - - - - - - - - results - - - - - - - - - - 163s autopkgtest [17:12:53]: @@@@@@@@@@@@@@@@@@@@ summary 163s upstream.sh PASS