1s autopkgtest [01:44:30]: starting date and time: 2025-03-16 01:44:30+0000 1s autopkgtest [01:44:31]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 1s autopkgtest [01:44:31]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.fb5nxine/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:scikit-learn --apt-upgrade python-pot --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=scikit-learn/1.4.2+dfsg-8 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-s390x-5.secgroup --name adt-plucky-s390x-python-pot-20250316-014430-juju-7f2275-prod-proposed-migration-environment-2-502da87c-a6bc-4647-a031-ede1e7e3a675 --image adt/ubuntu-plucky-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-s390x -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 103s autopkgtest [01:46:13]: testbed dpkg architecture: s390x 104s autopkgtest [01:46:14]: testbed apt version: 2.9.33 104s autopkgtest [01:46:14]: @@@@@@@@@@@@@@@@@@@@ test bed setup 104s autopkgtest [01:46:14]: testbed release detected to be: None 105s autopkgtest [01:46:15]: updating testbed package index (apt update) 105s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [126 kB] 106s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 106s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 106s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 106s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [365 kB] 106s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [41.4 kB] 106s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [17.7 kB] 106s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x Packages [75.4 kB] 106s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main s390x c-n-f Metadata [1784 B] 106s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted s390x c-n-f Metadata [116 B] 106s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x Packages [294 kB] 106s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x c-n-f Metadata [12.3 kB] 106s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x Packages [4956 B] 106s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse s390x c-n-f Metadata [240 B] 106s Fetched 940 kB in 1s (1104 kB/s) 107s Reading package lists... 107s Reading package lists... 107s Building dependency tree... 107s Reading state information... 108s Calculating upgrade... 108s Calculating upgrade... 108s The following packages were automatically installed and are no longer required: 108s libnsl2 libpython3.12-minimal libpython3.12-stdlib libpython3.12t64 108s linux-headers-6.11.0-8 linux-headers-6.11.0-8-generic 108s linux-modules-6.11.0-8-generic linux-tools-6.11.0-8 108s linux-tools-6.11.0-8-generic 108s Use 'sudo apt autoremove' to remove them. 108s The following packages will be upgraded: 108s pinentry-curses python3-jinja2 strace 108s 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 108s Need to get 652 kB of archives. 108s After this operation, 27.6 kB of additional disk space will be used. 108s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x strace s390x 6.13+ds-1ubuntu1 [500 kB] 108s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x pinentry-curses s390x 1.3.1-2ubuntu3 [42.9 kB] 109s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x python3-jinja2 all 3.1.5-2ubuntu1 [109 kB] 109s Fetched 652 kB in 1s (729 kB/s) 109s (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 ... 81428 files and directories currently installed.) 109s Preparing to unpack .../strace_6.13+ds-1ubuntu1_s390x.deb ... 109s Unpacking strace (6.13+ds-1ubuntu1) over (6.11-0ubuntu1) ... 109s Preparing to unpack .../pinentry-curses_1.3.1-2ubuntu3_s390x.deb ... 109s Unpacking pinentry-curses (1.3.1-2ubuntu3) over (1.3.1-2ubuntu2) ... 109s Preparing to unpack .../python3-jinja2_3.1.5-2ubuntu1_all.deb ... 109s Unpacking python3-jinja2 (3.1.5-2ubuntu1) over (3.1.5-2) ... 109s Setting up pinentry-curses (1.3.1-2ubuntu3) ... 109s Setting up python3-jinja2 (3.1.5-2ubuntu1) ... 109s Setting up strace (6.13+ds-1ubuntu1) ... 109s Processing triggers for man-db (2.13.0-1) ... 110s Reading package lists... 110s Building dependency tree... 110s Reading state information... 110s Solving dependencies... 110s The following packages will be REMOVED: 110s libnsl2* libpython3.12-minimal* libpython3.12-stdlib* libpython3.12t64* 110s linux-headers-6.11.0-8* linux-headers-6.11.0-8-generic* 110s linux-modules-6.11.0-8-generic* linux-tools-6.11.0-8* 110s linux-tools-6.11.0-8-generic* 110s 0 upgraded, 0 newly installed, 9 to remove and 0 not upgraded. 110s After this operation, 167 MB disk space will be freed. 110s (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 ... 81428 files and directories currently installed.) 110s Removing linux-tools-6.11.0-8-generic (6.11.0-8.8) ... 110s Removing linux-tools-6.11.0-8 (6.11.0-8.8) ... 110s Removing libpython3.12t64:s390x (3.12.9-1) ... 110s Removing libpython3.12-stdlib:s390x (3.12.9-1) ... 110s Removing libnsl2:s390x (1.3.0-3build3) ... 110s Removing libpython3.12-minimal:s390x (3.12.9-1) ... 110s Removing linux-headers-6.11.0-8-generic (6.11.0-8.8) ... 110s Removing linux-headers-6.11.0-8 (6.11.0-8.8) ... 111s Removing linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 111s Processing triggers for libc-bin (2.41-1ubuntu1) ... 111s (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 ... 56328 files and directories currently installed.) 111s Purging configuration files for libpython3.12-minimal:s390x (3.12.9-1) ... 111s Purging configuration files for linux-modules-6.11.0-8-generic (6.11.0-8.8) ... 111s autopkgtest [01:46:21]: upgrading testbed (apt dist-upgrade and autopurge) 112s Reading package lists... 112s Building dependency tree... 112s Reading state information... 112s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 112s Starting 2 pkgProblemResolver with broken count: 0 112s Done 112s Entering ResolveByKeep 112s 112s Calculating upgrade... 112s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 113s Reading package lists... 113s Building dependency tree... 113s Reading state information... 113s Starting pkgProblemResolver with broken count: 0 113s Starting 2 pkgProblemResolver with broken count: 0 113s Done 113s Solving dependencies... 113s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 113s autopkgtest [01:46:23]: rebooting testbed after setup commands that affected boot 133s autopkgtest [01:46:43]: testbed running kernel: Linux 6.14.0-10-generic #10-Ubuntu SMP Wed Mar 12 14:53:49 UTC 2025 135s autopkgtest [01:46:45]: @@@@@@@@@@@@@@@@@@@@ apt-source python-pot 137s Get:1 http://ftpmaster.internal/ubuntu plucky/universe python-pot 0.9.5+dfsg-1 (dsc) [2114 B] 137s Get:2 http://ftpmaster.internal/ubuntu plucky/universe python-pot 0.9.5+dfsg-1 (tar) [807 kB] 137s Get:3 http://ftpmaster.internal/ubuntu plucky/universe python-pot 0.9.5+dfsg-1 (diff) [4888 B] 137s gpgv: Signature made Mon Feb 24 10:22:54 2025 UTC 137s gpgv: using RSA key CFC5EF8510851E7355B55E809D11582AFD548CFA 137s gpgv: issuer "gspr@nonempty.org" 137s gpgv: Can't check signature: No public key 137s dpkg-source: warning: cannot verify inline signature for ./python-pot_0.9.5+dfsg-1.dsc: no acceptable signature found 137s autopkgtest [01:46:47]: testing package python-pot version 0.9.5+dfsg-1 137s autopkgtest [01:46:47]: build not needed 138s autopkgtest [01:46:48]: test upstream.sh: preparing testbed 138s Reading package lists... 138s Building dependency tree... 138s Reading state information... 139s Starting pkgProblemResolver with broken count: 0 139s Starting 2 pkgProblemResolver with broken count: 0 139s Done 139s The following NEW packages will be installed: 139s libblas3 libgfortran5 libgomp1 liblapack3 liblbfgsb0 python3-all 139s python3-decorator python3-iniconfig python3-joblib python3-numpy 139s python3-numpy-dev python3-packaging python3-pluggy python3-pot 139s python3-pytest python3-scipy python3-sklearn python3-sklearn-lib 139s python3-threadpoolctl 139s 0 upgraded, 19 newly installed, 0 to remove and 0 not upgraded. 139s Need to get 33.9 MB of archives. 139s After this operation, 145 MB of additional disk space will be used. 139s Get:1 http://ftpmaster.internal/ubuntu plucky/main s390x python3-numpy-dev s390x 1:2.2.3+ds-5 [147 kB] 139s Get:2 http://ftpmaster.internal/ubuntu plucky/main s390x libblas3 s390x 3.12.1-2 [252 kB] 139s Get:3 http://ftpmaster.internal/ubuntu plucky/main s390x libgfortran5 s390x 15-20250222-0ubuntu1 [620 kB] 139s Get:4 http://ftpmaster.internal/ubuntu plucky/main s390x liblapack3 s390x 3.12.1-2 [2971 kB] 140s Get:5 http://ftpmaster.internal/ubuntu plucky/main s390x python3-numpy s390x 1:2.2.3+ds-5 [4396 kB] 140s Get:6 http://ftpmaster.internal/ubuntu plucky/main s390x libgomp1 s390x 15-20250222-0ubuntu1 [152 kB] 140s Get:7 http://ftpmaster.internal/ubuntu plucky/universe s390x liblbfgsb0 s390x 3.0+dfsg.4-1build1 [32.4 kB] 140s Get:8 http://ftpmaster.internal/ubuntu plucky/main s390x python3-all s390x 3.13.2-2 [886 B] 140s Get:9 http://ftpmaster.internal/ubuntu plucky/main s390x python3-decorator all 5.1.1-5 [10.1 kB] 140s Get:10 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 140s Get:11 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-joblib all 1.4.2-3 [205 kB] 140s Get:12 http://ftpmaster.internal/ubuntu plucky/main s390x python3-packaging all 24.2-1 [51.5 kB] 140s Get:13 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 140s Get:14 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-scipy s390x 1.14.1-4ubuntu2 [18.0 MB] 140s Get:15 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pot s390x 0.9.5+dfsg-1 [251 kB] 140s Get:16 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-pytest all 8.3.5-1 [252 kB] 140s Get:17 http://ftpmaster.internal/ubuntu plucky/universe s390x python3-threadpoolctl all 3.1.0-1 [21.3 kB] 140s Get:18 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-sklearn-lib s390x 1.4.2+dfsg-8 [4262 kB] 140s Get:19 http://ftpmaster.internal/ubuntu plucky-proposed/universe s390x python3-sklearn all 1.4.2+dfsg-8 [2258 kB] 141s Fetched 33.9 MB in 1s (23.2 MB/s) 141s Selecting previously unselected package python3-numpy-dev:s390x. 141s (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 ... 56326 files and directories currently installed.) 141s Preparing to unpack .../00-python3-numpy-dev_1%3a2.2.3+ds-5_s390x.deb ... 141s Unpacking python3-numpy-dev:s390x (1:2.2.3+ds-5) ... 141s Selecting previously unselected package libblas3:s390x. 141s Preparing to unpack .../01-libblas3_3.12.1-2_s390x.deb ... 141s Unpacking libblas3:s390x (3.12.1-2) ... 141s Selecting previously unselected package libgfortran5:s390x. 141s Preparing to unpack .../02-libgfortran5_15-20250222-0ubuntu1_s390x.deb ... 141s Unpacking libgfortran5:s390x (15-20250222-0ubuntu1) ... 141s Selecting previously unselected package liblapack3:s390x. 141s Preparing to unpack .../03-liblapack3_3.12.1-2_s390x.deb ... 141s Unpacking liblapack3:s390x (3.12.1-2) ... 141s Selecting previously unselected package python3-numpy. 141s Preparing to unpack .../04-python3-numpy_1%3a2.2.3+ds-5_s390x.deb ... 141s Unpacking python3-numpy (1:2.2.3+ds-5) ... 141s Selecting previously unselected package libgomp1:s390x. 141s Preparing to unpack .../05-libgomp1_15-20250222-0ubuntu1_s390x.deb ... 141s Unpacking libgomp1:s390x (15-20250222-0ubuntu1) ... 141s Selecting previously unselected package liblbfgsb0:s390x. 141s Preparing to unpack .../06-liblbfgsb0_3.0+dfsg.4-1build1_s390x.deb ... 141s Unpacking liblbfgsb0:s390x (3.0+dfsg.4-1build1) ... 141s Selecting previously unselected package python3-all. 141s Preparing to unpack .../07-python3-all_3.13.2-2_s390x.deb ... 141s Unpacking python3-all (3.13.2-2) ... 141s Selecting previously unselected package python3-decorator. 141s Preparing to unpack .../08-python3-decorator_5.1.1-5_all.deb ... 141s Unpacking python3-decorator (5.1.1-5) ... 141s Selecting previously unselected package python3-iniconfig. 141s Preparing to unpack .../09-python3-iniconfig_1.1.1-2_all.deb ... 141s Unpacking python3-iniconfig (1.1.1-2) ... 141s Selecting previously unselected package python3-joblib. 141s Preparing to unpack .../10-python3-joblib_1.4.2-3_all.deb ... 141s Unpacking python3-joblib (1.4.2-3) ... 141s Selecting previously unselected package python3-packaging. 141s Preparing to unpack .../11-python3-packaging_24.2-1_all.deb ... 141s Unpacking python3-packaging (24.2-1) ... 141s Selecting previously unselected package python3-pluggy. 141s Preparing to unpack .../12-python3-pluggy_1.5.0-1_all.deb ... 141s Unpacking python3-pluggy (1.5.0-1) ... 141s Selecting previously unselected package python3-scipy. 141s Preparing to unpack .../13-python3-scipy_1.14.1-4ubuntu2_s390x.deb ... 141s Unpacking python3-scipy (1.14.1-4ubuntu2) ... 141s Selecting previously unselected package python3-pot. 141s Preparing to unpack .../14-python3-pot_0.9.5+dfsg-1_s390x.deb ... 141s Unpacking python3-pot (0.9.5+dfsg-1) ... 141s Selecting previously unselected package python3-pytest. 141s Preparing to unpack .../15-python3-pytest_8.3.5-1_all.deb ... 141s Unpacking python3-pytest (8.3.5-1) ... 141s Selecting previously unselected package python3-threadpoolctl. 141s Preparing to unpack .../16-python3-threadpoolctl_3.1.0-1_all.deb ... 141s Unpacking python3-threadpoolctl (3.1.0-1) ... 141s Selecting previously unselected package python3-sklearn-lib:s390x. 141s Preparing to unpack .../17-python3-sklearn-lib_1.4.2+dfsg-8_s390x.deb ... 141s Unpacking python3-sklearn-lib:s390x (1.4.2+dfsg-8) ... 141s Selecting previously unselected package python3-sklearn. 141s Preparing to unpack .../18-python3-sklearn_1.4.2+dfsg-8_all.deb ... 141s Unpacking python3-sklearn (1.4.2+dfsg-8) ... 142s Setting up python3-iniconfig (1.1.1-2) ... 142s Setting up python3-joblib (1.4.2-3) ... 142s Setting up python3-threadpoolctl (3.1.0-1) ... 142s Setting up python3-all (3.13.2-2) ... 142s Setting up libgomp1:s390x (15-20250222-0ubuntu1) ... 142s Setting up python3-decorator (5.1.1-5) ... 142s Setting up libblas3:s390x (3.12.1-2) ... 142s 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 142s Setting up python3-packaging (24.2-1) ... 142s Setting up python3-numpy-dev:s390x (1:2.2.3+ds-5) ... 142s Setting up libgfortran5:s390x (15-20250222-0ubuntu1) ... 142s Setting up python3-pluggy (1.5.0-1) ... 142s Setting up liblapack3:s390x (3.12.1-2) ... 142s 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 142s Setting up python3-pytest (8.3.5-1) ... 142s Setting up python3-numpy (1:2.2.3+ds-5) ... 144s Setting up liblbfgsb0:s390x (3.0+dfsg.4-1build1) ... 144s Setting up python3-scipy (1.14.1-4ubuntu2) ... 146s Setting up python3-pot (0.9.5+dfsg-1) ... 146s /usr/lib/python3/dist-packages/ot/unbalanced/_lbfgs.py:38: SyntaxWarning: invalid escape sequence '\m' 146s If None, then use :math:`\mathbf{c} = \mathbf{a} \mathbf{b}^T`. 146s Setting up python3-sklearn-lib:s390x (1.4.2+dfsg-8) ... 146s Setting up python3-sklearn (1.4.2+dfsg-8) ... 148s Processing triggers for man-db (2.13.0-1) ... 148s Processing triggers for libc-bin (2.41-1ubuntu1) ... 149s autopkgtest [01:46:59]: test upstream.sh: [----------------------- 149s Running tests with Python 3.13. 151s ============================= test session starts ============================== 151s platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0 151s rootdir: /tmp/autopkgtest.uq0dLB/autopkgtest_tmp 151s plugins: typeguard-4.4.2 151s collected 1006 items 151s 154s test/gromov/test_bregman.py ..x..x............ [ 1%] 154s test/gromov/test_dictionary.py .... [ 2%] 155s test/gromov/test_estimators.py .. [ 2%] 157s test/gromov/test_fugw.py ............................................... [ 7%] 158s ........................................................................ [ 14%] 158s ................ [ 15%] 158s test/gromov/test_gw.py ....s....x....... [ 17%] 158s test/gromov/test_lowrank.py .......... [ 18%] 162s test/gromov/test_partial.py .... [ 18%] 163s test/gromov/test_quantized.py .... [ 19%] 163s test/gromov/test_semirelaxed.py .....x......... [ 20%] 163s test/gromov/test_utils.py ........ [ 21%] 163s test/test_1d_solver.py ...s..s...... [ 22%] 164s test/test_backend.py .......... [ 23%] 167s test/test_bregman.py ......................................sss.......... [ 28%] 171s .....................................ss....ss..ss..s....... [ 34%] 171s test/test_coot.py ......... [ 35%] 172s test/test_da.py .....................s... [ 38%] 172s test/test_dmmot.py .. [ 38%] 172s test/test_dr.py ssssss [ 38%] 173s test/test_factored.py .. [ 39%] 177s test/test_gaussian.py .................. [ 40%] 177s test/test_gmm.py ......s. [ 41%] 177s test/test_gnn.py ssss [ 42%] 179s test/test_lowrank.py ........... [ 43%] 179s test/test_mapping.py sss. [ 43%] 180s test/test_optim.py ...... [ 44%] 180s test/test_ot.py ....s..........s.. [ 46%] 181s test/test_partial.py ...... [ 46%] 181s test/test_plot.py sss [ 46%] 182s test/test_regpath.py .. [ 47%] 182s test/test_sliced.py ...........s..s............. [ 49%] 182s test/test_smooth.py ... [ 50%] 185s test/test_solvers.py .s................................................. [ 55%] 185s .........................ssssssss........ssssssss....................... [ 62%] 188s .ssssssss........ssssssss...ss............. [ 66%] 190s test/test_stochastic.py ......... [ 67%] 191s test/test_ucoot.py ..................................................... [ 72%] 193s ........................................................................ [ 80%] 193s ........ [ 80%] 193s test/test_utils.py .............................. [ 83%] 194s test/test_weak.py .. [ 83%] 200s test/unbalanced/test_lbfgs.py .......................................... [ 88%] 202s ................................. [ 91%] 212s test/unbalanced/test_mm.py .......... [ 92%] 212s test/unbalanced/test_sinkhorn.py ....................................... [ 96%] 215s ..................................... [100%] 215s 215s =============================== warnings summary =============================== 215s test/gromov/test_bregman.py: 12 warnings 215s test/gromov/test_estimators.py: 1 warning 215s test/test_bregman.py: 6 warnings 215s test/test_coot.py: 1 warning 215s test/test_da.py: 4 warnings 215s test/test_optim.py: 1 warning 215s test/test_partial.py: 1 warning 215s /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`. 215s warnings.warn( 215s 215s test/gromov/test_bregman.py::test_BAPG_gromov[numpy] 215s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:585: RuntimeWarning: divide by zero encountered in divide 215s column_scaling = q / nx.sum(T, 0) 215s 215s test/gromov/test_bregman.py::test_BAPG_gromov[numpy] 215s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:586: RuntimeWarning: invalid value encountered in multiply 215s T = nx.reshape(column_scaling, (1, -1)) * T 215s 215s test/gromov/test_bregman.py::test_BAPG_fgw[numpy] 215s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:1597: RuntimeWarning: divide by zero encountered in divide 215s row_scaling = p / nx.sum(T, 1) 215s 215s test/gromov/test_bregman.py::test_BAPG_fgw[numpy] 215s /usr/lib/python3/dist-packages/ot/gromov/_bregman.py:1598: RuntimeWarning: invalid value encountered in multiply 215s T = nx.reshape(row_scaling, (-1, 1)) * T 215s 215s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 215s /usr/lib/python3/dist-packages/ot/backend.py:1168: RuntimeWarning: divide by zero encountered in log 215s return np.log(a) 215s 215s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 215s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:631: RuntimeWarning: divide by zero encountered in divide 215s v = b / KtransposeU 215s 215s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 215s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:631: RuntimeWarning: overflow encountered in divide 215s v = b / KtransposeU 215s 215s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 215s test/gromov/test_bregman.py::test_gromov_entropic_barycenter[numpy] 215s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:643: UserWarning: Warning: numerical errors at iteration 0 215s warnings.warn("Warning: numerical errors at iteration %d" % ii) 215s 215s test/gromov/test_bregman.py::test_entropic_fgw_barycenter[numpy] 215s /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`. 215s warnings.warn( 215s 215s test/gromov/test_bregman.py::test_gromov_entropic_barycenter[numpy] 215s /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`. 215s warnings.warn( 215s 215s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 215s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 215s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 215s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 215s /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.) 215s index[0] = generator.choice(len_p, size=1, p=nx.to_numpy(p)) 215s 215s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 215s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 215s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 215s test/gromov/test_estimators.py::test_pointwise_gromov[numpy] 215s /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.) 215s index[1] = generator.choice(len_q, size=1, p=nx.to_numpy(q)) 215s 215s test/gromov/test_estimators.py: 400 warnings 215s /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.) 215s index[0] = generator.choice(len_p, size=1, p=nx.to_numpy(p)) 215s 215s test/gromov/test_estimators.py: 400 warnings 215s /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.) 215s index[1] = generator.choice( 215s 215s test/gromov/test_fugw.py: 42 warnings 215s /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. 215s warnings.warn( 215s 215s test/gromov/test_fugw.py: 28 warnings 215s test/test_ucoot.py: 28 warnings 215s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:228: UserWarning: Sinkhorn algorithm does not support unregularized problem. Solver is set to 'mm'. 215s warnings.warn( 215s 215s test/gromov/test_fugw.py: 28 warnings 215s test/test_ucoot.py: 32 warnings 215s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:220: UserWarning: Sinkhorn algorithm does not support L2 norm. Divergence is set to 'kl'. 215s warnings.warn( 215s 215s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 215s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 215s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:738: RuntimeWarning: divide by zero encountered in divide 215s u = (a / Kv) ** fi_1 215s 215s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 215s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 215s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:751: UserWarning: Numerical errors at iteration 0 215s warnings.warn("Numerical errors at iteration %s" % i) 215s 215s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 215s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 215s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:410: RuntimeWarning: divide by zero encountered in scalar divide 215s pi_samp = nx.sqrt(mass / nx.sum(pi_samp)) * pi_samp # shape nx x ny 215s 215s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-independent] 215s test/gromov/test_fugw.py::test_fused_unbalanced_across_spaces_divergence_warning[numpy-joint] 215s /usr/lib/python3/dist-packages/ot/gromov/_unbalanced.py:410: RuntimeWarning: invalid value encountered in multiply 215s pi_samp = nx.sqrt(mass / nx.sum(pi_samp)) * pi_samp # shape nx x ny 215s 215s test/gromov/test_gw.py::test_gromov_integer_warnings[numpy] 215s /tmp/autopkgtest.uq0dLB/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. 215s G = ot.gromov.gromov_wasserstein( 215s 215s test/gromov/test_gw.py::test_gromov_integer_warnings[numpy] 215s /tmp/autopkgtest.uq0dLB/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. 215s ot.gromov.gromov_wasserstein( 215s 215s test/gromov/test_gw.py::test_fgw_integer_warnings[numpy] 215s /tmp/autopkgtest.uq0dLB/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. 215s G, log = ot.gromov.fused_gromov_wasserstein( 215s 215s test/gromov/test_gw.py::test_fgw_integer_warnings[numpy] 215s /tmp/autopkgtest.uq0dLB/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. 215s Gb, logb = ot.gromov.fused_gromov_wasserstein( 215s 215s test/gromov/test_lowrank.py::test_lowrank_gromov_wasserstein_samples 215s test/gromov/test_lowrank.py::test_lowrank_wasserstein_samples_gamma_init[theory] 215s /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` 215s warnings.warn( 215s 215s test/gromov/test_partial.py::test_partial_gromov_wasserstein[numpy] 215s /tmp/autopkgtest.uq0dLB/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. 215s res0b, log0b = ot.gromov.partial_gromov_wasserstein( 215s 215s test/gromov/test_quantized.py::test_quantized_gw[numpy] 215s test/gromov/test_quantized.py::test_quantized_gw[numpy] 215s /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. 215s part1 = get_graph_partition( 215s 215s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 215s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 215s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 215s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 215s test/gromov/test_quantized.py::test_quantized_fgw_samples[numpy] 215s /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. 215s part1, rep_indices1 = get_partition_and_representants_samples( 215s 215s test/gromov/test_semirelaxed.py::test_entropic_semirelaxed_gromov_dtype_device[numpy] 215s /usr/lib/python3/dist-packages/ot/gromov/_semirelaxed.py:1008: RuntimeWarning: overflow encountered in divide 215s scaling = p / nx.sum(K, 1) 215s 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s /usr/lib/python3/dist-packages/ot/gromov/_utils.py:775: RuntimeWarning: divide by zero encountered in divide 215s prod = nx.nan_to_num(1.0 / quotient, nan=1.0, posinf=1.0, neginf=1.0) 215s 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s /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 215s semirelaxed_init_plan( 215s 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_gromov_barycenter[numpy] 215s /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 215s G0 = semirelaxed_init_plan( 215s 215s test/gromov/test_semirelaxed.py::test_semirelaxed_fgw_barycenter[numpy] 215s test/gromov/test_semirelaxed.py::test_semirelaxed_fgw_barycenter[numpy] 215s /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 215s semirelaxed_init_plan( 215s 215s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 215s /tmp/autopkgtest.uq0dLB/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 215s T = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 215s 215s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 215s /tmp/autopkgtest.uq0dLB/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 215s Tb = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 215s 215s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 215s /tmp/autopkgtest.uq0dLB/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 215s T = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 215s 215s test/gromov/test_utils.py::test_semirelaxed_init_plan[numpy] 215s /tmp/autopkgtest.uq0dLB/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 215s Tb = ot.gromov.semirelaxed_init_plan(C1b, C1b, p1b, method=method) 215s 215s test/test_bregman.py::test_nan_warning[sinkhorn] 215s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:622: RuntimeWarning: divide by zero encountered in divide 215s K = nx.exp(M / (-reg)) 215s 215s test/test_bregman.py::test_nan_warning[sinkhorn] 215s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:622: RuntimeWarning: invalid value encountered in divide 215s K = nx.exp(M / (-reg)) 215s 215s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 215s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1261: RuntimeWarning: divide by zero encountered in divide 215s return nx.exp(-(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg) 215s 215s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 215s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1261: RuntimeWarning: invalid value encountered in divide 215s return nx.exp(-(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg) 215s 215s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 215s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 215s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1266: RuntimeWarning: divide by zero encountered in divide 215s -(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg 215s 215s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 215s test/test_bregman.py::test_nan_warning[sinkhorn_stabilized] 215s /usr/lib/python3/dist-packages/ot/bregman/_sinkhorn.py:1266: RuntimeWarning: invalid value encountered in divide 215s -(M - alpha.reshape((dim_a, 1)) - beta.reshape((1, dim_b))) / reg 215s 215s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-True-True] 215s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-True-False] 215s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-False-True] 215s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_stabilized-False-False] 215s test/test_bregman.py::test_sinkhorn_variants_dtype_device[numpy-sinkhorn_stabilized] 215s test/test_bregman.py::test_sinkhorn_warmstart 215s /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`. 215s warnings.warn( 215s 215s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-True-True] 215s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-True-False] 215s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-False-True] 215s test/test_bregman.py::test_sinkhorn_multi_b[sinkhorn_log-False-False] 215s test/test_bregman.py::test_sinkhorn_variants_dtype_device[numpy-sinkhorn_log] 215s /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`. 215s warnings.warn( 215s 215s test/test_bregman.py::test_sinkhorn_empty 215s test/test_bregman.py::test_sinkhorn_variants[numpy] 215s test/test_bregman.py::test_sinkhorn_variants_dtype_device[numpy-greenkhorn] 215s test/test_bregman.py::test_sinkhorn_variants_log 215s /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`. 215s warnings.warn( 215s 215s test/test_coot.py::test_coot[numpy-False] 215s test/test_coot.py::test_coot[numpy-True] 215s test/test_coot.py::test_coot[numpy-1] 215s test/test_coot.py::test_coot[numpy-0] 215s test/test_coot.py::test_coot_warmstart[numpy] 215s test/test_coot.py::test_coot_log[numpy] 215s /usr/lib/python3/dist-packages/ot/lp/__init__.py:388: UserWarning: numItermax reached before optimality. Try to increase numItermax. 215s result_code_string = check_result(result_code) 215s 215s test/test_da.py::test_sinkhorn_transport_class[numpy] 215s /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' 215s warnings.warn( 215s 215s test/test_partial.py::test_raise_errors 215s /tmp/autopkgtest.uq0dLB/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. 215s ot.partial.partial_gromov_wasserstein(M, M, p, q, m=2, log=True) 215s 215s test/test_partial.py::test_raise_errors 215s /tmp/autopkgtest.uq0dLB/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. 215s ot.partial.partial_gromov_wasserstein(M, M, p, q, m=-1, log=True) 215s 215s test/test_partial.py::test_raise_errors 215s /tmp/autopkgtest.uq0dLB/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. 215s ot.partial.entropic_partial_gromov_wasserstein(M, M, p, q, reg=1, m=2, log=True) 215s 215s test/test_partial.py::test_raise_errors 215s /tmp/autopkgtest.uq0dLB/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. 215s ot.partial.entropic_partial_gromov_wasserstein( 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /tmp/autopkgtest.uq0dLB/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. 215s res0, log0 = ot.partial.partial_gromov_wasserstein( 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /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. 215s M = 0.5 * gwgrad_partial( 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /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. 215s print("{:5d}|{:8e}|{:8e}".format(cpt, err, gwloss_partial(C1, C2, G0))) 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /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. 215s g = gwgrad_partial(C1, C2, T) * 0.5 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /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. 215s a = gwloss_partial(C1, C2, deltaG) 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /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. 215s log["partial_gw_dist"] = gwloss_partial(C1, C2, G0) 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /tmp/autopkgtest.uq0dLB/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. 215s res0, log0 = ot.partial.partial_gromov_wasserstein(C1, C2, p, q, m=m, log=True) 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /tmp/autopkgtest.uq0dLB/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. 215s res, log = ot.partial.entropic_partial_gromov_wasserstein( 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /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. 215s M_entr = gwgrad_partial(C1, C2, G0) 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /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. 215s loge["partial_gw_dist"] = gwloss_partial(C1, C2, G0) 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /tmp/autopkgtest.uq0dLB/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. 215s w0, log0 = ot.partial.partial_gromov_wasserstein2(C1, C2, p, q, m=m, log=True) 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /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. 215s partial_gw, log_gw = partial_gromov_wasserstein( 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /tmp/autopkgtest.uq0dLB/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. 215s w0_val = ot.partial.partial_gromov_wasserstein2(C1, C2, p, q, m=m, log=False) 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /tmp/autopkgtest.uq0dLB/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. 215s res0, log0 = ot.partial.partial_gromov_wasserstein(C1, C2, p, q, m=m, log=True) 215s 215s test/test_partial.py::test_partial_gromov_wasserstein 215s /tmp/autopkgtest.uq0dLB/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. 215s res, log = ot.partial.entropic_partial_gromov_wasserstein( 215s 215s test/test_regpath.py: 232 warnings 215s /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.) 215s M[-1, -1] = 1 / s 215s 215s test/test_sliced.py::test_sliced_sphere_backend_type_devices[numpy] 215s /usr/lib/python3/dist-packages/ot/lp/solver_1d.py:796: RuntimeWarning: divide by zero encountered in divide 215s (Ctp - Ctm + tm * dCptm - tp * dCmtp) / (dCptm - dCmtp) 215s 215s test/test_sliced.py::test_sliced_sphere_backend_type_devices[numpy] 215s /usr/lib/python3/dist-packages/ot/lp/solver_1d.py:796: RuntimeWarning: invalid value encountered in divide 215s (Ctp - Ctm + tm * dCptm - tp * dCmtp) / (dCptm - dCmtp) 215s 215s test/test_solvers.py::test_solve_grid[numpy-None-tuple-0.9-TV] 215s test/test_solvers.py::test_solve_grid[numpy-1-tuple-0.9-KL] 215s test/test_solvers.py::test_solve_grid[numpy-1-tuple-0.9-L2] 215s test/test_solvers.py::test_solve_grid[numpy-1-tuple-0.9-TV] 215s /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 215s warnings.warn( 215s 215s test/test_ucoot.py: 66 warnings 215s /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 215s warnings.warn( 215s 215s test/test_ucoot.py: 96 warnings 215s /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. 215s warnings.warn( 215s 215s test/test_ucoot.py: 96 warnings 215s /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. 215s warnings.warn( 215s 215s test/unbalanced/test_sinkhorn.py: 10 warnings 215s /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. 215s warnings.warn( 215s 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_convergence[numpy-sinkhorn_stabilized-entropy] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_marginals[numpy-sinkhorn_stabilized-entropy] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_warmstart[numpy-sinkhorn_stabilized-entropy] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_reference_measure[numpy-sinkhorn_stabilized-entropy] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_multiple_inputs[numpy-sinkhorn_stabilized] 215s /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. 215s warnings.warn( 215s 215s test/unbalanced/test_sinkhorn.py: 15 warnings 215s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:225: UserWarning: Method not implemented yet. Using classic Sinkhorn-Knopp 215s warnings.warn("Method not implemented yet. Using classic Sinkhorn-Knopp") 215s 215s test/unbalanced/test_sinkhorn.py: 11 warnings 215s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:445: UserWarning: Method not implemented yet. Using classic Sinkhorn-Knopp 215s warnings.warn("Method not implemented yet. Using classic Sinkhorn-Knopp") 215s 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_convergence[numpy-sinkhorn_translation_invariant-entropy] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_marginals[numpy-sinkhorn_translation_invariant-entropy] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_warmstart[numpy-sinkhorn_translation_invariant-entropy] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_reference_measure[numpy-sinkhorn_translation_invariant-entropy] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_multiple_inputs[numpy-sinkhorn_translation_invariant] 215s /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. 215s warnings.warn( 215s 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn-inf] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_reg_scaling-inf] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn-inf-inf] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_reg_scaling-inf-inf] 215s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:740: RuntimeWarning: overflow encountered in divide 215s v = (b / Ktu) ** fi_2 215s 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn-inf] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_reg_scaling-inf] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn-inf-inf] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_reg_scaling-inf-inf] 215s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:751: UserWarning: Numerical errors at iteration 180 215s warnings.warn("Numerical errors at iteration %s" % i) 215s 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_stabilized-inf] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_stabilized-inf-inf] 215s /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`. 215s warnings.warn( 215s 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 215s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1330: RuntimeWarning: overflow encountered in divide 215s v = v_ / t 215s 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 215s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1335: RuntimeWarning: invalid value encountered in scalar divide 215s err_v = nx.max(nx.abs(v - vprev)) / max( 215s 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 215s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1308: RuntimeWarning: overflow encountered in divide 215s v_hat = (b / Ktu) ** fi_2 * nx.sum(a * u_ ** (-reg_ratio1)) ** k_rho1 215s 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters[numpy-sinkhorn_translation_invariant-inf] 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_relaxation_parameters_pair[numpy-sinkhorn_translation_invariant-inf-inf] 215s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1320: UserWarning: Numerical errors at iteration 180 215s warnings.warn("Numerical errors at iteration %s" % i) 215s 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_multiple_inputs[numpy-sinkhorn_reg_scaling] 215s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:532: UserWarning: Method not implemented yet. Using classic Sinkhorn-Knopp 215s warnings.warn("Method not implemented yet. Using classic Sinkhorn-Knopp") 215s 215s test/unbalanced/test_sinkhorn.py::test_stabilized_vs_sinkhorn[numpy] 215s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:478: UserWarning: Reg_type not implemented yet. Use entropy. 215s warnings.warn("Reg_type not implemented yet. Use entropy.") 215s 215s test/unbalanced/test_sinkhorn.py::test_unbalanced_barycenter[numpy-sinkhorn_reg_scaling] 215s /usr/lib/python3/dist-packages/ot/unbalanced/_sinkhorn.py:1787: UserWarning: Method not implemented yet. Using classic Sinkhorn Knopp 215s warnings.warn("Method not implemented yet. Using classic Sinkhorn Knopp") 215s 215s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 215s ========= 932 passed, 70 skipped, 4 xfailed, 1663 warnings in -20.89s ========== 215s RUNNING THE L-BFGS-B CODE 215s 215s * * * 215s 215s Machine precision = 2.220D-16 215s N = 10000 M = 10 215s 215s At X0 0 variables are exactly at the bounds 215s 215s At iterate 0 f= 1.10084D-01 |proj g|= 1.00000D-04 215s 215s At iterate 1 f= 1.09797D-01 |proj g|= 1.05303D-01 215s 215s At iterate 2 f= 1.09299D-01 |proj g|= 2.83752D-01 215s 215s At iterate 3 f= 1.08063D-01 |proj g|= 6.49712D-01 215s 215s At iterate 4 f= 1.07132D-01 |proj g|= 5.79414D-01 215s 215s At iterate 5 f= 1.06557D-01 |proj g|= 6.02375D-02 215s 215s At iterate 6 f= 1.06546D-01 |proj g|= 3.02192D-02 215s 215s At iterate 7 f= 1.06538D-01 |proj g|= 3.38809D-02 215s 215s At iterate 8 f= 1.06538D-01 |proj g|= 3.58199D-02 215s 215s At iterate 9 f= 1.06536D-01 |proj g|= 2.56667D-02 215s 215s At iterate 10 f= 1.06536D-01 |proj g|= 1.00124D-02 215s 215s At iterate 11 f= 1.06536D-01 |proj g|= 3.99251D-03 215s 215s At iterate 12 f= 1.06536D-01 |proj g|= 2.94257D-03 215s 215s At iterate 13 f= 1.06536D-01 |proj g|= 2.69681D-03 215s 215s At iterate 14 f= 1.06536D-01 |proj g|= 1.58971D-03 215s 215s At iterate 15 f= 1.06536D-01 |proj g|= 1.36983D-03 215s 215s At iterate 16 f= 1.06536D-01 |proj g|= 1.27633D-03 215s 215s At iterate 17 f= 1.06536D-01 |proj g|= 1.16164D-03 215s 215s At iterate 18 f= 1.06536D-01 |proj g|= 6.38270D-04 215s 215s At iterate 19 f= 1.06536D-01 |proj g|= 2.87351D-04 215s 215s At iterate 20 f= 1.06536D-01 |proj g|= 1.30247D-04 215s 215s At iterate 21 f= 1.06536D-01 |proj g|= 7.57682D-05 215s 215s At iterate 22 f= 1.06536D-01 |proj g|= 4.24380D-05 215s 215s At iterate 23 f= 1.06536D-01 |proj g|= 4.93282D-05 215s 215s At iterate 24 f= 1.06536D-01 |proj g|= 3.46963D-05 215s 215s At iterate 25 f= 1.06536D-01 |proj g|= 2.27227D-05 215s 215s At iterate 26 f= 1.06536D-01 |proj g|= 1.25669D-05 215s 215s At iterate 27 f= 1.06536D-01 |proj g|= 9.05916D-06 215s 215s At iterate 28 f= 1.06536D-01 |proj g|= 7.67561D-06 215s 215s At iterate 29 f= 1.06536D-01 |proj g|= 5.49803D-06 215s 215s At iterate 30 f= 1.06536D-01 |proj g|= 3.17098D-06 215s 215s At iterate 31 f= 1.06536D-01 |proj g|= 1.24157D-06 215s 215s At iterate 32 f= 1.06536D-01 |proj g|= 8.22932D-07 215s 215s * * * 215s 215s Tit = total number of iterations 215s Tnf = total number of function evaluations 215s Tnint = total number of segments explored during Cauchy searches 215s Skip = number of BFGS updates skipped 215s Nact = number of active bounds at final generalized Cauchy point 215s Projg = norm of the final projected gradient 215s F = final function value 215s 215s * * * 215s 215s N Tit Tnf Tnint Skip Nact Projg F 215s 10000 32 37 10025 0 0 8.229D-07 1.065D-01 215s F = 0.10653579082117086 215s 215s CONVERGENCE: REL_REDUCTION_OF_F_<=_FACTR*EPSMCH 215s ********** 215s autopkgtest [01:48:05]: test upstream.sh: -----------------------] 216s autopkgtest [01:48:06]: test upstream.sh: - - - - - - - - - - results - - - - - - - - - - 216s upstream.sh PASS 216s autopkgtest [01:48:06]: @@@@@@@@@@@@@@@@@@@@ summary 216s upstream.sh PASS 235s nova [W] Using flock in prodstack6-s390x 235s Creating nova instance adt-plucky-s390x-python-pot-20250316-014430-juju-7f2275-prod-proposed-migration-environment-2-502da87c-a6bc-4647-a031-ede1e7e3a675 from image adt/ubuntu-plucky-s390x-server-20250315.img (UUID 3d3557fa-fd0f-4bba-9b89-8d5964e09f61)... 235s nova [W] Timed out waiting for 692cce55-7a46-4c6d-8c6e-6d1b13b92fd8 to get deleted.