0s autopkgtest [21:59:44]: starting date and time: 2026-01-22 21:59:44+0000 0s autopkgtest [21:59:44]: git checkout: 508d4a25 a-v-ssh wait_for_ssh: demote "ssh connection failed" to a debug message 0s autopkgtest [21:59:44]: host juju-7f2275-prod-proposed-migration-environment-9; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.2c_dssoj/out --timeout-copy=6000 --setup-commands 'ln -s /dev/null /etc/systemd/system/bluetooth.service; printf "http_proxy=http://squid.internal:3128\nhttps_proxy=http://squid.internal:3128\nno_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com\n" >> /etc/environment' --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 -- lxd -r lxd-armhf-10.145.243.61 lxd-armhf-10.145.243.61:autopkgtest/ubuntu/resolute/armhf 25s autopkgtest [22:00:09]: testbed dpkg architecture: armhf 28s autopkgtest [22:00:12]: testbed apt version: 3.1.12 32s autopkgtest [22:00:16]: @@@@@@@@@@@@@@@@@@@@ test bed setup 34s autopkgtest [22:00:18]: testbed release detected to be: None 43s autopkgtest [22:00:27]: updating testbed package index (apt update) 45s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 46s Get:2 http://ftpmaster.internal/ubuntu resolute InRelease [124 kB] 46s Get:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease [124 kB] 46s Get:4 http://ftpmaster.internal/ubuntu resolute-security InRelease [124 kB] 46s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [81.6 kB] 46s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 46s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.2 kB] 46s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1011 kB] 46s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf Packages [95.3 kB] 46s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe armhf Packages [658 kB] 46s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse armhf Packages [4896 B] 46s Get:12 http://ftpmaster.internal/ubuntu resolute/universe Sources [21.4 MB] 48s Get:13 http://ftpmaster.internal/ubuntu resolute/multiverse Sources [310 kB] 48s Get:14 http://ftpmaster.internal/ubuntu resolute/main Sources [1398 kB] 48s Get:15 http://ftpmaster.internal/ubuntu resolute/main armhf Packages [1371 kB] 48s Get:16 http://ftpmaster.internal/ubuntu resolute/universe armhf Packages [15.2 MB] 48s Get:17 http://ftpmaster.internal/ubuntu resolute/multiverse armhf Packages [175 kB] 51s Fetched 42.2 MB in 6s (6877 kB/s) 53s Reading package lists... 59s autopkgtest [22:00:43]: upgrading testbed (apt dist-upgrade and autopurge) 61s Reading package lists... 61s Building dependency tree... 61s Reading state information... 62s Calculating upgrade... 62s The following packages were automatically installed and are no longer required: 62s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 62s Use 'apt autoremove' to remove them. 62s The following NEW packages will be installed: 62s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 62s The following packages will be upgraded: 62s libplymouth5 libpython3-stdlib plymouth plymouth-theme-ubuntu-text python3 62s python3-gdbm python3-minimal 63s 7 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 63s Need to get 6525 kB of archives. 63s After this operation, 22.5 MB of additional disk space will be used. 63s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-minimal armhf 3.14.2-1 [905 kB] 63s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14-minimal armhf 3.14.2-1 [2155 kB] 63s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-gdbm armhf 3.14.2-1 [11.1 kB] 63s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-minimal armhf 3.14.2-1 [28.2 kB] 63s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3 armhf 3.14.2-1 [22.9 kB] 63s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.14-stdlib armhf 3.14.2-1 [2270 kB] 63s Get:7 http://ftpmaster.internal/ubuntu resolute/main armhf python3.14 armhf 3.14.2-1 [816 kB] 63s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf libpython3-stdlib armhf 3.14.2-1 [10.9 kB] 63s Get:9 http://ftpmaster.internal/ubuntu resolute/main armhf libplymouth5 armhf 24.004.60+git20250831.4a3c171d-0ubuntu4 [147 kB] 63s Get:10 http://ftpmaster.internal/ubuntu resolute/main armhf plymouth-theme-ubuntu-text armhf 24.004.60+git20250831.4a3c171d-0ubuntu4 [10.0 kB] 63s Get:11 http://ftpmaster.internal/ubuntu resolute/main armhf plymouth armhf 24.004.60+git20250831.4a3c171d-0ubuntu4 [150 kB] 64s Fetched 6525 kB in 1s (7611 kB/s) 64s Selecting previously unselected package libpython3.14-minimal:armhf. 64s (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 ... 66485 files and directories currently installed.) 64s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_armhf.deb ... 64s Unpacking libpython3.14-minimal:armhf (3.14.2-1) ... 64s Selecting previously unselected package python3.14-minimal. 64s Preparing to unpack .../python3.14-minimal_3.14.2-1_armhf.deb ... 64s Unpacking python3.14-minimal (3.14.2-1) ... 65s Preparing to unpack .../python3-gdbm_3.14.2-1_armhf.deb ... 65s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 65s Setting up libpython3.14-minimal:armhf (3.14.2-1) ... 65s Setting up python3.14-minimal (3.14.2-1) ... 66s (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 ... 66827 files and directories currently installed.) 66s Preparing to unpack .../python3-minimal_3.14.2-1_armhf.deb ... 66s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 66s Setting up python3-minimal (3.14.2-1) ... 67s (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 ... 66827 files and directories currently installed.) 67s Preparing to unpack .../0-python3_3.14.2-1_armhf.deb ... 67s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 67s Selecting previously unselected package libpython3.14-stdlib:armhf. 67s Preparing to unpack .../1-libpython3.14-stdlib_3.14.2-1_armhf.deb ... 67s Unpacking libpython3.14-stdlib:armhf (3.14.2-1) ... 67s Selecting previously unselected package python3.14. 67s Preparing to unpack .../2-python3.14_3.14.2-1_armhf.deb ... 67s Unpacking python3.14 (3.14.2-1) ... 67s Preparing to unpack .../3-libpython3-stdlib_3.14.2-1_armhf.deb ... 67s Unpacking libpython3-stdlib:armhf (3.14.2-1) over (3.13.7-1) ... 67s Preparing to unpack .../4-libplymouth5_24.004.60+git20250831.4a3c171d-0ubuntu4_armhf.deb ... 67s Unpacking libplymouth5:armhf (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 67s Preparing to unpack .../5-plymouth-theme-ubuntu-text_24.004.60+git20250831.4a3c171d-0ubuntu4_armhf.deb ... 67s Unpacking plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 67s Preparing to unpack .../6-plymouth_24.004.60+git20250831.4a3c171d-0ubuntu4_armhf.deb ... 67s Unpacking plymouth (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 67s Setting up libpython3.14-stdlib:armhf (3.14.2-1) ... 67s Setting up libplymouth5:armhf (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 67s Setting up python3.14 (3.14.2-1) ... 69s Setting up libpython3-stdlib:armhf (3.14.2-1) ... 69s Setting up python3-gdbm (3.14.2-1) ... 69s Setting up plymouth (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 69s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 69s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 70s Setting up python3 (3.14.2-1) ... 70s Processing triggers for libc-bin (2.42-2ubuntu4) ... 70s Processing triggers for systemd (259-1ubuntu2) ... 70s Processing triggers for man-db (2.13.1-1) ... 72s Processing triggers for initramfs-tools (0.150ubuntu7) ... 72s Setting up plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 72s Processing triggers for initramfs-tools (0.150ubuntu7) ... 74s Reading package lists... 74s Building dependency tree... 74s Reading state information... 74s Solving dependencies... 75s The following packages will be REMOVED: 75s libpython3.13-minimal* libpython3.13-stdlib* python3.13* python3.13-minimal* 76s 0 upgraded, 0 newly installed, 4 to remove and 0 not upgraded. 76s After this operation, 21.3 MB disk space will be freed. 76s (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 67257 files and directories currently installed.) 76s Removing python3.13 (3.13.11-1) ... 76s Removing libpython3.13-stdlib:armhf (3.13.11-1) ... 76s Removing python3.13-minimal (3.13.11-1) ... 77s Removing libpython3.13-minimal:armhf (3.13.11-1) ... 77s Processing triggers for man-db (2.13.1-1) ... 78s Processing triggers for systemd (259-1ubuntu2) ... 78s (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 ... 66518 files and directories currently installed.) 78s Purging configuration files for libpython3.13-minimal:armhf (3.13.11-1) ... 78s Purging configuration files for python3.13-minimal (3.13.11-1) ... 80s autopkgtest [22:01:04]: rebooting testbed after setup commands that affected boot 125s autopkgtest [22:01:48]: testbed running kernel: Linux 6.8.0-87-generic #88~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Oct 14 14:00:09 UTC 2 150s autopkgtest [22:02:14]: @@@@@@@@@@@@@@@@@@@@ apt-source python-memory-profiler 161s Get:1 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (dsc) [2268 B] 161s Get:2 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (tar) [145 kB] 161s Get:3 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (diff) [4752 B] 161s gpgv: Signature made Sat Dec 7 20:26:18 2024 UTC 161s gpgv: using RSA key AB6B1DBEB0342F27571DED6AB26614B452F446B6 161s gpgv: issuer "mitya57@debian.org" 161s gpgv: Can't check signature: No public key 161s dpkg-source: warning: cannot verify inline signature for ./python-memory-profiler_0.61-2.dsc: no acceptable signature found 162s autopkgtest [22:02:26]: testing package python-memory-profiler version 0.61-2 163s autopkgtest [22:02:27]: build not needed 165s autopkgtest [22:02:29]: test command1: preparing testbed 167s Reading package lists... 168s Building dependency tree... 168s Reading state information... 168s Solving dependencies... 169s The following NEW packages will be installed: 169s libpython3.13-minimal libpython3.13-stdlib python3-all 169s python3-memory-profiler python3-psutil python3.13 python3.13-minimal 169s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 169s Need to get 5877 kB of archives. 169s After this operation, 22.6 MB of additional disk space will be used. 169s Get:1 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.13-minimal armhf 3.13.11-1 [875 kB] 169s Get:2 http://ftpmaster.internal/ubuntu resolute/main armhf python3.13-minimal armhf 3.13.11-1 [2055 kB] 169s Get:3 http://ftpmaster.internal/ubuntu resolute/main armhf libpython3.13-stdlib armhf 3.13.11-1 [1960 kB] 169s Get:4 http://ftpmaster.internal/ubuntu resolute/main armhf python3.13 armhf 3.13.11-1 [758 kB] 170s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main armhf python3-all armhf 3.14.2-1 [888 B] 170s Get:6 http://ftpmaster.internal/ubuntu resolute/main armhf python3-psutil armhf 7.1.0-1ubuntu1 [189 kB] 170s Get:7 http://ftpmaster.internal/ubuntu resolute/universe armhf python3-memory-profiler all 0.61-2 [39.7 kB] 170s Fetched 5877 kB in 1s (6370 kB/s) 170s Selecting previously unselected package libpython3.13-minimal:armhf. 170s (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 ... 66518 files and directories currently installed.) 170s Preparing to unpack .../0-libpython3.13-minimal_3.13.11-1_armhf.deb ... 170s Unpacking libpython3.13-minimal:armhf (3.13.11-1) ... 170s Selecting previously unselected package python3.13-minimal. 170s Preparing to unpack .../1-python3.13-minimal_3.13.11-1_armhf.deb ... 170s Unpacking python3.13-minimal (3.13.11-1) ... 170s Selecting previously unselected package libpython3.13-stdlib:armhf. 170s Preparing to unpack .../2-libpython3.13-stdlib_3.13.11-1_armhf.deb ... 170s Unpacking libpython3.13-stdlib:armhf (3.13.11-1) ... 171s Selecting previously unselected package python3.13. 171s Preparing to unpack .../3-python3.13_3.13.11-1_armhf.deb ... 171s Unpacking python3.13 (3.13.11-1) ... 171s Selecting previously unselected package python3-all. 171s Preparing to unpack .../4-python3-all_3.14.2-1_armhf.deb ... 171s Unpacking python3-all (3.14.2-1) ... 171s Selecting previously unselected package python3-psutil. 171s Preparing to unpack .../5-python3-psutil_7.1.0-1ubuntu1_armhf.deb ... 171s Unpacking python3-psutil (7.1.0-1ubuntu1) ... 171s Selecting previously unselected package python3-memory-profiler. 171s Preparing to unpack .../6-python3-memory-profiler_0.61-2_all.deb ... 171s Unpacking python3-memory-profiler (0.61-2) ... 171s Setting up python3-psutil (7.1.0-1ubuntu1) ... 172s Setting up libpython3.13-minimal:armhf (3.13.11-1) ... 172s Setting up python3.13-minimal (3.13.11-1) ... 173s Setting up libpython3.13-stdlib:armhf (3.13.11-1) ... 173s Setting up python3-memory-profiler (0.61-2) ... 173s Setting up python3.13 (3.13.11-1) ... 174s Setting up python3-all (3.14.2-1) ... 174s Processing triggers for man-db (2.13.1-1) ... 175s Processing triggers for systemd (259-1ubuntu2) ... 183s autopkgtest [22:02: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 183s autopkgtest [22:02:47]: test command1: [----------------------- 185s Testing with python3.13: 185s python3.13 -m memory_profiler test/test_func.py 186s Filename: test/test_func.py 186s 186s Line # Mem usage Increment Occurrences Line Contents 186s ============================================================= 186s 2 14.875 MiB 14.875 MiB 2 @profile 186s 3 def test_1(i): 186s 4 # .. will be called twice .. 186s 5 14.875 MiB 0.000 MiB 2 c = {} 186s 6 15.250 MiB 0.000 MiB 10012 for i in range(i): 186s 7 15.250 MiB 0.375 MiB 10010 c[i] = 2 186s 186s 186s python3.13 -m memory_profiler test/test_loop.py 189s Filename: test/test_loop.py 189s 189s Line # Mem usage Increment Occurrences Line Contents 189s ============================================================= 189s 11 15.375 MiB 15.375 MiB 1 @profile 189s 12 def test_2(): 189s 13 19.125 MiB 3.750 MiB 1 a = [1] * (10 ** 6) 189s 14 95.375 MiB 76.250 MiB 1 b = [2] * (2 * 10 ** 7) 189s 15 19.191 MiB -76.184 MiB 1 del b 189s 16 189s 17 19.191 MiB 0.000 MiB 3 for i in range(2): 189s 18 19.191 MiB 0.000 MiB 2 a = [1] * (10 ** 6) 189s 19 95.441 MiB 152.500 MiB 2 b = [2] * (2 * 10 ** 7) 189s 20 19.191 MiB -152.500 MiB 2 del b 189s 21 19.191 MiB 0.000 MiB 1 return a 189s 189s 189s python3.13 -m memory_profiler test/test_mprofile.py 191s Filename: test/test_mprofile.py 191s 191s Line # Mem usage Increment Occurrences Line Contents 191s ============================================================= 191s 5 14.875 MiB 14.875 MiB 1 @profile 191s 6 def test1(l): 191s 7 """test1 docstring""" 191s 8 15.250 MiB 0.375 MiB 1 a = [1] * l 191s 9 15.250 MiB 0.000 MiB 1 time.sleep(1) 191s 10 15.250 MiB 0.000 MiB 1 return a 191s 191s 191s Filename: test/test_mprofile.py 191s 191s Line # Mem usage Increment Occurrences Line Contents 191s ============================================================= 191s 12 14.895 MiB 14.895 MiB 1 @profile 191s 13 def test2(l): 191s 14 15.645 MiB 0.750 MiB 1 b = [1] * l 191s 15 15.645 MiB 0.000 MiB 1 time.sleep(1) 191s 16 15.645 MiB 0.000 MiB 1 return b 191s 191s 191s python3.13 -m memory_profiler test/test_as.py 191s Filename: test/test_as.py 191s 191s Line # Mem usage Increment Occurrences Line Contents 191s ============================================================= 191s 3 14.875 MiB 14.875 MiB 1 @profile 191s 4 def f(): 191s 5 14.875 MiB 0.000 MiB 1 o = math.sqrt(2013) 191s 6 14.875 MiB 0.000 MiB 1 return o 191s 191s 191s python3.13 -m memory_profiler test/test_global.py 191s python3.13 -m memory_profiler test/test_precision_command_line.py 194s Filename: test/test_precision_command_line.py 194s 194s Line # Mem usage Increment Occurrences Line Contents 194s ============================================================= 194s 11 14.875 MiB 14.875 MiB 1 @profile(precision=4) 194s 12 def test_1(): 194s 13 18.625 MiB 3.750 MiB 1 a = [1] * (10 ** 6) 194s 14 95.000 MiB 76.375 MiB 1 b = [2] * (2 * 10 ** 7) 194s 15 95.000 MiB 0.000 MiB 1 time.sleep(0.6) 194s 16 18.707 MiB -76.293 MiB 1 del b 194s 17 194s 18 18.711 MiB 0.000 MiB 3 for i in range(2): 194s 19 18.707 MiB 0.000 MiB 2 a = [1] * (10 ** 6) 194s 20 94.957 MiB 152.500 MiB 2 b = [2] * (2 * 10 ** 7) 194s 21 18.711 MiB -152.496 MiB 2 del b 194s 22 18.711 MiB 0.000 MiB 1 return a 194s 194s 194s Filename: test/test_precision_command_line.py 194s 194s Line # Mem usage Increment Occurrences Line Contents 194s ============================================================= 194s 24 14.895 MiB 14.895 MiB 1 @profile(precision=2) 194s 25 def test_2(): 194s 26 14.895 MiB 0.000 MiB 1 a = {} 194s 27 14.895 MiB 0.000 MiB 1 time.sleep(0.5) 194s 28 15.395 MiB 0.000 MiB 10001 for i in range(10000): 194s 29 15.395 MiB 0.500 MiB 10000 a[i] = i + 1 194s 30 15.395 MiB 0.000 MiB 1 time.sleep(0.6) 194s 31 15.395 MiB 0.000 MiB 1 return 194s 194s 194s python3.13 -m memory_profiler test/test_gen.py 195s Filename: test/test_gen.py 195s 195s Line # Mem usage Increment Occurrences Line Contents 195s ============================================================= 195s 2 14.875 MiB 14.875 MiB 1 @profile 195s 3 def my_func(): 195s 4 18.750 MiB 3.875 MiB 1 a = [1] * (10 ** 6) 195s 5 95.000 MiB 76.250 MiB 1 b = [2] * (2 * 10 ** 7) 195s 6 18.758 MiB -76.242 MiB 1 del b 195s 7 18.758 MiB 0.000 MiB 1 yield a 195s 195s 195s Filename: test/test_gen.py 195s 195s Line # Mem usage Increment Occurrences Line Contents 195s ============================================================= 195s 10 14.941 MiB 14.941 MiB 1 @profile 195s 11 def test_comprehension(): 195s 12 # Dict comprehension 195s 13 20.941 MiB 6.000 MiB 28 d_comp = dict((str(k*k), [v] * (1<<17)) 195s 14 20.941 MiB 0.000 MiB 14 for (v, k) in enumerate(range(99, 111))) 195s 15 195s 16 # List comprehension 195s 17 30.441 MiB 9.500 MiB 100 l_comp = [[i] * (i<<9) for i in range(99)] 195s 18 21.137 MiB -9.305 MiB 1 del l_comp 195s 19 15.090 MiB -6.047 MiB 1 del d_comp 195s 20 195s 21 21.422 MiB -0.043 MiB 4 def hh(x=1): 195s 22 # Set comprehension 195s 23 32.297 MiB -146.598 MiB 135 s_comp = set(('Z',) * (k<<13) for k in range(x, 19 + 2*x)) 195s 24 32.297 MiB -0.043 MiB 3 return s_comp 195s 25 195s 26 15.547 MiB -5.918 MiB 1 val = [range(1, 4), max(1, 4), 42 + len(hh())] 195s 27 26.023 MiB -6.273 MiB 1 val = hh() | hh(4) 195s 28 26.023 MiB 0.000 MiB 1 val.add(40) 195s 29 35.273 MiB 9.250 MiB 100 l1_comp = [[(1, i)] * (i<<9) for i in range(99)] 195s 30 44.773 MiB 9.500 MiB 100 l2_comp = [[(3, i)] * (i<<9) for i in range(99)] 195s 31 195s 32 44.773 MiB 0.000 MiB 1 return val 195s 195s 195s Filename: test/test_gen.py 195s 195s Line # Mem usage Increment Occurrences Line Contents 195s ============================================================= 195s 35 14.941 MiB 14.941 MiB 1 @profile 195s 36 def test_generator(): 195s 37 26.941 MiB 12.000 MiB 9 a_gen = ([42] * (1<<20) for __ in '123') 195s 38 26.941 MiB 0.000 MiB 1 huge_lst = list(a_gen) 195s 39 195s 40 26.941 MiB 0.000 MiB 1 b_gen = ([24] * (1<<20) for __ in '123') 195s 41 26.941 MiB 0.000 MiB 1 del b_gen 195s 42 14.941 MiB -12.000 MiB 1 del huge_lst 195s 43 195s 44 14.941 MiB 0.000 MiB 1 return a_gen 195s 195s 195s python3.13 -m memory_profiler test/test_unicode.py 195s Filename: test/test_unicode.py 195s 195s Line # Mem usage Increment Occurrences Line Contents 195s ============================================================= 195s 2 14.875 MiB 14.875 MiB 1 @profile 195s 3 def test_unicode(txt): 195s 4 # test when unicode is present 195s 5 14.875 MiB 0.000 MiB 1 txt = txt.replace (u"ی", u"ي") #Arabic Yah = ي 195s 6 14.875 MiB 0.000 MiB 1 return txt 195s 195s 195s python3.13 test/test_tracemalloc.py 202s python3.13 test/test_import.py 203s Filename: /tmp/autopkgtest.5sfJed/autopkgtest_tmp/test/test_import.py 203s 203s Line # Mem usage Increment Occurrences Line Contents 203s ============================================================= 203s 4 14.1 MiB 14.1 MiB 1 @profile 203s 5 def my_func(): 203s 6 17.9 MiB 3.8 MiB 1 a = [1] * (10 ** 6) 203s 7 94.2 MiB 76.4 MiB 1 b = [2] * (2 * 10 ** 7) 203s 8 18.0 MiB -76.3 MiB 1 del b 203s 9 18.0 MiB 0.0 MiB 1 return a 203s 203s 203s python3.13 test/test_memory_usage.py 205s python3.13 test/test_precision_import.py 208s Filename: /tmp/autopkgtest.5sfJed/autopkgtest_tmp/test/test_precision_import.py 208s 208s Line # Mem usage Increment Occurrences Line Contents 208s ============================================================= 208s 13 14.1133 MiB 14.1133 MiB 1 @profile(precision=4) 208s 14 def test_1(): 208s 15 17.9883 MiB 3.8750 MiB 1 a = [1] * (10 ** 6) 208s 16 94.2383 MiB 76.2500 MiB 1 b = [2] * (2 * 10 ** 7) 208s 17 94.2383 MiB 0.0000 MiB 1 time.sleep(0.6) 208s 18 18.0195 MiB -76.2188 MiB 1 del b 208s 19 208s 20 18.0273 MiB 0.0000 MiB 3 for i in range(2): 208s 21 18.0273 MiB 0.0078 MiB 2 a = [1] * (10 ** 6) 208s 22 94.2773 MiB 152.5000 MiB 2 b = [2] * (2 * 10 ** 7) 208s 23 18.0273 MiB -152.5000 MiB 2 del b 208s 24 18.0273 MiB 0.0000 MiB 1 return a 208s 208s 208s Filename: /tmp/autopkgtest.5sfJed/autopkgtest_tmp/test/test_precision_import.py 208s 208s Line # Mem usage Increment Occurrences Line Contents 208s ============================================================= 208s 26 14.33594 MiB 14.33594 MiB 1 @profile(precision=5) 208s 27 def test_2(): 208s 28 14.33594 MiB 0.00000 MiB 1 a = {} 208s 29 14.33594 MiB 0.00000 MiB 1 time.sleep(0.5) 208s 30 14.83594 MiB 0.00000 MiB 10001 for i in range(10000): 208s 31 14.83594 MiB 0.50000 MiB 10000 a[i] = i + 1 208s 32 14.83594 MiB 0.00000 MiB 1 time.sleep(0.6) 208s 33 14.83594 MiB 0.00000 MiB 1 return 208s 208s 208s python3.13 test/test_exception.py 208s Success 208s python3.13 test/test_exit_code.py 209s Traceback (most recent call last): 209s File "", line 198, in _run_module_as_main 209s File "", line 88, in _run_code 209s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1348, in 209s exec_with_profiler(script_filename, prof, args.backend, script_args) 209s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 209s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1249, in exec_with_profiler 209s exec(compile(f.read(), filename, 'exec'), ns, ns) 209s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 209s File "/tmp/tmpm6nws_vl.py", line 1, in 209s raise RuntimeError('I am not working nicely') 209s RuntimeError: I am not working nicely 209s ERROR:mprof:Program resulted with a non-zero exit code: 1 209s ..Traceback (most recent call last): 209s File "", line 198, in _run_module_as_main 209s File "", line 88, in _run_code 209s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1348, in 209s exec_with_profiler(script_filename, prof, args.backend, script_args) 209s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 209s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1249, in exec_with_profiler 209s exec(compile(f.read(), filename, 'exec'), ns, ns) 209s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 209s File "/tmp/tmplk86sg6z.py", line 1, in 209s raise RuntimeError('I am not working nicely') 209s RuntimeError: I am not working nicely 209s . 209s ---------------------------------------------------------------------- 209s Ran 3 tests in 1.198s 209s 209s OK 209s : Sampling memory every 0.1s 209s running new process 209s running as a Python program... 209s : Sampling memory every 0.1s 209s running new process 209s running as a Python program... 209s : Sampling memory every 0.1s 209s running new process 209s running as a Python program... 210s python3.13 test/test_mprof.py 210s . 210s ---------------------------------------------------------------------- 210s Ran 1 test in 0.000s 210s 210s OK 210s python3.13 test/test_async.py 210s Filename: /tmp/autopkgtest.5sfJed/autopkgtest_tmp/test/test_async.py 210s 210s Line # Mem usage Increment Occurrences Line Contents 210s ============================================================= 210s 7 14.2 MiB 14.2 MiB 1 @profile 210s 8 async def my_func(): 210s 9 18.1 MiB 3.9 MiB 1 a = [1] * (10 ** 6) 210s 10 94.4 MiB 76.2 MiB 1 b = [2] * (2 * 10 ** 7) 210s 11 94.4 MiB 0.0 MiB 2 await asyncio.sleep(1e-2) 210s 12 18.2 MiB -76.2 MiB 1 del b 210s 210s 210s python3.13 -m mprof run test/test_func.py 210s mprof.py: Sampling memory every 0.1s 210s running new process 210s running as a Python program... 210s Testing with python3.14: 210s python3.14 -m memory_profiler test/test_func.py 211s /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 211s if iscoroutinefunction(func): 211s Filename: test/test_func.py 211s 211s Line # Mem usage Increment Occurrences Line Contents 211s ============================================================= 211s 2 16.367 MiB 16.367 MiB 2 @profile 211s 3 def test_1(i): 211s 4 # .. will be called twice .. 211s 5 16.367 MiB 0.000 MiB 2 c = {} 211s 6 16.742 MiB 0.000 MiB 10012 for i in range(i): 211s 7 16.742 MiB 0.375 MiB 10010 c[i] = 2 211s 211s 212s python3.14 -m memory_profiler test/test_loop.py 212s /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 212s if iscoroutinefunction(func): 214s Filename: test/test_loop.py 214s 214s Line # Mem usage Increment Occurrences Line Contents 214s ============================================================= 214s 11 16.988 MiB 16.988 MiB 1 @profile 214s 12 def test_2(): 214s 13 20.613 MiB 3.625 MiB 1 a = [1] * (10 ** 6) 214s 14 96.988 MiB 76.375 MiB 1 b = [2] * (2 * 10 ** 7) 214s 15 20.699 MiB -76.289 MiB 1 del b 214s 16 214s 17 20.699 MiB 0.000 MiB 3 for i in range(2): 214s 18 20.699 MiB 0.000 MiB 2 a = [1] * (10 ** 6) 214s 19 96.949 MiB 152.500 MiB 2 b = [2] * (2 * 10 ** 7) 214s 20 20.699 MiB -152.500 MiB 2 del b 214s 21 20.699 MiB 0.000 MiB 1 return a 214s 214s 214s python3.14 -m memory_profiler test/test_mprofile.py 214s /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 214s if iscoroutinefunction(func): 216s Filename: test/test_mprofile.py 216s 216s Line # Mem usage Increment Occurrences Line Contents 216s ============================================================= 216s 5 16.363 MiB 16.363 MiB 1 @profile 216s 6 def test1(l): 216s 7 """test1 docstring""" 216s 8 16.738 MiB 0.375 MiB 1 a = [1] * l 216s 9 16.738 MiB 0.000 MiB 1 time.sleep(1) 216s 10 16.738 MiB 0.000 MiB 1 return a 216s 216s 216s Filename: test/test_mprofile.py 216s 216s Line # Mem usage Increment Occurrences Line Contents 216s ============================================================= 216s 12 16.473 MiB 16.473 MiB 1 @profile 216s 13 def test2(l): 216s 14 17.223 MiB 0.750 MiB 1 b = [1] * l 216s 15 17.223 MiB 0.000 MiB 1 time.sleep(1) 216s 16 17.223 MiB 0.000 MiB 1 return b 216s 216s 216s python3.14 -m memory_profiler test/test_as.py 217s /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 217s if iscoroutinefunction(func): 217s Filename: test/test_as.py 217s 217s Line # Mem usage Increment Occurrences Line Contents 217s ============================================================= 217s 3 16.367 MiB 16.367 MiB 1 @profile 217s 4 def f(): 217s 5 16.367 MiB 0.000 MiB 1 o = math.sqrt(2013) 217s 6 16.367 MiB 0.000 MiB 1 return o 217s 217s 217s python3.14 -m memory_profiler test/test_global.py 217s python3.14 -m memory_profiler test/test_precision_command_line.py 217s /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 217s if iscoroutinefunction(func): 220s Filename: test/test_precision_command_line.py 220s 220s Line # Mem usage Increment Occurrences Line Contents 220s ============================================================= 220s 11 16.367 MiB 16.367 MiB 1 @profile(precision=4) 220s 12 def test_1(): 220s 13 20.242 MiB 3.875 MiB 1 a = [1] * (10 ** 6) 220s 14 96.492 MiB 76.250 MiB 1 b = [2] * (2 * 10 ** 7) 220s 15 96.492 MiB 0.000 MiB 1 time.sleep(0.6) 220s 16 20.281 MiB -76.211 MiB 1 del b 220s 17 220s 18 20.281 MiB 0.000 MiB 3 for i in range(2): 220s 19 20.281 MiB 0.000 MiB 2 a = [1] * (10 ** 6) 220s 20 96.531 MiB 152.500 MiB 2 b = [2] * (2 * 10 ** 7) 220s 21 20.281 MiB -152.500 MiB 2 del b 220s 22 20.281 MiB 0.000 MiB 1 return a 220s 220s 220s Filename: test/test_precision_command_line.py 220s 220s Line # Mem usage Increment Occurrences Line Contents 220s ============================================================= 220s 24 16.465 MiB 16.465 MiB 1 @profile(precision=2) 220s 25 def test_2(): 220s 26 16.465 MiB 0.000 MiB 1 a = {} 220s 27 16.465 MiB 0.000 MiB 1 time.sleep(0.5) 220s 28 16.965 MiB 0.375 MiB 10001 for i in range(10000): 220s 29 16.965 MiB 0.125 MiB 10000 a[i] = i + 1 220s 30 16.965 MiB 0.000 MiB 1 time.sleep(0.6) 220s 31 16.965 MiB 0.000 MiB 1 return 220s 220s 220s python3.14 -m memory_profiler test/test_gen.py 220s /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 220s if iscoroutinefunction(func): 220s Filename: test/test_gen.py 220s 220s Line # Mem usage Increment Occurrences Line Contents 220s ============================================================= 220s 2 16.367 MiB 16.367 MiB 1 @profile 220s 3 def my_func(): 220s 4 20.117 MiB 3.750 MiB 1 a = [1] * (10 ** 6) 220s 5 96.492 MiB 76.375 MiB 1 b = [2] * (2 * 10 ** 7) 220s 6 20.238 MiB -76.254 MiB 1 del b 220s 7 20.238 MiB 0.000 MiB 2 yield a 220s 220s 220s Filename: test/test_gen.py 220s 220s Line # Mem usage Increment Occurrences Line Contents 220s ============================================================= 220s 10 16.422 MiB 16.422 MiB 1 @profile 220s 11 def test_comprehension(): 220s 12 # Dict comprehension 220s 13 22.422 MiB 6.000 MiB 28 d_comp = dict((str(k*k), [v] * (1<<17)) 220s 14 22.422 MiB 0.000 MiB 14 for (v, k) in enumerate(range(99, 111))) 220s 15 220s 16 # List comprehension 220s 17 31.797 MiB 9.375 MiB 100 l_comp = [[i] * (i<<9) for i in range(99)] 220s 18 22.777 MiB -9.020 MiB 1 del l_comp 220s 19 16.730 MiB -6.047 MiB 1 del d_comp 220s 20 220s 21 22.945 MiB -0.035 MiB 4 def hh(x=1): 220s 22 # Set comprehension 220s 23 33.820 MiB -146.387 MiB 135 s_comp = set(('Z',) * (k<<13) for k in range(x, 19 + 2*x)) 220s 24 33.820 MiB -0.035 MiB 3 return s_comp 220s 25 220s 26 17.070 MiB -5.910 MiB 1 val = [range(1, 4), max(1, 4), 42 + len(hh())] 220s 27 27.676 MiB -6.145 MiB 1 val = hh() | hh(4) 220s 28 27.676 MiB 0.000 MiB 1 val.add(40) 220s 29 36.801 MiB 9.125 MiB 100 l1_comp = [[(1, i)] * (i<<9) for i in range(99)] 220s 30 46.301 MiB 9.500 MiB 100 l2_comp = [[(3, i)] * (i<<9) for i in range(99)] 220s 31 220s 32 46.301 MiB 0.000 MiB 1 return val 220s 220s 220s Filename: test/test_gen.py 220s 220s Line # Mem usage Increment Occurrences Line Contents 220s ============================================================= 220s 35 16.422 MiB 16.422 MiB 1 @profile 220s 36 def test_generator(): 220s 37 28.422 MiB 12.000 MiB 9 a_gen = ([42] * (1<<20) for __ in '123') 220s 38 28.422 MiB 0.000 MiB 1 huge_lst = list(a_gen) 220s 39 220s 40 28.422 MiB 0.000 MiB 1 b_gen = ([24] * (1<<20) for __ in '123') 220s 41 28.422 MiB 0.000 MiB 1 del b_gen 220s 42 16.422 MiB -12.000 MiB 1 del huge_lst 220s 43 220s 44 16.422 MiB 0.000 MiB 1 return a_gen 220s 220s 220s python3.14 -m memory_profiler test/test_unicode.py 221s /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 221s if iscoroutinefunction(func): 221s Filename: test/test_unicode.py 221s 221s Line # Mem usage Increment Occurrences Line Contents 221s ============================================================= 221s 2 16.367 MiB 16.367 MiB 1 @profile 221s 3 def test_unicode(txt): 221s 4 # test when unicode is present 221s 5 16.367 MiB 0.000 MiB 1 txt = txt.replace (u"ی", u"ي") #Arabic Yah = ي 221s 6 16.367 MiB 0.000 MiB 1 return txt 221s 221s 221s python3.14 test/test_tracemalloc.py 228s python3.14 test/test_import.py 228s Filename: /tmp/autopkgtest.5sfJed/autopkgtest_tmp/test/test_import.py 228s 228s Line # Mem usage Increment Occurrences Line Contents 228s ============================================================= 228s 4 16.0 MiB 16.0 MiB 1 @profile 228s 5 def my_func(): 228s 6 19.9 MiB 3.9 MiB 1 a = [1] * (10 ** 6) 228s 7 96.1 MiB 76.2 MiB 1 b = [2] * (2 * 10 ** 7) 228s 8 19.9 MiB -76.2 MiB 1 del b 228s 9 19.9 MiB 0.0 MiB 1 return a 228s 228s 228s python3.14 test/test_memory_usage.py 231s python3.14 test/test_precision_import.py 234s Filename: /tmp/autopkgtest.5sfJed/autopkgtest_tmp/test/test_precision_import.py 234s 234s Line # Mem usage Increment Occurrences Line Contents 234s ============================================================= 234s 13 16.0000 MiB 16.0000 MiB 1 @profile(precision=4) 234s 14 def test_1(): 234s 15 19.8750 MiB 3.8750 MiB 1 a = [1] * (10 ** 6) 234s 16 96.1250 MiB 76.2500 MiB 1 b = [2] * (2 * 10 ** 7) 234s 17 96.1250 MiB 0.0000 MiB 1 time.sleep(0.6) 234s 18 19.8906 MiB -76.2344 MiB 1 del b 234s 19 234s 20 19.8906 MiB 0.0000 MiB 3 for i in range(2): 234s 21 19.8906 MiB 0.0000 MiB 2 a = [1] * (10 ** 6) 234s 22 96.1406 MiB 152.5000 MiB 2 b = [2] * (2 * 10 ** 7) 234s 23 19.8906 MiB -152.5000 MiB 2 del b 234s 24 19.8906 MiB 0.0000 MiB 1 return a 234s 234s 234s Filename: /tmp/autopkgtest.5sfJed/autopkgtest_tmp/test/test_precision_import.py 234s 234s Line # Mem usage Increment Occurrences Line Contents 234s ============================================================= 234s 26 16.07422 MiB 16.07422 MiB 1 @profile(precision=5) 234s 27 def test_2(): 234s 28 16.07422 MiB 0.00000 MiB 1 a = {} 234s 29 16.07422 MiB 0.00000 MiB 1 time.sleep(0.5) 234s 30 16.44922 MiB 0.25000 MiB 10001 for i in range(10000): 234s 31 16.44922 MiB 0.12500 MiB 10000 a[i] = i + 1 234s 32 16.44922 MiB 0.00000 MiB 1 time.sleep(0.6) 234s 33 16.44922 MiB 0.00000 MiB 1 return 234s 234s 234s python3.14 test/test_exception.py 235s Traceback (most recent call last): 236s File "", line 1, in 236s from multiprocessing.forkserver import main; main(5, 7, ['__main__'], **{'sys_path': ['/tmp/autopkgtest.5sfJed/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.5sfJed/autopkgtest_tmp/test/test_exception.py', 'authkey_r': 9}) 236s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 236s File "/usr/lib/python3.14/multiprocessing/forkserver.py", line 217, in main 236s spawn.import_main_path(main_path) 236s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 236s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 307, in import_main_path 236s _fixup_main_from_path(main_path) 236s ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 236s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 297, in _fixup_main_from_path 236s main_content = runpy.run_path(main_path, 236s run_name="__mp_main__") 236s File "", line 287, in run_path 236s File "", line 98, in _run_module_code 236s File "", line 88, in _run_code 236s File "/tmp/autopkgtest.5sfJed/autopkgtest_tmp/test/test_exception.py", line 9, in 236s out = memory_usage((foo, tuple(), {}), timeout=1) 236s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 372, in memory_usage 236s p.start() 236s ~~~~~~~^^ 236s File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start 236s self._popen = self._Popen(self) 236s ~~~~~~~~~~~^^^^^^ 236s File "/usr/lib/python3.14/multiprocessing/context.py", line 224, in _Popen 236s return _default_context.get_context().Process._Popen(process_obj) 236s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 236s File "/usr/lib/python3.14/multiprocessing/context.py", line 300, in _Popen 236s return Popen(process_obj) 236s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__ 236s super().__init__(process_obj) 236s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 236s File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__ 236s self._launch(process_obj) 236s ~~~~~~~~~~~~^^^^^^^^^^^^^ 236s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 42, in _launch 236s prep_data = spawn.get_preparation_data(process_obj._name) 236s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 164, in get_preparation_data 236s _check_not_importing_main() 236s ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 236s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 140, in _check_not_importing_main 236s raise RuntimeError(''' 236s ...<16 lines>... 236s ''') 236s RuntimeError: 236s An attempt has been made to start a new process before the 236s current process has finished its bootstrapping phase. 236s 236s This probably means that you are not using fork to start your 236s child processes and you have forgotten to use the proper idiom 236s in the main module: 236s 236s if __name__ == '__main__': 236s freeze_support() 236s ... 236s 236s The "freeze_support()" line can be omitted if the program 236s is not going to be frozen to produce an executable. 236s 236s To fix this issue, refer to the "Safe importing of main module" 236s section in https://docs.python.org/3/library/multiprocessing.html 236s 236s Traceback (most recent call last): 236s File "/tmp/autopkgtest.5sfJed/autopkgtest_tmp/test/test_exception.py", line 9, in 236s out = memory_usage((foo, tuple(), {}), timeout=1) 236s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 372, in memory_usage 236s p.start() 236s ~~~~~~~^^ 236s File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start 236s self._popen = self._Popen(self) 236s ~~~~~~~~~~~^^^^^^ 236s File "/usr/lib/python3.14/multiprocessing/context.py", line 224, in _Popen 236s return _default_context.get_context().Process._Popen(process_obj) 236s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 236s File "/usr/lib/python3.14/multiprocessing/context.py", line 300, in _Popen 236s return Popen(process_obj) 236s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__ 236s super().__init__(process_obj) 236s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 236s File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__ 236s self._launch(process_obj) 236s ~~~~~~~~~~~~^^^^^^^^^^^^^ 236s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 51, in _launch 236s self.sentinel, w = forkserver.connect_to_new_process(self._fds) 236s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 236s File "/usr/lib/python3.14/multiprocessing/forkserver.py", line 106, in connect_to_new_process 236s connection.answer_challenge( 236s ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 236s wrapped_client, self._forkserver_authkey) 236s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 236s File "/usr/lib/python3.14/multiprocessing/connection.py", line 970, in answer_challenge 236s message = connection.recv_bytes(256) # reject large message 236s File "/usr/lib/python3.14/multiprocessing/connection.py", line 222, in recv_bytes 236s buf = self._recv_bytes(maxlength) 236s File "/usr/lib/python3.14/multiprocessing/connection.py", line 447, in _recv_bytes 236s buf = self._recv(4) 236s File "/usr/lib/python3.14/multiprocessing/connection.py", line 412, in _recv 236s chunk = read(handle, to_read) 236s ConnectionResetError: [Errno 104] Connection reset by peer 236s make: *** [Makefile:18: test] Error 1 236s autopkgtest [22:03:39]: test command1: -----------------------] 239s autopkgtest [22:03:43]: test command1: - - - - - - - - - - results - - - - - - - - - - 239s command1 FAIL non-zero exit status 2 243s autopkgtest [22:03:47]: @@@@@@@@@@@@@@@@@@@@ summary 243s command1 FAIL non-zero exit status 2