0s autopkgtest [21:19:04]: starting date and time: 2026-01-22 21:19:04+0000 0s autopkgtest [21:19:04]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [21:19:04]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.c24fe3vm/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-ppc64el --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-ppc64el-13.secgroup --name adt-resolute-ppc64el-python-memory-profiler-20260122-211904-juju-7f2275-prod-proposed-migration-environment-15-52be1e73-7694-4ab0-9ce7-86a8dda99fb9 --image adt/ubuntu-resolute-ppc64el-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-ppc64el -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-ppc64el-python-memory-profiler-20260122-211904-juju-7f2275-prod-proposed-migration-environment-15-52be1e73-7694-4ab0-9ce7-86a8dda99fb9 from image adt/ubuntu-resolute-ppc64el-server-20260122.img (UUID 987e5803-394f-43eb-a969-151b6b75a57a)... 65s autopkgtest [21:20:09]: testbed dpkg architecture: ppc64el 65s autopkgtest [21:20:09]: testbed apt version: 3.1.12 65s autopkgtest [21:20:09]: @@@@@@@@@@@@@@@@@@@@ test bed setup 65s autopkgtest [21:20:09]: testbed release detected to be: None 66s autopkgtest [21:20:10]: updating testbed package index (apt update) 66s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 66s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 66s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 66s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 66s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1011 kB] 67s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.2 kB] 67s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 67s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [81.6 kB] 67s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el Packages [100 kB] 67s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/universe ppc64el Packages [703 kB] 67s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse ppc64el Packages [5552 B] 67s Fetched 2050 kB in 1s (2232 kB/s) 68s Reading package lists... 69s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 69s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 69s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 69s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 70s Reading package lists... 70s Reading package lists... 70s Building dependency tree... 70s Reading state information... 70s Calculating upgrade... 70s The following packages were automatically installed and are no longer required: 70s python3.13 python3.13-minimal 70s Use 'sudo apt autoremove' to remove them. 70s The following NEW packages will be installed: 70s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 70s The following packages will be upgraded: 70s libplymouth5 libpython3-stdlib plymouth plymouth-theme-ubuntu-text python3 70s python3-gdbm python3-minimal 70s 7 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 70s Need to get 7312 kB of archives. 70s After this operation, 27.7 MB of additional disk space will be used. 70s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-minimal ppc64el 3.14.2-1 [921 kB] 71s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14-minimal ppc64el 3.14.2-1 [2712 kB] 71s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-gdbm ppc64el 3.14.2-1 [11.1 kB] 71s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-minimal ppc64el 3.14.2-1 [28.2 kB] 71s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3 ppc64el 3.14.2-1 [22.9 kB] 71s Get:6 http://ftpmaster.internal/ubuntu resolute/main ppc64el libpython3.14-stdlib ppc64el 3.14.2-1 [2444 kB] 71s Get:7 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.14 ppc64el 3.14.2-1 [816 kB] 71s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el libpython3-stdlib ppc64el 3.14.2-1 [10.9 kB] 71s Get:9 http://ftpmaster.internal/ubuntu resolute/main ppc64el libplymouth5 ppc64el 24.004.60+git20250831.4a3c171d-0ubuntu4 [174 kB] 71s Get:10 http://ftpmaster.internal/ubuntu resolute/main ppc64el plymouth-theme-ubuntu-text ppc64el 24.004.60+git20250831.4a3c171d-0ubuntu4 [11.2 kB] 71s Get:11 http://ftpmaster.internal/ubuntu resolute/main ppc64el plymouth ppc64el 24.004.60+git20250831.4a3c171d-0ubuntu4 [160 kB] 72s dpkg-preconfigure: unable to re-open stdin: No such file or directory 72s Fetched 7312 kB in 1s (8012 kB/s) 72s Selecting previously unselected package libpython3.14-minimal:ppc64el. 72s (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 ... 120824 files and directories currently installed.) 72s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_ppc64el.deb ... 72s Unpacking libpython3.14-minimal:ppc64el (3.14.2-1) ... 72s Selecting previously unselected package python3.14-minimal. 72s Preparing to unpack .../python3.14-minimal_3.14.2-1_ppc64el.deb ... 72s Unpacking python3.14-minimal (3.14.2-1) ... 73s Preparing to unpack .../python3-gdbm_3.14.2-1_ppc64el.deb ... 73s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-1) ... 73s Setting up libpython3.14-minimal:ppc64el (3.14.2-1) ... 73s Setting up python3.14-minimal (3.14.2-1) ... 74s (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 ... 121166 files and directories currently installed.) 74s Preparing to unpack .../python3-minimal_3.14.2-1_ppc64el.deb ... 74s Unpacking python3-minimal (3.14.2-1) over (3.13.7-1) ... 74s Setting up python3-minimal (3.14.2-1) ... 75s (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 ... 121166 files and directories currently installed.) 75s Preparing to unpack .../0-python3_3.14.2-1_ppc64el.deb ... 75s running python pre-rtupdate hooks for python3.14... 75s Unpacking python3 (3.14.2-1) over (3.13.7-1) ... 75s Selecting previously unselected package libpython3.14-stdlib:ppc64el. 75s Preparing to unpack .../1-libpython3.14-stdlib_3.14.2-1_ppc64el.deb ... 75s Unpacking libpython3.14-stdlib:ppc64el (3.14.2-1) ... 75s Selecting previously unselected package python3.14. 75s Preparing to unpack .../2-python3.14_3.14.2-1_ppc64el.deb ... 75s Unpacking python3.14 (3.14.2-1) ... 75s Preparing to unpack .../3-libpython3-stdlib_3.14.2-1_ppc64el.deb ... 75s Unpacking libpython3-stdlib:ppc64el (3.14.2-1) over (3.13.7-1) ... 75s Preparing to unpack .../4-libplymouth5_24.004.60+git20250831.4a3c171d-0ubuntu4_ppc64el.deb ... 76s Unpacking libplymouth5:ppc64el (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 76s Preparing to unpack .../5-plymouth-theme-ubuntu-text_24.004.60+git20250831.4a3c171d-0ubuntu4_ppc64el.deb ... 76s Unpacking plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 76s Preparing to unpack .../6-plymouth_24.004.60+git20250831.4a3c171d-0ubuntu4_ppc64el.deb ... 76s Unpacking plymouth (24.004.60+git20250831.4a3c171d-0ubuntu4) over (24.004.60+git20250831.4a3c171d-0ubuntu3) ... 76s Setting up libpython3.14-stdlib:ppc64el (3.14.2-1) ... 76s Setting up libplymouth5:ppc64el (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 76s Setting up python3.14 (3.14.2-1) ... 77s Setting up libpython3-stdlib:ppc64el (3.14.2-1) ... 77s Setting up python3-gdbm (3.14.2-1) ... 78s Setting up plymouth (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 78s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 78s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 78s Setting up python3 (3.14.2-1) ... 78s running python rtupdate hooks for python3.14... 78s running python post-rtupdate hooks for python3.14... 79s Processing triggers for libc-bin (2.42-2ubuntu4) ... 79s Processing triggers for systemd (259-1ubuntu2) ... 79s Processing triggers for man-db (2.13.1-1) ... 82s Processing triggers for initramfs-tools (0.150ubuntu7) ... 82s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 89s Setting up plymouth-theme-ubuntu-text (24.004.60+git20250831.4a3c171d-0ubuntu4) ... 90s Processing triggers for initramfs-tools (0.150ubuntu7) ... 90s update-initramfs: Generating /boot/initrd.img-6.18.0-9-generic 95s autopkgtest [21:20:39]: upgrading testbed (apt dist-upgrade and autopurge) 96s Reading package lists... 96s Building dependency tree... 96s Reading state information... 96s Calculating upgrade... 96s The following packages were automatically installed and are no longer required: 96s python3.13 python3.13-minimal 96s Use 'sudo apt autoremove' to remove them. 96s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 96s Reading package lists... 96s Building dependency tree... 96s Reading state information... 96s Solving dependencies... 96s The following packages will be REMOVED: 96s python3.13* python3.13-minimal* 97s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 97s After this operation, 9077 kB disk space will be freed. 97s (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 ... 121596 files and directories currently installed.) 97s Removing python3.13 (3.13.11-1) ... 97s Removing python3.13-minimal (3.13.11-1) ... 98s Processing triggers for man-db (2.13.1-1) ... 99s Processing triggers for systemd (259-1ubuntu2) ... 99s (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 ... 121569 files and directories currently installed.) 99s Purging configuration files for python3.13-minimal (3.13.11-1) ... 99s autopkgtest [21:20:43]: rebooting testbed after setup commands that affected boot 138s autopkgtest [21:21:22]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:45:54 UTC 2026 148s autopkgtest [21:21:31]: @@@@@@@@@@@@@@@@@@@@ apt-source python-memory-profiler 149s Get:1 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (dsc) [2268 B] 149s Get:2 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (tar) [145 kB] 149s Get:3 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (diff) [4752 B] 150s gpgv: Signature made Sat Dec 7 20:26:18 2024 UTC 150s gpgv: using RSA key AB6B1DBEB0342F27571DED6AB26614B452F446B6 150s gpgv: issuer "mitya57@debian.org" 150s gpgv: Can't check signature: No public key 150s dpkg-source: warning: cannot verify inline signature for ./python-memory-profiler_0.61-2.dsc: no acceptable signature found 150s autopkgtest [21:21:34]: testing package python-memory-profiler version 0.61-2 150s autopkgtest [21:21:34]: build not needed 150s autopkgtest [21:21:34]: test command1: preparing testbed 150s Reading package lists... 150s Building dependency tree... 150s Reading state information... 150s Solving dependencies... 151s The following NEW packages will be installed: 151s python3-all python3-memory-profiler python3-psutil python3.13 151s python3.13-minimal 151s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 151s Need to get 3562 kB of archives. 151s After this operation, 10.4 MB of additional disk space will be used. 151s Get:1 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.13-minimal ppc64el 3.13.11-1 [2571 kB] 151s Get:2 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3.13 ppc64el 3.13.11-1 [758 kB] 151s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main ppc64el python3-all ppc64el 3.14.2-1 [890 B] 151s Get:4 http://ftpmaster.internal/ubuntu resolute/main ppc64el python3-psutil ppc64el 7.1.0-1ubuntu1 [192 kB] 151s Get:5 http://ftpmaster.internal/ubuntu resolute/universe ppc64el python3-memory-profiler all 0.61-2 [39.7 kB] 151s Fetched 3562 kB in 1s (5923 kB/s) 151s Selecting previously unselected package python3.13-minimal. 152s (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 ... 121571 files and directories currently installed.) 152s Preparing to unpack .../python3.13-minimal_3.13.11-1_ppc64el.deb ... 152s Unpacking python3.13-minimal (3.13.11-1) ... 152s Selecting previously unselected package python3.13. 152s Preparing to unpack .../python3.13_3.13.11-1_ppc64el.deb ... 152s Unpacking python3.13 (3.13.11-1) ... 152s Selecting previously unselected package python3-all. 152s Preparing to unpack .../python3-all_3.14.2-1_ppc64el.deb ... 152s Unpacking python3-all (3.14.2-1) ... 152s Selecting previously unselected package python3-psutil. 152s Preparing to unpack .../python3-psutil_7.1.0-1ubuntu1_ppc64el.deb ... 152s Unpacking python3-psutil (7.1.0-1ubuntu1) ... 152s Selecting previously unselected package python3-memory-profiler. 152s Preparing to unpack .../python3-memory-profiler_0.61-2_all.deb ... 152s Unpacking python3-memory-profiler (0.61-2) ... 152s Setting up python3-psutil (7.1.0-1ubuntu1) ... 152s Setting up python3.13-minimal (3.13.11-1) ... 154s Setting up python3-memory-profiler (0.61-2) ... 154s Setting up python3.13 (3.13.11-1) ... 155s Setting up python3-all (3.14.2-1) ... 155s Processing triggers for man-db (2.13.1-1) ... 156s Processing triggers for systemd (259-1ubuntu2) ... 157s autopkgtest [21:21:41]: 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 157s autopkgtest [21:21:41]: test command1: [----------------------- 157s Testing with python3.13: 157s python3.13 -m memory_profiler test/test_func.py 159s Filename: test/test_func.py 159s 159s Line # Mem usage Increment Occurrences Line Contents 159s ============================================================= 159s 2 26.438 MiB 26.438 MiB 2 @profile 159s 3 def test_1(i): 159s 4 # .. will be called twice .. 159s 5 26.438 MiB 0.000 MiB 2 c = {} 159s 6 27.250 MiB 0.000 MiB 10012 for i in range(i): 159s 7 27.250 MiB 0.812 MiB 10010 c[i] = 2 159s 159s 159s python3.13 -m memory_profiler test/test_loop.py 161s Filename: test/test_loop.py 161s 161s Line # Mem usage Increment Occurrences Line Contents 161s ============================================================= 161s 11 27.312 MiB 27.312 MiB 1 @profile 161s 12 def test_2(): 161s 13 35.000 MiB 7.688 MiB 1 a = [1] * (10 ** 6) 161s 14 187.625 MiB 152.625 MiB 1 b = [2] * (2 * 10 ** 7) 161s 15 35.000 MiB -152.625 MiB 1 del b 161s 16 161s 17 35.000 MiB -0.250 MiB 3 for i in range(2): 161s 18 35.000 MiB -0.250 MiB 2 a = [1] * (10 ** 6) 161s 19 187.625 MiB 305.000 MiB 2 b = [2] * (2 * 10 ** 7) 161s 20 35.000 MiB -305.500 MiB 2 del b 161s 21 34.750 MiB -0.250 MiB 1 return a 161s 161s 161s python3.13 -m memory_profiler test/test_mprofile.py 163s Filename: test/test_mprofile.py 163s 163s Line # Mem usage Increment Occurrences Line Contents 163s ============================================================= 163s 5 26.500 MiB 26.500 MiB 1 @profile 163s 6 def test1(l): 163s 7 """test1 docstring""" 163s 8 27.375 MiB 0.875 MiB 1 a = [1] * l 163s 9 27.375 MiB 0.000 MiB 1 time.sleep(1) 163s 10 27.375 MiB 0.000 MiB 1 return a 163s 163s 163s Filename: test/test_mprofile.py 163s 163s Line # Mem usage Increment Occurrences Line Contents 163s ============================================================= 163s 12 26.562 MiB 26.562 MiB 1 @profile 163s 13 def test2(l): 163s 14 28.125 MiB 1.562 MiB 1 b = [1] * l 163s 15 28.125 MiB 0.000 MiB 1 time.sleep(1) 163s 16 28.125 MiB 0.000 MiB 1 return b 163s 163s 163s python3.13 -m memory_profiler test/test_as.py 163s Filename: test/test_as.py 163s 163s Line # Mem usage Increment Occurrences Line Contents 163s ============================================================= 163s 3 26.375 MiB 26.375 MiB 1 @profile 163s 4 def f(): 163s 5 26.375 MiB 0.000 MiB 1 o = math.sqrt(2013) 163s 6 26.375 MiB 0.000 MiB 1 return o 163s 163s 163s python3.13 -m memory_profiler test/test_global.py 163s python3.13 -m memory_profiler test/test_precision_command_line.py 166s Filename: test/test_precision_command_line.py 166s 166s Line # Mem usage Increment Occurrences Line Contents 166s ============================================================= 166s 11 26.500 MiB 26.500 MiB 1 @profile(precision=4) 166s 12 def test_1(): 166s 13 34.188 MiB 7.688 MiB 1 a = [1] * (10 ** 6) 166s 14 186.812 MiB 152.625 MiB 1 b = [2] * (2 * 10 ** 7) 166s 15 186.812 MiB 0.000 MiB 1 time.sleep(0.6) 166s 16 34.188 MiB -152.625 MiB 1 del b 166s 17 166s 18 34.188 MiB -0.062 MiB 3 for i in range(2): 166s 19 34.188 MiB -0.062 MiB 2 a = [1] * (10 ** 6) 166s 20 186.812 MiB 305.188 MiB 2 b = [2] * (2 * 10 ** 7) 166s 21 34.188 MiB -305.312 MiB 2 del b 166s 22 34.125 MiB -0.062 MiB 1 return a 166s 166s 166s Filename: test/test_precision_command_line.py 166s 166s Line # Mem usage Increment Occurrences Line Contents 166s ============================================================= 166s 24 34.188 MiB 34.188 MiB 1 @profile(precision=2) 166s 25 def test_2(): 166s 26 34.188 MiB 0.000 MiB 1 a = {} 166s 27 34.188 MiB 0.000 MiB 1 time.sleep(0.5) 166s 28 34.750 MiB 0.000 MiB 10001 for i in range(10000): 166s 29 34.750 MiB 0.562 MiB 10000 a[i] = i + 1 166s 30 34.750 MiB 0.000 MiB 1 time.sleep(0.6) 166s 31 34.750 MiB 0.000 MiB 1 return 166s 166s 166s python3.13 -m memory_profiler test/test_gen.py 166s Filename: test/test_gen.py 166s 166s Line # Mem usage Increment Occurrences Line Contents 166s ============================================================= 166s 2 26.562 MiB 26.562 MiB 1 @profile 166s 3 def my_func(): 166s 4 34.250 MiB 7.688 MiB 1 a = [1] * (10 ** 6) 166s 5 186.875 MiB 152.625 MiB 1 b = [2] * (2 * 10 ** 7) 166s 6 34.250 MiB -152.625 MiB 1 del b 166s 7 34.250 MiB 0.000 MiB 1 yield a 166s 166s 166s Filename: test/test_gen.py 166s 166s Line # Mem usage Increment Occurrences Line Contents 166s ============================================================= 166s 10 26.562 MiB 26.562 MiB 1 @profile 166s 11 def test_comprehension(): 166s 12 # Dict comprehension 166s 13 38.500 MiB 11.938 MiB 28 d_comp = dict((str(k*k), [v] * (1<<17)) 166s 14 38.500 MiB 0.000 MiB 14 for (v, k) in enumerate(range(99, 111))) 166s 15 166s 16 # List comprehension 166s 17 57.438 MiB 18.938 MiB 100 l_comp = [[i] * (i<<9) for i in range(99)] 166s 18 41.500 MiB -15.938 MiB 1 del l_comp 166s 19 41.500 MiB 0.000 MiB 1 del d_comp 166s 20 166s 21 41.500 MiB 0.000 MiB 4 def hh(x=1): 166s 22 # Set comprehension 166s 23 61.188 MiB 19.688 MiB 135 s_comp = set(('Z',) * (k<<13) for k in range(x, 19 + 2*x)) 166s 24 61.188 MiB 0.000 MiB 3 return s_comp 166s 25 166s 26 41.500 MiB 0.000 MiB 1 val = [range(1, 4), max(1, 4), 42 + len(hh())] 166s 27 61.188 MiB 0.000 MiB 1 val = hh() | hh(4) 166s 28 61.188 MiB 0.000 MiB 1 val.add(40) 166s 29 67.500 MiB 6.312 MiB 100 l1_comp = [[(1, i)] * (i<<9) for i in range(99)] 166s 30 86.312 MiB 18.812 MiB 100 l2_comp = [[(3, i)] * (i<<9) for i in range(99)] 166s 31 166s 32 86.312 MiB 0.000 MiB 1 return val 166s 166s 166s Filename: test/test_gen.py 166s 166s Line # Mem usage Increment Occurrences Line Contents 166s ============================================================= 166s 35 26.562 MiB 26.562 MiB 1 @profile 166s 36 def test_generator(): 166s 37 50.750 MiB 24.188 MiB 9 a_gen = ([42] * (1<<20) for __ in '123') 166s 38 50.750 MiB 0.000 MiB 1 huge_lst = list(a_gen) 166s 39 166s 40 50.750 MiB 0.000 MiB 1 b_gen = ([24] * (1<<20) for __ in '123') 166s 41 50.750 MiB 0.000 MiB 1 del b_gen 166s 42 26.562 MiB -24.188 MiB 1 del huge_lst 166s 43 166s 44 26.562 MiB 0.000 MiB 1 return a_gen 166s 166s 166s python3.13 -m memory_profiler test/test_unicode.py 166s Filename: test/test_unicode.py 166s 166s Line # Mem usage Increment Occurrences Line Contents 166s ============================================================= 166s 2 26.500 MiB 26.500 MiB 1 @profile 166s 3 def test_unicode(txt): 166s 4 # test when unicode is present 166s 5 26.500 MiB 0.000 MiB 1 txt = txt.replace (u"ی", u"ي") #Arabic Yah = ي 166s 6 26.500 MiB 0.000 MiB 1 return txt 166s 166s 166s python3.13 test/test_tracemalloc.py 174s python3.13 test/test_import.py 174s Filename: /tmp/autopkgtest.BYtTas/autopkgtest_tmp/test/test_import.py 174s 174s Line # Mem usage Increment Occurrences Line Contents 174s ============================================================= 174s 4 25.0 MiB 25.0 MiB 1 @profile 174s 5 def my_func(): 174s 6 32.7 MiB 7.7 MiB 1 a = [1] * (10 ** 6) 174s 7 185.3 MiB 152.6 MiB 1 b = [2] * (2 * 10 ** 7) 174s 8 32.7 MiB -152.6 MiB 1 del b 174s 9 32.7 MiB 0.0 MiB 1 return a 174s 174s 174s python3.13 test/test_memory_usage.py 176s python3.13 test/test_precision_import.py 179s Filename: /tmp/autopkgtest.BYtTas/autopkgtest_tmp/test/test_precision_import.py 179s 179s Line # Mem usage Increment Occurrences Line Contents 179s ============================================================= 179s 13 25.1875 MiB 25.1875 MiB 1 @profile(precision=4) 179s 14 def test_1(): 179s 15 32.8750 MiB 7.6875 MiB 1 a = [1] * (10 ** 6) 179s 16 185.5000 MiB 152.6250 MiB 1 b = [2] * (2 * 10 ** 7) 179s 17 185.5000 MiB 0.0000 MiB 1 time.sleep(0.6) 179s 18 32.8750 MiB -152.6250 MiB 1 del b 179s 19 179s 20 32.8750 MiB -0.0625 MiB 3 for i in range(2): 179s 21 32.8750 MiB -0.0625 MiB 2 a = [1] * (10 ** 6) 179s 22 185.5000 MiB 305.1875 MiB 2 b = [2] * (2 * 10 ** 7) 179s 23 32.8750 MiB -305.3125 MiB 2 del b 179s 24 32.8125 MiB -0.0625 MiB 1 return a 179s 179s 179s Filename: /tmp/autopkgtest.BYtTas/autopkgtest_tmp/test/test_precision_import.py 179s 179s Line # Mem usage Increment Occurrences Line Contents 179s ============================================================= 179s 26 33.00000 MiB 33.00000 MiB 1 @profile(precision=5) 179s 27 def test_2(): 179s 28 33.00000 MiB 0.00000 MiB 1 a = {} 179s 29 33.00000 MiB 0.00000 MiB 1 time.sleep(0.5) 179s 30 33.62500 MiB 0.00000 MiB 10001 for i in range(10000): 179s 31 33.62500 MiB 0.62500 MiB 10000 a[i] = i + 1 179s 32 33.62500 MiB 0.00000 MiB 1 time.sleep(0.6) 179s 33 33.62500 MiB 0.00000 MiB 1 return 179s 179s 179s python3.13 test/test_exception.py 179s Success 179s python3.13 test/test_exit_code.py 179s Traceback (most recent call last): 179s File "", line 198, in _run_module_as_main 179s File "", line 88, in _run_code 179s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1348, in 179s exec_with_profiler(script_filename, prof, args.backend, script_args) 179s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 179s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1249, in exec_with_profiler 179s exec(compile(f.read(), filename, 'exec'), ns, ns) 179s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 179s File "/tmp/tmp599him_m.py", line 1, in 179s raise RuntimeError('I am not working nicely') 179s RuntimeError: I am not working nicely 180s ERROR:mprof:Program resulted with a non-zero exit code: 1 180s ..Traceback (most recent call last): 180s File "", line 198, in _run_module_as_main 180s File "", line 88, in _run_code 180s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1348, in 180s exec_with_profiler(script_filename, prof, args.backend, script_args) 180s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 180s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1249, in exec_with_profiler 180s exec(compile(f.read(), filename, 'exec'), ns, ns) 180s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 180s File "/tmp/tmpest5dnoq.py", line 1, in 180s raise RuntimeError('I am not working nicely') 180s RuntimeError: I am not working nicely 180s . 180s ---------------------------------------------------------------------- 180s Ran 3 tests in 0.749s 180s 180s OK 180s : Sampling memory every 0.1s 180s running new process 180s running as a Python program... 180s : Sampling memory every 0.1s 180s running new process 180s running as a Python program... 180s : Sampling memory every 0.1s 180s running new process 180s running as a Python program... 180s python3.13 test/test_mprof.py 180s . 180s ---------------------------------------------------------------------- 180s Ran 1 test in 0.000s 180s 180s OK 180s python3.13 test/test_async.py 180s Filename: /tmp/autopkgtest.BYtTas/autopkgtest_tmp/test/test_async.py 180s 180s Line # Mem usage Increment Occurrences Line Contents 180s ============================================================= 180s 7 25.2 MiB 25.2 MiB 1 @profile 180s 8 async def my_func(): 180s 9 32.9 MiB 7.7 MiB 1 a = [1] * (10 ** 6) 180s 10 185.6 MiB 152.6 MiB 1 b = [2] * (2 * 10 ** 7) 180s 11 185.8 MiB 0.2 MiB 2 await asyncio.sleep(1e-2) 180s 12 33.1 MiB -152.6 MiB 1 del b 180s 180s 180s python3.13 -m mprof run test/test_func.py 180s mprof.py: Sampling memory every 0.1s 180s running new process 180s running as a Python program... 180s Testing with python3.14: 180s python3.14 -m memory_profiler test/test_func.py 180s /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 180s if iscoroutinefunction(func): 182s Filename: test/test_func.py 182s 182s Line # Mem usage Increment Occurrences Line Contents 182s ============================================================= 182s 2 29.312 MiB 29.312 MiB 2 @profile 182s 3 def test_1(i): 182s 4 # .. will be called twice .. 182s 5 29.312 MiB 0.000 MiB 2 c = {} 182s 6 30.062 MiB 0.000 MiB 10012 for i in range(i): 182s 7 30.062 MiB 0.750 MiB 10010 c[i] = 2 182s 182s 182s python3.14 -m memory_profiler test/test_loop.py 182s /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 182s if iscoroutinefunction(func): 184s Filename: test/test_loop.py 184s 184s Line # Mem usage Increment Occurrences Line Contents 184s ============================================================= 184s 11 30.062 MiB 30.062 MiB 1 @profile 184s 12 def test_2(): 184s 13 37.750 MiB 7.688 MiB 1 a = [1] * (10 ** 6) 184s 14 190.375 MiB 152.625 MiB 1 b = [2] * (2 * 10 ** 7) 184s 15 37.750 MiB -152.625 MiB 1 del b 184s 16 184s 17 37.750 MiB -0.312 MiB 3 for i in range(2): 184s 18 37.750 MiB -0.312 MiB 2 a = [1] * (10 ** 6) 184s 19 190.375 MiB 304.938 MiB 2 b = [2] * (2 * 10 ** 7) 184s 20 37.750 MiB -305.562 MiB 2 del b 184s 21 37.438 MiB -0.312 MiB 1 return a 184s 184s 184s python3.14 -m memory_profiler test/test_mprofile.py 184s /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 184s if iscoroutinefunction(func): 186s Filename: test/test_mprofile.py 186s 186s Line # Mem usage Increment Occurrences Line Contents 186s ============================================================= 186s 5 29.375 MiB 29.375 MiB 1 @profile 186s 6 def test1(l): 186s 7 """test1 docstring""" 186s 8 30.188 MiB 0.812 MiB 1 a = [1] * l 186s 9 30.188 MiB 0.000 MiB 1 time.sleep(1) 186s 10 30.188 MiB 0.000 MiB 1 return a 186s 186s 186s Filename: test/test_mprofile.py 186s 186s Line # Mem usage Increment Occurrences Line Contents 186s ============================================================= 186s 12 29.375 MiB 29.375 MiB 1 @profile 186s 13 def test2(l): 186s 14 30.938 MiB 1.562 MiB 1 b = [1] * l 186s 15 30.938 MiB 0.000 MiB 1 time.sleep(1) 186s 16 30.938 MiB 0.000 MiB 1 return b 186s 186s 186s python3.14 -m memory_profiler test/test_as.py 186s /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 186s if iscoroutinefunction(func): 186s Filename: test/test_as.py 186s 186s Line # Mem usage Increment Occurrences Line Contents 186s ============================================================= 186s 3 29.312 MiB 29.312 MiB 1 @profile 186s 4 def f(): 186s 5 29.312 MiB 0.000 MiB 1 o = math.sqrt(2013) 186s 6 29.312 MiB 0.000 MiB 1 return o 186s 186s 186s python3.14 -m memory_profiler test/test_global.py 186s python3.14 -m memory_profiler test/test_precision_command_line.py 186s /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 186s if iscoroutinefunction(func): 189s Filename: test/test_precision_command_line.py 189s 189s Line # Mem usage Increment Occurrences Line Contents 189s ============================================================= 189s 11 29.375 MiB 29.375 MiB 1 @profile(precision=4) 189s 12 def test_1(): 189s 13 37.062 MiB 7.688 MiB 1 a = [1] * (10 ** 6) 189s 14 189.688 MiB 152.625 MiB 1 b = [2] * (2 * 10 ** 7) 189s 15 189.688 MiB 0.000 MiB 1 time.sleep(0.6) 189s 16 37.062 MiB -152.625 MiB 1 del b 189s 17 189s 18 37.062 MiB 0.000 MiB 3 for i in range(2): 189s 19 37.062 MiB 0.000 MiB 2 a = [1] * (10 ** 6) 189s 20 189.688 MiB 305.250 MiB 2 b = [2] * (2 * 10 ** 7) 189s 21 37.062 MiB -305.250 MiB 2 del b 189s 22 37.062 MiB 0.000 MiB 1 return a 189s 189s 189s Filename: test/test_precision_command_line.py 189s 189s Line # Mem usage Increment Occurrences Line Contents 189s ============================================================= 189s 24 37.062 MiB 37.062 MiB 1 @profile(precision=2) 189s 25 def test_2(): 189s 26 37.062 MiB 0.000 MiB 1 a = {} 189s 27 37.062 MiB 0.000 MiB 1 time.sleep(0.5) 189s 28 37.625 MiB 0.000 MiB 10001 for i in range(10000): 189s 29 37.625 MiB 0.562 MiB 10000 a[i] = i + 1 189s 30 37.625 MiB 0.000 MiB 1 time.sleep(0.6) 189s 31 37.625 MiB 0.000 MiB 1 return 189s 189s 189s python3.14 -m memory_profiler test/test_gen.py 189s /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 189s if iscoroutinefunction(func): 190s Filename: test/test_gen.py 190s 190s Line # Mem usage Increment Occurrences Line Contents 190s ============================================================= 190s 2 29.375 MiB 29.375 MiB 1 @profile 190s 3 def my_func(): 190s 4 37.062 MiB 7.688 MiB 1 a = [1] * (10 ** 6) 190s 5 189.688 MiB 152.625 MiB 1 b = [2] * (2 * 10 ** 7) 190s 6 37.062 MiB -152.625 MiB 1 del b 190s 7 37.062 MiB 0.000 MiB 2 yield a 190s 190s 190s Filename: test/test_gen.py 190s 190s Line # Mem usage Increment Occurrences Line Contents 190s ============================================================= 190s 10 29.375 MiB 29.375 MiB 1 @profile 190s 11 def test_comprehension(): 190s 12 # Dict comprehension 190s 13 41.312 MiB 11.938 MiB 28 d_comp = dict((str(k*k), [v] * (1<<17)) 190s 14 41.312 MiB 0.000 MiB 14 for (v, k) in enumerate(range(99, 111))) 190s 15 190s 16 # List comprehension 190s 17 60.188 MiB 18.875 MiB 100 l_comp = [[i] * (i<<9) for i in range(99)] 190s 18 44.250 MiB -15.938 MiB 1 del l_comp 190s 19 44.250 MiB 0.000 MiB 1 del d_comp 190s 20 190s 21 44.250 MiB 0.000 MiB 4 def hh(x=1): 190s 22 # Set comprehension 190s 23 64.000 MiB 19.750 MiB 135 s_comp = set(('Z',) * (k<<13) for k in range(x, 19 + 2*x)) 190s 24 64.000 MiB 0.000 MiB 3 return s_comp 190s 25 190s 26 44.250 MiB 0.000 MiB 1 val = [range(1, 4), max(1, 4), 42 + len(hh())] 190s 27 64.000 MiB 0.000 MiB 1 val = hh() | hh(4) 190s 28 64.000 MiB 0.000 MiB 1 val.add(40) 190s 29 70.250 MiB 6.250 MiB 100 l1_comp = [[(1, i)] * (i<<9) for i in range(99)] 190s 30 89.125 MiB 18.875 MiB 100 l2_comp = [[(3, i)] * (i<<9) for i in range(99)] 190s 31 190s 32 89.125 MiB 0.000 MiB 1 return val 190s 190s 190s Filename: test/test_gen.py 190s 190s Line # Mem usage Increment Occurrences Line Contents 190s ============================================================= 190s 35 29.375 MiB 29.375 MiB 1 @profile 190s 36 def test_generator(): 190s 37 53.562 MiB 24.188 MiB 9 a_gen = ([42] * (1<<20) for __ in '123') 190s 38 53.562 MiB 0.000 MiB 1 huge_lst = list(a_gen) 190s 39 190s 40 53.562 MiB 0.000 MiB 1 b_gen = ([24] * (1<<20) for __ in '123') 190s 41 53.562 MiB 0.000 MiB 1 del b_gen 190s 42 29.375 MiB -24.188 MiB 1 del huge_lst 190s 43 190s 44 29.375 MiB 0.000 MiB 1 return a_gen 190s 190s 190s python3.14 -m memory_profiler test/test_unicode.py 190s Filename: test/test_unicode.py 190s 190s Line # Mem usage Increment Occurrences Line Contents 190s ============================================================= 190s 2 29.312 MiB 29.312 MiB 1 @profile 190s 3 def test_unicode(txt): 190s 4 # test when unicode is present 190s 5 29.312 MiB 0.000 MiB 1 txt = txt.replace (u"ی", u"ي") #Arabic Yah = ي 190s 6 29.312 MiB 0.000 MiB 1 return txt 190s 190s 190s /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 190s if iscoroutinefunction(func): 190s python3.14 test/test_tracemalloc.py 197s python3.14 test/test_import.py 197s Filename: /tmp/autopkgtest.BYtTas/autopkgtest_tmp/test/test_import.py 197s 197s Line # Mem usage Increment Occurrences Line Contents 197s ============================================================= 197s 4 28.6 MiB 28.6 MiB 1 @profile 197s 5 def my_func(): 197s 6 36.2 MiB 7.7 MiB 1 a = [1] * (10 ** 6) 197s 7 188.9 MiB 152.6 MiB 1 b = [2] * (2 * 10 ** 7) 197s 8 36.2 MiB -152.6 MiB 1 del b 197s 9 36.2 MiB 0.0 MiB 1 return a 197s 197s 197s python3.14 test/test_memory_usage.py 199s python3.14 test/test_precision_import.py 203s Filename: /tmp/autopkgtest.BYtTas/autopkgtest_tmp/test/test_precision_import.py 203s 203s Line # Mem usage Increment Occurrences Line Contents 203s ============================================================= 203s 13 28.6875 MiB 28.6875 MiB 1 @profile(precision=4) 203s 14 def test_1(): 203s 15 36.3750 MiB 7.6875 MiB 1 a = [1] * (10 ** 6) 203s 16 189.0000 MiB 152.6250 MiB 1 b = [2] * (2 * 10 ** 7) 203s 17 189.0000 MiB 0.0000 MiB 1 time.sleep(0.6) 203s 18 36.3750 MiB -152.6250 MiB 1 del b 203s 19 203s 20 36.3750 MiB -0.1250 MiB 3 for i in range(2): 203s 21 36.3750 MiB -0.1250 MiB 2 a = [1] * (10 ** 6) 203s 22 189.0000 MiB 305.1250 MiB 2 b = [2] * (2 * 10 ** 7) 203s 23 36.3750 MiB -305.3750 MiB 2 del b 203s 24 36.2500 MiB -0.1250 MiB 1 return a 203s 203s 203s Filename: /tmp/autopkgtest.BYtTas/autopkgtest_tmp/test/test_precision_import.py 203s 203s Line # Mem usage Increment Occurrences Line Contents 203s ============================================================= 203s 26 36.31250 MiB 36.31250 MiB 1 @profile(precision=5) 203s 27 def test_2(): 203s 28 36.31250 MiB 0.00000 MiB 1 a = {} 203s 29 36.31250 MiB 0.00000 MiB 1 time.sleep(0.5) 203s 30 36.93750 MiB 0.00000 MiB 10001 for i in range(10000): 203s 31 36.93750 MiB 0.62500 MiB 10000 a[i] = i + 1 203s 32 36.93750 MiB 0.00000 MiB 1 time.sleep(0.6) 203s 33 36.93750 MiB 0.00000 MiB 1 return 203s 203s 203s python3.14 test/test_exception.py 203s Traceback (most recent call last): 203s File "", line 1, in 203s from multiprocessing.forkserver import main; main(5, 7, ['__main__'], **{'sys_path': ['/tmp/autopkgtest.BYtTas/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.BYtTas/autopkgtest_tmp/test/test_exception.py', 'authkey_r': 9}) 203s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 203s File "/usr/lib/python3.14/multiprocessing/forkserver.py", line 217, in main 203s spawn.import_main_path(main_path) 203s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 203s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 307, in import_main_path 203s _fixup_main_from_path(main_path) 203s ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 203s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 297, in _fixup_main_from_path 203s main_content = runpy.run_path(main_path, 203s run_name="__mp_main__") 203s File "", line 287, in run_path 203s File "", line 98, in _run_module_code 203s File "", line 88, in _run_code 203s File "/tmp/autopkgtest.BYtTas/autopkgtest_tmp/test/test_exception.py", line 9, in 203s out = memory_usage((foo, tuple(), {}), timeout=1) 203s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 372, in memory_usage 203s p.start() 203s ~~~~~~~^^ 203s File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start 203s self._popen = self._Popen(self) 203s ~~~~~~~~~~~^^^^^^ 203s File "/usr/lib/python3.14/multiprocessing/context.py", line 224, in _Popen 203s return _default_context.get_context().Process._Popen(process_obj) 203s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 203s File "/usr/lib/python3.14/multiprocessing/context.py", line 300, in _Popen 203s return Popen(process_obj) 203s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__ 203s super().__init__(process_obj) 203s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 203s File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__ 203s self._launch(process_obj) 203s ~~~~~~~~~~~~^^^^^^^^^^^^^ 203s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 42, in _launch 203s prep_data = spawn.get_preparation_data(process_obj._name) 203s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 164, in get_preparation_data 203s _check_not_importing_main() 203s ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 203s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 140, in _check_not_importing_main 203s raise RuntimeError(''' 203s ...<16 lines>... 203s ''') 203s RuntimeError: 203s An attempt has been made to start a new process before the 203s current process has finished its bootstrapping phase. 203s 203s This probably means that you are not using fork to start your 203s child processes and you have forgotten to use the proper idiom 203s in the main module: 203s 203s if __name__ == '__main__': 203s freeze_support() 203s ... 203s 203s The "freeze_support()" line can be omitted if the program 203s is not going to be frozen to produce an executable. 203s 203s To fix this issue, refer to the "Safe importing of main module" 203s section in https://docs.python.org/3/library/multiprocessing.html 203s 203s Traceback (most recent call last): 203s File "/tmp/autopkgtest.BYtTas/autopkgtest_tmp/test/test_exception.py", line 9, in 203s out = memory_usage((foo, tuple(), {}), timeout=1) 203s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 372, in memory_usage 203s p.start() 203s ~~~~~~~^^ 203s File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start 203s self._popen = self._Popen(self) 203s ~~~~~~~~~~~^^^^^^ 203s File "/usr/lib/python3.14/multiprocessing/context.py", line 224, in _Popen 203s return _default_context.get_context().Process._Popen(process_obj) 203s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 203s File "/usr/lib/python3.14/multiprocessing/context.py", line 300, in _Popen 203s return Popen(process_obj) 203s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__ 203s super().__init__(process_obj) 203s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 203s File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__ 203s self._launch(process_obj) 203s ~~~~~~~~~~~~^^^^^^^^^^^^^ 203s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 51, in _launch 203s self.sentinel, w = forkserver.connect_to_new_process(self._fds) 203s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 203s File "/usr/lib/python3.14/multiprocessing/forkserver.py", line 106, in connect_to_new_process 203s connection.answer_challenge( 203s ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 203s wrapped_client, self._forkserver_authkey) 203s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 203s File "/usr/lib/python3.14/multiprocessing/connection.py", line 970, in answer_challenge 203s message = connection.recv_bytes(256) # reject large message 203s File "/usr/lib/python3.14/multiprocessing/connection.py", line 222, in recv_bytes 203s buf = self._recv_bytes(maxlength) 203s File "/usr/lib/python3.14/multiprocessing/connection.py", line 447, in _recv_bytes 203s buf = self._recv(4) 203s File "/usr/lib/python3.14/multiprocessing/connection.py", line 412, in _recv 203s chunk = read(handle, to_read) 203s ConnectionResetError: [Errno 104] Connection reset by peer 203s make: *** [Makefile:18: test] Error 1 203s autopkgtest [21:22:27]: test command1: -----------------------] 204s command1 FAIL non-zero exit status 2 204s autopkgtest [21:22:28]: test command1: - - - - - - - - - - results - - - - - - - - - - 204s autopkgtest [21:22:28]: @@@@@@@@@@@@@@@@@@@@ summary 204s command1 FAIL non-zero exit status 2