0s autopkgtest [19:37:30]: starting date and time: 2026-01-23 19:37:30+0000 0s autopkgtest [19:37:30]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [19:37:30]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.dbba2xh6/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade python-memory-profiler --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3-defaults/3.14.2-1 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-s390x-9.secgroup --name adt-resolute-s390x-python-memory-profiler-20260123-193729-juju-7f2275-prod-proposed-migration-environment-15-8215ccf0-4df2-42bb-a74c-b426ec534c64 --image adt/ubuntu-resolute-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-s390x-python-memory-profiler-20260123-193729-juju-7f2275-prod-proposed-migration-environment-15-8215ccf0-4df2-42bb-a74c-b426ec534c64 from image adt/ubuntu-resolute-s390x-server-20260123.img (UUID 5f2e306c-5dfc-4ef6-8be2-414f657c7562)... 84s autopkgtest [19:38:54]: testbed dpkg architecture: s390x 84s autopkgtest [19:38:54]: testbed apt version: 3.1.13 85s autopkgtest [19:38:55]: @@@@@@@@@@@@@@@@@@@@ test bed setup 85s autopkgtest [19:38:55]: testbed release detected to be: None 86s autopkgtest [19:38:56]: updating testbed package index (apt update) 86s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 87s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 87s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 87s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 87s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [97.3 kB] 87s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [23.6 kB] 87s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1018 kB] 87s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 87s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x Packages [109 kB] 87s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe s390x Packages [837 kB] 87s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse s390x Packages [9152 B] 88s Fetched 2221 kB in 2s (1313 kB/s) 92s Reading package lists... 93s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 93s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 93s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 93s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 96s Reading package lists... 96s Reading package lists... 97s Building dependency tree... 97s Reading state information... 98s Calculating upgrade... 99s The following packages were automatically installed and are no longer required: 99s python3.13 python3.13-minimal 99s Use 'sudo apt autoremove' to remove them. 99s The following NEW packages will be installed: 99s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 99s The following packages will be upgraded: 99s libplymouth5 libpython3-stdlib libtasn1-6 plymouth 99s plymouth-theme-ubuntu-text python3 python3-gdbm python3-jaraco.context 99s python3-minimal 100s 9 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 100s Need to get 7066 kB of archives. 100s After this operation, 24.3 MB of additional disk space will be used. 100s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x libpython3.14-minimal s390x 3.14.2-1 [917 kB] 100s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x python3.14-minimal s390x 3.14.2-1 [2510 kB] 100s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-minimal s390x 3.14.2-1 [28.2 kB] 100s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3 s390x 3.14.2-1 [22.9 kB] 100s Get:5 http://ftpmaster.internal/ubuntu resolute/main s390x libpython3.14-stdlib s390x 3.14.2-1 [2373 kB] 100s Get:6 http://ftpmaster.internal/ubuntu resolute/main s390x python3.14 s390x 3.14.2-1 [816 kB] 100s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x libpython3-stdlib s390x 3.14.2-1 [10.9 kB] 100s Get:8 http://ftpmaster.internal/ubuntu resolute/main s390x libtasn1-6 s390x 4.21.0-2 [48.6 kB] 100s Get:9 http://ftpmaster.internal/ubuntu resolute/main s390x libplymouth5 s390x 24.004.60+git20250831.4a3c171d-0ubuntu5 [159 kB] 100s Get:10 http://ftpmaster.internal/ubuntu resolute/main s390x plymouth-theme-ubuntu-text s390x 24.004.60+git20250831.4a3c171d-0ubuntu5 [10.2 kB] 100s Get:11 http://ftpmaster.internal/ubuntu resolute/main s390x plymouth s390x 24.004.60+git20250831.4a3c171d-0ubuntu5 [152 kB] 100s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-gdbm s390x 3.14.2-1 [11.1 kB] 100s Get:13 http://ftpmaster.internal/ubuntu resolute/main s390x python3-jaraco.context all 6.0.1-2 [8198 B] 102s dpkg-preconfigure: unable to re-open stdin: No such file or directory 102s Fetched 7066 kB in 1s (10.5 MB/s) 102s Selecting previously unselected package libpython3.14-minimal:s390x. 102s (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 ... 87685 files and directories currently installed.) 102s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_s390x.deb ... 102s Unpacking libpython3.14-minimal:s390x (3.14.2-1) ... 102s Selecting previously unselected package python3.14-minimal. 102s Preparing to unpack .../python3.14-minimal_3.14.2-1_s390x.deb ... 103s Unpacking python3.14-minimal (3.14.2-1) ... 103s Setting up libpython3.14-minimal:s390x (3.14.2-1) ... 103s Setting up python3.14-minimal (3.14.2-1) ... 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 ... 88027 files and directories currently installed.) 111s Preparing to unpack .../python3-minimal_3.14.2-1_s390x.deb ... 111s Unpacking python3-minimal (3.14.2-1) over (3.13.9-3) ... 111s Setting up python3-minimal (3.14.2-1) ... 113s (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 ... 88027 files and directories currently installed.) 113s Preparing to unpack .../0-python3_3.14.2-1_s390x.deb ... 113s running python pre-rtupdate hooks for python3.14... 113s Unpacking python3 (3.14.2-1) over (3.13.9-3) ... 114s Selecting previously unselected package libpython3.14-stdlib:s390x. 114s Preparing to unpack .../1-libpython3.14-stdlib_3.14.2-1_s390x.deb ... 114s Unpacking libpython3.14-stdlib:s390x (3.14.2-1) ... 115s Selecting previously unselected package python3.14. 115s Preparing to unpack .../2-python3.14_3.14.2-1_s390x.deb ... 115s Unpacking python3.14 (3.14.2-1) ... 115s Preparing to unpack .../3-libpython3-stdlib_3.14.2-1_s390x.deb ... 115s Unpacking libpython3-stdlib:s390x (3.14.2-1) over (3.13.9-3) ... 115s Preparing to unpack .../4-libtasn1-6_4.21.0-2_s390x.deb ... 115s Unpacking libtasn1-6:s390x (4.21.0-2) over (4.20.0-2ubuntu1) ... 115s Preparing to unpack .../5-libplymouth5_24.004.60+git20250831.4a3c171d-0ubuntu5_s390x.deb ... 115s Unpacking libplymouth5:s390x (24.004.60+git20250831.4a3c171d-0ubuntu5) over (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 115s Preparing to unpack .../6-plymouth-theme-ubuntu-text_24.004.60+git20250831.4a3c171d-0ubuntu5_s390x.deb ... 115s Unpacking plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu5) over (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 115s Preparing to unpack .../7-plymouth_24.004.60+git20250831.4a3c171d-0ubuntu5_s390x.deb ... 116s Unpacking plymouth (24.004.60+git20250831.4a3c171d-0ubuntu5) over (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 116s Preparing to unpack .../8-python3-gdbm_3.14.2-1_s390x.deb ... 116s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-3) ... 116s Preparing to unpack .../9-python3-jaraco.context_6.0.1-2_all.deb ... 116s Unpacking python3-jaraco.context (6.0.1-2) over (6.0.1-1build1) ... 116s Setting up libpython3.14-stdlib:s390x (3.14.2-1) ... 116s Setting up libplymouth5:s390x (24.004.60+git20250831.4a3c171d-0ubuntu5) ... 117s Setting up libtasn1-6:s390x (4.21.0-2) ... 117s Setting up python3.14 (3.14.2-1) ... 121s Setting up libpython3-stdlib:s390x (3.14.2-1) ... 121s Setting up python3-gdbm (3.14.2-1) ... 121s Setting up plymouth (24.004.60+git20250831.4a3c171d-0ubuntu5) ... 121s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 122s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 123s Setting up python3 (3.14.2-1) ... 123s running python rtupdate hooks for python3.14... 123s running python post-rtupdate hooks for python3.14... 123s Setting up python3-jaraco.context (6.0.1-2) ... 124s Processing triggers for libc-bin (2.42-2ubuntu4) ... 124s Processing triggers for systemd (259-1ubuntu2) ... 125s Processing triggers for man-db (2.13.1-1) ... 129s Processing triggers for initramfs-tools (0.150ubuntu7) ... 129s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 149s Using config file '/etc/zipl.conf' 149s Building bootmap in '/boot' 149s Adding IPL section 'ubuntu' (default) 150s Preparing boot device: vda. 150s Done. 150s Setting up plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu5) ... 150s Processing triggers for initramfs-tools (0.150ubuntu7) ... 150s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 168s Using config file '/etc/zipl.conf' 168s Building bootmap in '/boot' 168s Adding IPL section 'ubuntu' (default) 168s Preparing boot device: vda. 168s Done. 169s autopkgtest [19:40:19]: upgrading testbed (apt dist-upgrade and autopurge) 169s Reading package lists... 169s Building dependency tree... 169s Reading state information... 169s Calculating upgrade... 170s The following packages were automatically installed and are no longer required: 170s python3.13 python3.13-minimal 170s Use 'sudo apt autoremove' to remove them. 170s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 170s Reading package lists... 171s Building dependency tree... 171s Reading state information... 172s Solving dependencies... 172s The following packages will be REMOVED: 172s python3.13* python3.13-minimal* 173s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 173s After this operation, 8012 kB disk space will be freed. 173s (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 ... 88454 files and directories currently installed.) 173s Removing python3.13 (3.13.11-1) ... 174s Removing python3.13-minimal (3.13.11-1) ... 177s Processing triggers for man-db (2.13.1-1) ... 179s Processing triggers for systemd (259-1ubuntu2) ... 179s (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 ... 88427 files and directories currently installed.) 179s Purging configuration files for python3.13-minimal (3.13.11-1) ... 180s autopkgtest [19:40:30]: rebooting testbed after setup commands that affected boot 229s autopkgtest [19:41:19]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP Mon Jan 12 15:39:23 UTC 2026 234s autopkgtest [19:41:24]: @@@@@@@@@@@@@@@@@@@@ apt-source python-memory-profiler 236s Get:1 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (dsc) [2268 B] 236s Get:2 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (tar) [145 kB] 236s Get:3 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (diff) [4752 B] 236s gpgv: Signature made Sat Dec 7 20:26:18 2024 UTC 236s gpgv: using RSA key AB6B1DBEB0342F27571DED6AB26614B452F446B6 236s gpgv: issuer "mitya57@debian.org" 236s gpgv: Can't check signature: No public key 236s dpkg-source: warning: cannot verify inline signature for ./python-memory-profiler_0.61-2.dsc: no acceptable signature found 237s autopkgtest [19:41:27]: testing package python-memory-profiler version 0.61-2 237s autopkgtest [19:41:27]: build not needed 238s autopkgtest [19:41:28]: test command1: preparing testbed 238s Reading package lists... 239s Building dependency tree... 239s Reading state information... 239s Solving dependencies... 239s The following NEW packages will be installed: 239s python3-all python3-memory-profiler python3-psutil python3.13 239s python3.13-minimal 240s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 240s Need to get 3394 kB of archives. 240s After this operation, 9294 kB of additional disk space will be used. 240s Get:1 http://ftpmaster.internal/ubuntu resolute/main s390x python3.13-minimal s390x 3.13.11-1 [2405 kB] 240s Get:2 http://ftpmaster.internal/ubuntu resolute/main s390x python3.13 s390x 3.13.11-1 [758 kB] 240s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main s390x python3-all s390x 3.14.2-1 [890 B] 240s Get:4 http://ftpmaster.internal/ubuntu resolute/main s390x python3-psutil s390x 7.1.0-1ubuntu1 [191 kB] 240s Get:5 http://ftpmaster.internal/ubuntu resolute/universe s390x python3-memory-profiler all 0.61-2 [39.7 kB] 241s Fetched 3394 kB in 1s (5971 kB/s) 241s Selecting previously unselected package python3.13-minimal. 241s (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 ... 88429 files and directories currently installed.) 241s Preparing to unpack .../python3.13-minimal_3.13.11-1_s390x.deb ... 241s Unpacking python3.13-minimal (3.13.11-1) ... 241s Selecting previously unselected package python3.13. 241s Preparing to unpack .../python3.13_3.13.11-1_s390x.deb ... 241s Unpacking python3.13 (3.13.11-1) ... 241s Selecting previously unselected package python3-all. 241s Preparing to unpack .../python3-all_3.14.2-1_s390x.deb ... 241s Unpacking python3-all (3.14.2-1) ... 241s Selecting previously unselected package python3-psutil. 241s Preparing to unpack .../python3-psutil_7.1.0-1ubuntu1_s390x.deb ... 241s Unpacking python3-psutil (7.1.0-1ubuntu1) ... 241s Selecting previously unselected package python3-memory-profiler. 241s Preparing to unpack .../python3-memory-profiler_0.61-2_all.deb ... 241s Unpacking python3-memory-profiler (0.61-2) ... 241s Setting up python3-psutil (7.1.0-1ubuntu1) ... 243s Setting up python3.13-minimal (3.13.11-1) ... 247s Setting up python3-memory-profiler (0.61-2) ... 248s Setting up python3.13 (3.13.11-1) ... 253s Setting up python3-all (3.14.2-1) ... 253s Processing triggers for man-db (2.13.1-1) ... 255s Processing triggers for systemd (259-1ubuntu2) ... 257s autopkgtest [19:41:47]: test command1: set -e ; cp -r test/ Makefile "$AUTOPKGTEST_TMP" ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; PYTHON=$py make test ; done 257s autopkgtest [19:41:47]: test command1: [----------------------- 257s Testing with python3.13: 257s python3.13 -m memory_profiler test/test_func.py 259s Filename: test/test_func.py 259s 259s Line # Mem usage Increment Occurrences Line Contents 259s ============================================================= 259s 2 21.727 MiB 21.727 MiB 2 @profile 259s 3 def test_1(i): 259s 4 # .. will be called twice .. 259s 5 21.727 MiB 0.000 MiB 2 c = {} 259s 6 22.566 MiB 0.000 MiB 10012 for i in range(i): 259s 7 22.566 MiB 0.840 MiB 10010 c[i] = 2 259s 259s 259s python3.13 -m memory_profiler test/test_loop.py 262s Filename: test/test_loop.py 262s 262s Line # Mem usage Increment Occurrences Line Contents 262s ============================================================= 262s 11 22.590 MiB 22.590 MiB 1 @profile 262s 12 def test_2(): 262s 13 30.223 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 262s 14 182.812 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 262s 15 30.223 MiB -152.590 MiB 1 del b 262s 16 262s 17 30.223 MiB -0.262 MiB 3 for i in range(2): 262s 18 30.223 MiB -0.262 MiB 2 a = [1] * (10 ** 6) 262s 19 182.812 MiB 304.918 MiB 2 b = [2] * (2 * 10 ** 7) 262s 20 30.223 MiB -305.441 MiB 2 del b 262s 21 29.961 MiB -0.262 MiB 1 return a 262s 262s 262s python3.13 -m memory_profiler test/test_mprofile.py 265s Filename: test/test_mprofile.py 265s 265s Line # Mem usage Increment Occurrences Line Contents 265s ============================================================= 265s 5 21.762 MiB 21.762 MiB 1 @profile 265s 6 def test1(l): 265s 7 """test1 docstring""" 265s 8 22.531 MiB 0.770 MiB 1 a = [1] * l 265s 9 22.531 MiB 0.000 MiB 1 time.sleep(1) 265s 10 22.531 MiB 0.000 MiB 1 return a 265s 265s 265s Filename: test/test_mprofile.py 265s 265s Line # Mem usage Increment Occurrences Line Contents 265s ============================================================= 265s 12 21.766 MiB 21.766 MiB 1 @profile 265s 13 def test2(l): 265s 14 23.293 MiB 1.527 MiB 1 b = [1] * l 265s 15 23.293 MiB 0.000 MiB 1 time.sleep(1) 265s 16 23.293 MiB 0.000 MiB 1 return b 265s 265s 265s python3.13 -m memory_profiler test/test_as.py 265s Filename: test/test_as.py 265s 265s Line # Mem usage Increment Occurrences Line Contents 265s ============================================================= 265s 3 21.715 MiB 21.715 MiB 1 @profile 265s 4 def f(): 265s 5 21.715 MiB 0.000 MiB 1 o = math.sqrt(2013) 265s 6 21.715 MiB 0.000 MiB 1 return o 265s 265s 265s python3.13 -m memory_profiler test/test_global.py 266s python3.13 -m memory_profiler test/test_precision_command_line.py 272s Filename: test/test_precision_command_line.py 272s 272s Line # Mem usage Increment Occurrences Line Contents 272s ============================================================= 272s 11 21.762 MiB 21.762 MiB 1 @profile(precision=4) 272s 12 def test_1(): 272s 13 29.395 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 272s 14 181.984 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 272s 15 181.984 MiB 0.000 MiB 1 time.sleep(0.6) 272s 16 29.395 MiB -152.590 MiB 1 del b 272s 17 272s 18 29.395 MiB -0.023 MiB 3 for i in range(2): 272s 19 29.395 MiB -0.027 MiB 2 a = [1] * (10 ** 6) 272s 20 181.984 MiB 305.156 MiB 2 b = [2] * (2 * 10 ** 7) 272s 21 29.395 MiB -305.203 MiB 2 del b 272s 22 29.371 MiB -0.023 MiB 1 return a 272s 272s 272s Filename: test/test_precision_command_line.py 272s 272s Line # Mem usage Increment Occurrences Line Contents 272s ============================================================= 272s 24 29.375 MiB 29.375 MiB 1 @profile(precision=2) 272s 25 def test_2(): 272s 26 29.375 MiB 0.000 MiB 1 a = {} 272s 27 29.375 MiB 0.000 MiB 1 time.sleep(0.5) 272s 28 29.980 MiB 0.000 MiB 10001 for i in range(10000): 272s 29 29.980 MiB 0.605 MiB 10000 a[i] = i + 1 272s 30 29.980 MiB 0.000 MiB 1 time.sleep(0.6) 272s 31 29.980 MiB 0.000 MiB 1 return 272s 272s 272s python3.13 -m memory_profiler test/test_gen.py 273s Filename: test/test_gen.py 273s 273s Line # Mem usage Increment Occurrences Line Contents 273s ============================================================= 273s 2 21.859 MiB 21.859 MiB 1 @profile 273s 3 def my_func(): 273s 4 29.492 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 273s 5 182.082 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 273s 6 29.492 MiB -152.590 MiB 1 del b 273s 7 29.492 MiB 0.000 MiB 1 yield a 273s 273s 273s Filename: test/test_gen.py 273s 273s Line # Mem usage Increment Occurrences Line Contents 273s ============================================================= 273s 10 21.859 MiB 21.859 MiB 1 @profile 273s 11 def test_comprehension(): 273s 12 # Dict comprehension 273s 13 33.805 MiB 11.945 MiB 28 d_comp = dict((str(k*k), [v] * (1<<17)) 273s 14 33.805 MiB 0.000 MiB 14 for (v, k) in enumerate(range(99, 111))) 273s 15 273s 16 # List comprehension 273s 17 52.727 MiB 18.922 MiB 100 l_comp = [[i] * (i<<9) for i in range(99)] 273s 18 36.941 MiB -15.785 MiB 1 del l_comp 273s 19 36.941 MiB 0.000 MiB 1 del d_comp 273s 20 273s 21 36.941 MiB 0.000 MiB 4 def hh(x=1): 273s 22 # Set comprehension 273s 23 56.500 MiB 19.559 MiB 135 s_comp = set(('Z',) * (k<<13) for k in range(x, 19 + 2*x)) 273s 24 56.500 MiB 0.000 MiB 3 return s_comp 273s 25 273s 26 36.941 MiB 0.000 MiB 1 val = [range(1, 4), max(1, 4), 42 + len(hh())] 273s 27 56.500 MiB 0.000 MiB 1 val = hh() | hh(4) 273s 28 56.500 MiB 0.000 MiB 1 val.add(40) 273s 29 62.793 MiB 6.293 MiB 100 l1_comp = [[(1, i)] * (i<<9) for i in range(99)] 273s 30 81.609 MiB 18.816 MiB 100 l2_comp = [[(3, i)] * (i<<9) for i in range(99)] 273s 31 273s 32 81.609 MiB 0.000 MiB 1 return val 273s 273s 273s Filename: test/test_gen.py 273s 273s Line # Mem usage Increment Occurrences Line Contents 273s ============================================================= 273s 35 21.859 MiB 21.859 MiB 1 @profile 273s 36 def test_generator(): 273s 37 45.871 MiB 24.012 MiB 9 a_gen = ([42] * (1<<20) for __ in '123') 273s 38 45.871 MiB 0.000 MiB 1 huge_lst = list(a_gen) 273s 39 273s 40 45.871 MiB 0.000 MiB 1 b_gen = ([24] * (1<<20) for __ in '123') 273s 41 45.871 MiB 0.000 MiB 1 del b_gen 273s 42 21.859 MiB -24.012 MiB 1 del huge_lst 273s 43 273s 44 21.859 MiB 0.000 MiB 1 return a_gen 273s 273s 273s python3.13 -m memory_profiler test/test_unicode.py 274s Filename: test/test_unicode.py 274s 274s Line # Mem usage Increment Occurrences Line Contents 274s ============================================================= 274s 2 21.719 MiB 21.719 MiB 1 @profile 274s 3 def test_unicode(txt): 274s 4 # test when unicode is present 274s 5 21.719 MiB 0.000 MiB 1 txt = txt.replace (u"ی", u"ي") #Arabic Yah = ي 274s 6 21.719 MiB 0.000 MiB 1 return txt 274s 274s 274s python3.13 test/test_tracemalloc.py 282s python3.13 test/test_import.py 283s Filename: /tmp/autopkgtest.mcQQVn/autopkgtest_tmp/test/test_import.py 283s 283s Line # Mem usage Increment Occurrences Line Contents 283s ============================================================= 283s 4 20.8 MiB 20.8 MiB 1 @profile 283s 5 def my_func(): 283s 6 28.4 MiB 7.6 MiB 1 a = [1] * (10 ** 6) 283s 7 181.0 MiB 152.6 MiB 1 b = [2] * (2 * 10 ** 7) 283s 8 28.4 MiB -152.6 MiB 1 del b 283s 9 28.4 MiB 0.0 MiB 1 return a 283s 283s 283s python3.13 test/test_memory_usage.py 285s python3.13 test/test_precision_import.py 290s Filename: /tmp/autopkgtest.mcQQVn/autopkgtest_tmp/test/test_precision_import.py 290s 290s Line # Mem usage Increment Occurrences Line Contents 290s ============================================================= 290s 13 20.8477 MiB 20.8477 MiB 1 @profile(precision=4) 290s 14 def test_1(): 290s 15 28.4805 MiB 7.6328 MiB 1 a = [1] * (10 ** 6) 290s 16 181.0703 MiB 152.5898 MiB 1 b = [2] * (2 * 10 ** 7) 290s 17 181.0703 MiB 0.0000 MiB 1 time.sleep(0.6) 290s 18 28.4805 MiB -152.5898 MiB 1 del b 290s 19 290s 20 28.4805 MiB 0.0000 MiB 3 for i in range(2): 290s 21 28.4805 MiB 0.0000 MiB 2 a = [1] * (10 ** 6) 290s 22 181.0703 MiB 305.1797 MiB 2 b = [2] * (2 * 10 ** 7) 290s 23 28.4805 MiB -305.1797 MiB 2 del b 290s 24 28.4805 MiB 0.0000 MiB 1 return a 290s 290s 290s Filename: /tmp/autopkgtest.mcQQVn/autopkgtest_tmp/test/test_precision_import.py 290s 290s Line # Mem usage Increment Occurrences Line Contents 290s ============================================================= 290s 26 28.66797 MiB 28.66797 MiB 1 @profile(precision=5) 290s 27 def test_2(): 290s 28 28.66797 MiB 0.00000 MiB 1 a = {} 290s 29 28.66797 MiB 0.00000 MiB 1 time.sleep(0.5) 290s 30 29.28125 MiB 0.00391 MiB 10001 for i in range(10000): 290s 31 29.28125 MiB 0.60938 MiB 10000 a[i] = i + 1 290s 32 29.28125 MiB 0.00000 MiB 1 time.sleep(0.6) 290s 33 29.28125 MiB 0.00000 MiB 1 return 290s 290s 290s python3.13 test/test_exception.py 291s Success 291s python3.13 test/test_exit_code.py 292s Traceback (most recent call last): 292s File "", line 198, in _run_module_as_main 292s File "", line 88, in _run_code 292s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1348, in 292s exec_with_profiler(script_filename, prof, args.backend, script_args) 292s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 292s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1249, in exec_with_profiler 292s exec(compile(f.read(), filename, 'exec'), ns, ns) 292s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 292s File "/tmp/tmpc32u6vzp.py", line 1, in 292s raise RuntimeError('I am not working nicely') 292s RuntimeError: I am not working nicely 292s ERROR:mprof:Program resulted with a non-zero exit code: 1 292s ..Traceback (most recent call last): 292s File "", line 198, in _run_module_as_main 292s File "", line 88, in _run_code 292s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1348, in 292s exec_with_profiler(script_filename, prof, args.backend, script_args) 292s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 292s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1249, in exec_with_profiler 292s exec(compile(f.read(), filename, 'exec'), ns, ns) 292s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 292s File "/tmp/tmp7qluyrm4.py", line 1, in 292s raise RuntimeError('I am not working nicely') 292s RuntimeError: I am not working nicely 292s : Sampling memory every 0.1s 292s running new process 292s running as a Python program... 292s : Sampling memory every 0.1s 292s running new process 292s running as a Python program... 292s : Sampling memory every 0.1s 292s running new process 292s running as a Python program... 292s . 292s ---------------------------------------------------------------------- 292s Ran 3 tests in 1.570s 292s 292s OK 292s python3.13 test/test_mprof.py 292s . 292s ---------------------------------------------------------------------- 292s Ran 1 test in 0.000s 292s 292s OK 293s python3.13 test/test_async.py 294s Filename: /tmp/autopkgtest.mcQQVn/autopkgtest_tmp/test/test_async.py 294s 294s Line # Mem usage Increment Occurrences Line Contents 294s ============================================================= 294s 7 21.0 MiB 21.0 MiB 1 @profile 294s 8 async def my_func(): 294s 9 28.6 MiB 7.6 MiB 1 a = [1] * (10 ** 6) 294s 10 181.2 MiB 152.6 MiB 1 b = [2] * (2 * 10 ** 7) 294s 11 181.4 MiB 0.2 MiB 2 await asyncio.sleep(1e-2) 294s 12 28.8 MiB -152.6 MiB 1 del b 294s 294s 294s python3.13 -m mprof run test/test_func.py 294s mprof.py: Sampling memory every 0.1s 294s running new process 294s running as a Python program... 294s Testing with python3.14: 294s python3.14 -m memory_profiler test/test_func.py 294s /usr/lib/python3/dist-packages/memory_profiler.py:751: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead 294s if iscoroutinefunction(func): 298s Filename: test/test_func.py 298s 298s Line # Mem usage Increment Occurrences Line Contents 298s ============================================================= 298s 2 23.961 MiB 23.957 MiB 2 @profile 298s 3 def test_1(i): 298s 4 # .. will be called twice .. 298s 5 23.961 MiB 0.000 MiB 2 c = {} 298s 6 24.766 MiB 0.000 MiB 10012 for i in range(i): 298s 7 24.766 MiB 0.809 MiB 10010 c[i] = 2 298s 298s 298s python3.14 -m memory_profiler test/test_loop.py 298s /usr/lib/python3/dist-packages/memory_profiler.py:751: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead 298s if iscoroutinefunction(func): 301s Filename: test/test_loop.py 301s 301s Line # Mem usage Increment Occurrences Line Contents 301s ============================================================= 301s 11 24.770 MiB 24.770 MiB 1 @profile 301s 12 def test_2(): 301s 13 32.402 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 301s 14 184.992 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 301s 15 32.402 MiB -152.590 MiB 1 del b 301s 16 301s 17 32.402 MiB -0.266 MiB 3 for i in range(2): 301s 18 32.402 MiB -0.266 MiB 2 a = [1] * (10 ** 6) 301s 19 184.992 MiB 304.914 MiB 2 b = [2] * (2 * 10 ** 7) 301s 20 32.402 MiB -305.445 MiB 2 del b 301s 21 32.137 MiB -0.266 MiB 1 return a 301s 301s 301s python3.14 -m memory_profiler test/test_mprofile.py 301s /usr/lib/python3/dist-packages/memory_profiler.py:751: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead 301s if iscoroutinefunction(func): 304s Filename: test/test_mprofile.py 304s 304s Line # Mem usage Increment Occurrences Line Contents 304s ============================================================= 304s 5 23.969 MiB 23.969 MiB 1 @profile 304s 6 def test1(l): 304s 7 """test1 docstring""" 304s 8 24.734 MiB 0.766 MiB 1 a = [1] * l 304s 9 24.734 MiB 0.000 MiB 1 time.sleep(1) 304s 10 24.734 MiB 0.000 MiB 1 return a 304s 304s 304s Filename: test/test_mprofile.py 304s 304s Line # Mem usage Increment Occurrences Line Contents 304s ============================================================= 304s 12 23.973 MiB 23.973 MiB 1 @profile 304s 13 def test2(l): 304s 14 25.500 MiB 1.527 MiB 1 b = [1] * l 304s 15 25.500 MiB 0.000 MiB 1 time.sleep(1) 304s 16 25.500 MiB 0.000 MiB 1 return b 304s 304s 304s python3.14 -m memory_profiler test/test_as.py 304s /usr/lib/python3/dist-packages/memory_profiler.py:751: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead 304s if iscoroutinefunction(func): 304s Filename: test/test_as.py 304s 304s Line # Mem usage Increment Occurrences Line Contents 304s ============================================================= 304s 3 23.953 MiB 23.953 MiB 1 @profile 304s 4 def f(): 304s 5 23.953 MiB 0.000 MiB 1 o = math.sqrt(2013) 304s 6 23.953 MiB 0.000 MiB 1 return o 304s 304s 304s python3.14 -m memory_profiler test/test_global.py 305s python3.14 -m memory_profiler test/test_precision_command_line.py 305s /usr/lib/python3/dist-packages/memory_profiler.py:751: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead 305s if iscoroutinefunction(func): 313s Filename: test/test_precision_command_line.py 313s 313s Line # Mem usage Increment Occurrences Line Contents 313s ============================================================= 313s 11 23.973 MiB 23.973 MiB 1 @profile(precision=4) 313s 12 def test_1(): 313s 13 31.605 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 313s 14 184.195 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 313s 15 184.195 MiB 0.000 MiB 1 time.sleep(0.6) 313s 16 31.605 MiB -152.590 MiB 1 del b 313s 17 313s 18 31.609 MiB -0.047 MiB 3 for i in range(2): 313s 19 31.609 MiB -0.043 MiB 2 a = [1] * (10 ** 6) 313s 20 184.199 MiB 305.133 MiB 2 b = [2] * (2 * 10 ** 7) 313s 21 31.609 MiB -305.227 MiB 2 del b 313s 22 31.562 MiB -0.047 MiB 1 return a 313s 313s 313s Filename: test/test_precision_command_line.py 313s 313s Line # Mem usage Increment Occurrences Line Contents 313s ============================================================= 313s 24 31.562 MiB 31.562 MiB 1 @profile(precision=2) 313s 25 def test_2(): 313s 26 31.566 MiB 0.004 MiB 1 a = {} 313s 27 31.566 MiB 0.000 MiB 1 time.sleep(0.5) 313s 28 32.168 MiB 0.000 MiB 10001 for i in range(10000): 313s 29 32.168 MiB 0.602 MiB 10000 a[i] = i + 1 313s 30 32.168 MiB 0.000 MiB 1 time.sleep(0.6) 313s 31 32.168 MiB 0.000 MiB 1 return 313s 313s 313s python3.14 -m memory_profiler test/test_gen.py 313s /usr/lib/python3/dist-packages/memory_profiler.py:751: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead 313s if iscoroutinefunction(func): 314s Filename: test/test_gen.py 314s 314s Line # Mem usage Increment Occurrences Line Contents 314s ============================================================= 314s 2 24.059 MiB 24.059 MiB 1 @profile 314s 3 def my_func(): 314s 4 31.691 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 314s 5 184.281 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 314s 6 31.691 MiB -152.590 MiB 1 del b 314s 7 31.691 MiB 0.000 MiB 2 yield a 314s 314s 314s Filename: test/test_gen.py 314s 314s Line # Mem usage Increment Occurrences Line Contents 314s ============================================================= 314s 10 24.062 MiB 24.062 MiB 1 @profile 314s 11 def test_comprehension(): 314s 12 # Dict comprehension 314s 13 36.020 MiB 11.953 MiB 28 d_comp = dict((str(k*k), [v] * (1<<17)) 314s 14 36.020 MiB 0.004 MiB 14 for (v, k) in enumerate(range(99, 111))) 314s 15 314s 16 # List comprehension 314s 17 54.922 MiB 18.902 MiB 100 l_comp = [[i] * (i<<9) for i in range(99)] 314s 18 39.137 MiB -15.785 MiB 1 del l_comp 314s 19 39.137 MiB 0.000 MiB 1 del d_comp 314s 20 314s 21 39.137 MiB 0.000 MiB 4 def hh(x=1): 314s 22 # Set comprehension 314s 23 58.715 MiB 19.578 MiB 135 s_comp = set(('Z',) * (k<<13) for k in range(x, 19 + 2*x)) 314s 24 58.715 MiB 0.000 MiB 3 return s_comp 314s 25 314s 26 39.137 MiB 0.000 MiB 1 val = [range(1, 4), max(1, 4), 42 + len(hh())] 314s 27 58.715 MiB 0.000 MiB 1 val = hh() | hh(4) 314s 28 58.715 MiB 0.000 MiB 1 val.add(40) 314s 29 65.012 MiB 6.297 MiB 100 l1_comp = [[(1, i)] * (i<<9) for i in range(99)] 314s 30 83.836 MiB 18.824 MiB 100 l2_comp = [[(3, i)] * (i<<9) for i in range(99)] 314s 31 314s 32 83.836 MiB 0.000 MiB 1 return val 314s 314s 314s Filename: test/test_gen.py 314s 314s Line # Mem usage Increment Occurrences Line Contents 314s ============================================================= 314s 35 24.059 MiB 24.059 MiB 1 @profile 314s 36 def test_generator(): 314s 37 48.070 MiB 24.012 MiB 9 a_gen = ([42] * (1<<20) for __ in '123') 314s 38 48.070 MiB 0.000 MiB 1 huge_lst = list(a_gen) 314s 39 314s 40 48.070 MiB 0.000 MiB 1 b_gen = ([24] * (1<<20) for __ in '123') 314s 41 48.070 MiB 0.000 MiB 1 del b_gen 314s 42 24.059 MiB -24.012 MiB 1 del huge_lst 314s 43 314s 44 24.062 MiB 0.004 MiB 1 return a_gen 314s 314s 315s python3.14 -m memory_profiler test/test_unicode.py 315s /usr/lib/python3/dist-packages/memory_profiler.py:751: DeprecationWarning: 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead 315s if iscoroutinefunction(func): 315s Filename: test/test_unicode.py 315s 315s Line # Mem usage Increment Occurrences Line Contents 315s ============================================================= 315s 2 23.945 MiB 23.945 MiB 1 @profile 315s 3 def test_unicode(txt): 315s 4 # test when unicode is present 315s 5 23.945 MiB 0.000 MiB 1 txt = txt.replace (u"ی", u"ي") #Arabic Yah = ي 315s 6 23.945 MiB 0.000 MiB 1 return txt 315s 315s 315s python3.14 test/test_tracemalloc.py 324s python3.14 test/test_import.py 325s Filename: /tmp/autopkgtest.mcQQVn/autopkgtest_tmp/test/test_import.py 325s 325s Line # Mem usage Increment Occurrences Line Contents 325s ============================================================= 325s 4 23.3 MiB 23.3 MiB 1 @profile 325s 5 def my_func(): 325s 6 30.9 MiB 7.6 MiB 1 a = [1] * (10 ** 6) 325s 7 183.5 MiB 152.6 MiB 1 b = [2] * (2 * 10 ** 7) 325s 8 30.9 MiB -152.6 MiB 1 del b 325s 9 30.9 MiB 0.0 MiB 1 return a 325s 325s 325s python3.14 test/test_memory_usage.py 328s python3.14 test/test_precision_import.py 335s Filename: /tmp/autopkgtest.mcQQVn/autopkgtest_tmp/test/test_precision_import.py 335s 335s Line # Mem usage Increment Occurrences Line Contents 335s ============================================================= 335s 13 23.3477 MiB 23.3477 MiB 1 @profile(precision=4) 335s 14 def test_1(): 335s 15 30.9805 MiB 7.6328 MiB 1 a = [1] * (10 ** 6) 335s 16 183.5703 MiB 152.5898 MiB 1 b = [2] * (2 * 10 ** 7) 335s 17 183.5703 MiB 0.0000 MiB 1 time.sleep(0.6) 335s 18 30.9805 MiB -152.5898 MiB 1 del b 335s 19 335s 20 30.9805 MiB -0.0664 MiB 3 for i in range(2): 335s 21 30.9805 MiB -0.0664 MiB 2 a = [1] * (10 ** 6) 335s 22 183.5703 MiB 305.1133 MiB 2 b = [2] * (2 * 10 ** 7) 335s 23 30.9805 MiB -305.2461 MiB 2 del b 335s 24 30.9141 MiB -0.0664 MiB 1 return a 335s 335s 335s Filename: /tmp/autopkgtest.mcQQVn/autopkgtest_tmp/test/test_precision_import.py 335s 335s Line # Mem usage Increment Occurrences Line Contents 335s ============================================================= 335s 26 30.99219 MiB 30.99219 MiB 1 @profile(precision=5) 335s 27 def test_2(): 335s 28 30.99219 MiB 0.00000 MiB 1 a = {} 335s 29 30.99219 MiB 0.00000 MiB 1 time.sleep(0.5) 335s 30 31.59766 MiB 0.00000 MiB 10001 for i in range(10000): 335s 31 31.59766 MiB 0.60547 MiB 10000 a[i] = i + 1 335s 32 31.59766 MiB 0.00000 MiB 1 time.sleep(0.6) 335s 33 31.59766 MiB 0.00000 MiB 1 return 335s 335s 335s python3.14 test/test_exception.py 336s Traceback (most recent call last): 336s File "", line 1, in 336s from multiprocessing.forkserver import main; main(5, 7, ['__main__'], **{'sys_path': ['/tmp/autopkgtest.mcQQVn/autopkgtest_tmp/test', '/usr/lib/python314.zip', '/usr/lib/python3.14', '/usr/lib/python3.14/lib-dynload', '/usr/local/lib/python3.14/dist-packages', '/usr/lib/python3/dist-packages'], 'main_path': '/tmp/autopkgtest.mcQQVn/autopkgtest_tmp/test/test_exception.py', 'authkey_r': 9}) 336s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 336s File "/usr/lib/python3.14/multiprocessing/forkserver.py", line 217, in main 336s spawn.import_main_path(main_path) 336s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 336s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 307, in import_main_path 336s _fixup_main_from_path(main_path) 336s ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 336s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 297, in _fixup_main_from_path 336s main_content = runpy.run_path(main_path, 336s run_name="__mp_main__") 336s File "", line 287, in run_path 336s File "", line 98, in _run_module_code 336s File "", line 88, in _run_code 336s File "/tmp/autopkgtest.mcQQVn/autopkgtest_tmp/test/test_exception.py", line 9, in 336s out = memory_usage((foo, tuple(), {}), timeout=1) 336s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 372, in memory_usage 336s p.start() 336s ~~~~~~~^^ 336s File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start 336s self._popen = self._Popen(self) 336s ~~~~~~~~~~~^^^^^^ 336s File "/usr/lib/python3.14/multiprocessing/context.py", line 224, in _Popen 336s return _default_context.get_context().Process._Popen(process_obj) 336s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 336s File "/usr/lib/python3.14/multiprocessing/context.py", line 300, in _Popen 336s return Popen(process_obj) 336s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__ 336s super().__init__(process_obj) 336s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 336s File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__ 336s self._launch(process_obj) 336s ~~~~~~~~~~~~^^^^^^^^^^^^^ 336s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 42, in _launch 336s prep_data = spawn.get_preparation_data(process_obj._name) 336s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 164, in get_preparation_data 336s _check_not_importing_main() 336s ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 336s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 140, in _check_not_importing_main 336s raise RuntimeError(''' 336s ...<16 lines>... 336s ''') 336s RuntimeError: 336s An attempt has been made to start a new process before the 336s current process has finished its bootstrapping phase. 336s 336s This probably means that you are not using fork to start your 336s child processes and you have forgotten to use the proper idiom 336s in the main module: 336s 336s if __name__ == '__main__': 336s freeze_support() 336s ... 336s 336s The "freeze_support()" line can be omitted if the program 336s is not going to be frozen to produce an executable. 336s 336s To fix this issue, refer to the "Safe importing of main module" 336s section in https://docs.python.org/3/library/multiprocessing.html 336s 336s Traceback (most recent call last): 336s File "/tmp/autopkgtest.mcQQVn/autopkgtest_tmp/test/test_exception.py", line 9, in 336s out = memory_usage((foo, tuple(), {}), timeout=1) 336s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 372, in memory_usage 336s p.start() 336s ~~~~~~~^^ 336s File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start 336s self._popen = self._Popen(self) 336s ~~~~~~~~~~~^^^^^^ 336s File "/usr/lib/python3.14/multiprocessing/context.py", line 224, in _Popen 336s return _default_context.get_context().Process._Popen(process_obj) 336s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 336s File "/usr/lib/python3.14/multiprocessing/context.py", line 300, in _Popen 336s return Popen(process_obj) 336s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__ 336s super().__init__(process_obj) 336s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 336s File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__ 336s self._launch(process_obj) 336s ~~~~~~~~~~~~^^^^^^^^^^^^^ 336s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 51, in _launch 336s self.sentinel, w = forkserver.connect_to_new_process(self._fds) 336s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 336s File "/usr/lib/python3.14/multiprocessing/forkserver.py", line 106, in connect_to_new_process 336s connection.answer_challenge( 336s ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 336s wrapped_client, self._forkserver_authkey) 336s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 336s File "/usr/lib/python3.14/multiprocessing/connection.py", line 970, in answer_challenge 336s message = connection.recv_bytes(256) # reject large message 336s File "/usr/lib/python3.14/multiprocessing/connection.py", line 222, in recv_bytes 336s buf = self._recv_bytes(maxlength) 336s File "/usr/lib/python3.14/multiprocessing/connection.py", line 447, in _recv_bytes 336s buf = self._recv(4) 336s File "/usr/lib/python3.14/multiprocessing/connection.py", line 412, in _recv 336s chunk = read(handle, to_read) 336s ConnectionResetError: [Errno 104] Connection reset by peer 337s make: *** [Makefile:18: test] Error 1 337s autopkgtest [19:43:07]: test command1: -----------------------] 337s command1 FAIL non-zero exit status 2 337s autopkgtest [19:43:07]: test command1: - - - - - - - - - - results - - - - - - - - - - 346s autopkgtest [19:43:16]: @@@@@@@@@@@@@@@@@@@@ summary 346s command1 FAIL non-zero exit status 2