0s autopkgtest [14:54:10]: starting date and time: 2026-01-24 14:54:10+0000 0s autopkgtest [14:54:10]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [14:54:10]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.4521d02v/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-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@sto01-10.secgroup --name adt-resolute-amd64-python-memory-profiler-20260124-145409-juju-7f2275-prod-proposed-migration-environment-20-c45ed727-5b1b-4d73-9489-d8fa361e0ea6 --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-amd64-python-memory-profiler-20260124-145409-juju-7f2275-prod-proposed-migration-environment-20-c45ed727-5b1b-4d73-9489-d8fa361e0ea6 from image adt/ubuntu-resolute-amd64-server-20260124.img (UUID 46811f22-3700-43f4-953b-ee3c613d71bb)... 84s autopkgtest [14:55:34]: testbed dpkg architecture: amd64 85s autopkgtest [14:55:35]: testbed apt version: 3.1.13 85s autopkgtest [14:55:35]: @@@@@@@@@@@@@@@@@@@@ test bed setup 85s autopkgtest [14:55:35]: testbed release detected to be: None 86s autopkgtest [14:55:36]: updating testbed package index (apt update) 86s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 86s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 86s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 86s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 86s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [91.5 kB] 86s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 86s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [994 kB] 86s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [24.3 kB] 86s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [113 kB] 86s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [96.0 kB] 86s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [3712 B] 86s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [12.3 kB] 86s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3696 B] 87s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 87s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [373 kB] 87s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [876 kB] 87s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [24.9 kB] 87s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [12.4 kB] 87s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4704 B] 87s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [824 B] 87s Fetched 2758 kB in 1s (2721 kB/s) 88s Reading package lists... 88s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 88s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 88s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 88s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 89s Reading package lists... 89s Reading package lists... 89s Building dependency tree... 89s Reading state information... 89s Calculating upgrade... 89s The following packages were automatically installed and are no longer required: 89s python3.13 python3.13-minimal 89s Use 'sudo apt autoremove' to remove them. 89s The following NEW packages will be installed: 89s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 89s The following packages will be upgraded: 89s libpython3-stdlib python3 python3-gdbm python3-minimal rust-coreutils 89s 5 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 89s Need to get 10.4 MB of archives. 89s After this operation, 25.2 MB of additional disk space will be used. 89s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.2-1 [920 kB] 90s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.14-minimal amd64 3.14.2-1 [2563 kB] 90s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-minimal amd64 3.14.2-1 [28.2 kB] 90s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3 amd64 3.14.2-1 [22.9 kB] 90s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.2-1 [2398 kB] 90s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.14 amd64 3.14.2-1 [816 kB] 90s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libpython3-stdlib amd64 3.14.2-1 [10.9 kB] 90s Get:8 http://ftpmaster.internal/ubuntu resolute/main amd64 rust-coreutils amd64 0.5.0-0ubuntu1 [3628 kB] 90s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-gdbm amd64 3.14.2-1 [11.1 kB] 90s dpkg-preconfigure: unable to re-open stdin: No such file or directory 90s Fetched 10.4 MB in 1s (16.1 MB/s) 90s Selecting previously unselected package libpython3.14-minimal:amd64. 90s (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 ... 124177 files and directories currently installed.) 90s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_amd64.deb ... 90s Unpacking libpython3.14-minimal:amd64 (3.14.2-1) ... 90s Selecting previously unselected package python3.14-minimal. 90s Preparing to unpack .../python3.14-minimal_3.14.2-1_amd64.deb ... 90s Unpacking python3.14-minimal (3.14.2-1) ... 90s Setting up libpython3.14-minimal:amd64 (3.14.2-1) ... 90s Setting up python3.14-minimal (3.14.2-1) ... 91s (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 ... 124519 files and directories currently installed.) 91s Preparing to unpack .../python3-minimal_3.14.2-1_amd64.deb ... 91s Unpacking python3-minimal (3.14.2-1) over (3.13.9-3) ... 91s Setting up python3-minimal (3.14.2-1) ... 91s (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 ... 124519 files and directories currently installed.) 91s Preparing to unpack .../python3_3.14.2-1_amd64.deb ... 91s running python pre-rtupdate hooks for python3.14... 91s Unpacking python3 (3.14.2-1) over (3.13.9-3) ... 91s Selecting previously unselected package libpython3.14-stdlib:amd64. 91s Preparing to unpack .../libpython3.14-stdlib_3.14.2-1_amd64.deb ... 91s Unpacking libpython3.14-stdlib:amd64 (3.14.2-1) ... 91s Selecting previously unselected package python3.14. 91s Preparing to unpack .../python3.14_3.14.2-1_amd64.deb ... 91s Unpacking python3.14 (3.14.2-1) ... 91s Preparing to unpack .../libpython3-stdlib_3.14.2-1_amd64.deb ... 92s Unpacking libpython3-stdlib:amd64 (3.14.2-1) over (3.13.9-3) ... 92s Preparing to unpack .../rust-coreutils_0.5.0-0ubuntu1_amd64.deb ... 92s Unpacking rust-coreutils (0.5.0-0ubuntu1) over (0.2.2-0ubuntu2) ... 92s Setting up rust-coreutils (0.5.0-0ubuntu1) ... 92s (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 ... 124980 files and directories currently installed.) 92s Preparing to unpack .../python3-gdbm_3.14.2-1_amd64.deb ... 92s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-3) ... 92s Setting up libpython3.14-stdlib:amd64 (3.14.2-1) ... 92s Setting up python3.14 (3.14.2-1) ... 92s Setting up libpython3-stdlib:amd64 (3.14.2-1) ... 92s Setting up python3-gdbm (3.14.2-1) ... 92s Setting up python3 (3.14.2-1) ... 92s running python rtupdate hooks for python3.14... 92s running python post-rtupdate hooks for python3.14... 93s Processing triggers for man-db (2.13.1-1) ... 93s Processing triggers for systemd (259-1ubuntu2) ... 93s autopkgtest [14:55:43]: upgrading testbed (apt dist-upgrade and autopurge) 93s Reading package lists... 93s Building dependency tree... 93s Reading state information... 93s Calculating upgrade... 93s The following packages were automatically installed and are no longer required: 93s python3.13 python3.13-minimal 93s Use 'sudo apt autoremove' to remove them. 93s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 94s Reading package lists... 94s Building dependency tree... 94s Reading state information... 94s Solving dependencies... 94s The following packages will be REMOVED: 94s python3.13* python3.13-minimal* 94s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 94s After this operation, 7860 kB disk space will be freed. 94s (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 ... 124978 files and directories currently installed.) 94s Removing python3.13 (3.13.11-1) ... 94s Removing python3.13-minimal (3.13.11-1) ... 95s Processing triggers for man-db (2.13.1-1) ... 95s Processing triggers for systemd (259-1ubuntu2) ... 95s (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 ... 124951 files and directories currently installed.) 95s Purging configuration files for python3.13-minimal (3.13.11-1) ... 97s autopkgtest [14:55:47]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:49:02 UTC 2026 97s autopkgtest [14:55:47]: @@@@@@@@@@@@@@@@@@@@ apt-source python-memory-profiler 98s Get:1 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (dsc) [2268 B] 98s Get:2 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (tar) [145 kB] 98s Get:3 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (diff) [4752 B] 98s gpgv: Signature made Sat Dec 7 20:26:18 2024 UTC 98s gpgv: using RSA key AB6B1DBEB0342F27571DED6AB26614B452F446B6 98s gpgv: issuer "mitya57@debian.org" 98s gpgv: Can't check signature: No public key 98s dpkg-source: warning: cannot verify inline signature for ./python-memory-profiler_0.61-2.dsc: no acceptable signature found 98s autopkgtest [14:55:48]: testing package python-memory-profiler version 0.61-2 98s autopkgtest [14:55:48]: build not needed 99s autopkgtest [14:55:49]: test command1: preparing testbed 99s Reading package lists... 99s Building dependency tree... 99s Reading state information... 99s Solving dependencies... 99s The following NEW packages will be installed: 99s python3-all python3-memory-profiler python3-psutil python3.13 99s python3.13-minimal 99s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 99s Need to get 3397 kB of archives. 99s After this operation, 9151 kB of additional disk space will be used. 99s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.13-minimal amd64 3.13.11-1 [2408 kB] 99s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.13 amd64 3.13.11-1 [758 kB] 99s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-all amd64 3.14.2-1 [890 B] 99s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-psutil amd64 7.1.0-1ubuntu1 [191 kB] 100s Get:5 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-memory-profiler all 0.61-2 [39.7 kB] 100s Fetched 3397 kB in 0s (7962 kB/s) 100s Selecting previously unselected package python3.13-minimal. 100s (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 ... 124953 files and directories currently installed.) 100s Preparing to unpack .../python3.13-minimal_3.13.11-1_amd64.deb ... 100s Unpacking python3.13-minimal (3.13.11-1) ... 100s Selecting previously unselected package python3.13. 100s Preparing to unpack .../python3.13_3.13.11-1_amd64.deb ... 100s Unpacking python3.13 (3.13.11-1) ... 100s Selecting previously unselected package python3-all. 100s Preparing to unpack .../python3-all_3.14.2-1_amd64.deb ... 100s Unpacking python3-all (3.14.2-1) ... 100s Selecting previously unselected package python3-psutil. 100s Preparing to unpack .../python3-psutil_7.1.0-1ubuntu1_amd64.deb ... 100s Unpacking python3-psutil (7.1.0-1ubuntu1) ... 100s Selecting previously unselected package python3-memory-profiler. 100s Preparing to unpack .../python3-memory-profiler_0.61-2_all.deb ... 100s Unpacking python3-memory-profiler (0.61-2) ... 100s Setting up python3-psutil (7.1.0-1ubuntu1) ... 100s Setting up python3.13-minimal (3.13.11-1) ... 101s Setting up python3-memory-profiler (0.61-2) ... 101s Setting up python3.13 (3.13.11-1) ... 101s Setting up python3-all (3.14.2-1) ... 101s Processing triggers for man-db (2.13.1-1) ... 102s Processing triggers for systemd (259-1ubuntu2) ... 102s autopkgtest [14:55:52]: 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 102s autopkgtest [14:55:52]: test command1: [----------------------- 102s Testing with python3.13: 102s python3.13 -m memory_profiler test/test_func.py 103s Filename: test/test_func.py 103s 103s Line # Mem usage Increment Occurrences Line Contents 103s ============================================================= 103s 2 22.512 MiB 22.512 MiB 2 @profile 103s 3 def test_1(i): 103s 4 # .. will be called twice .. 103s 5 22.512 MiB 0.000 MiB 2 c = {} 103s 6 23.352 MiB 0.000 MiB 10012 for i in range(i): 103s 7 23.352 MiB 0.840 MiB 10010 c[i] = 2 103s 103s 103s python3.13 -m memory_profiler test/test_loop.py 105s Filename: test/test_loop.py 105s 105s Line # Mem usage Increment Occurrences Line Contents 105s ============================================================= 105s 11 23.281 MiB 23.281 MiB 1 @profile 105s 12 def test_2(): 105s 13 30.914 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 105s 14 183.504 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 105s 15 30.914 MiB -152.590 MiB 1 del b 105s 16 105s 17 30.914 MiB -0.262 MiB 3 for i in range(2): 105s 18 30.914 MiB -0.262 MiB 2 a = [1] * (10 ** 6) 105s 19 183.504 MiB 304.918 MiB 2 b = [2] * (2 * 10 ** 7) 105s 20 30.914 MiB -305.441 MiB 2 del b 105s 21 30.652 MiB -0.262 MiB 1 return a 105s 105s 105s python3.13 -m memory_profiler test/test_mprofile.py 107s Filename: test/test_mprofile.py 107s 107s Line # Mem usage Increment Occurrences Line Contents 107s ============================================================= 107s 5 22.559 MiB 22.559 MiB 1 @profile 107s 6 def test1(l): 107s 7 """test1 docstring""" 107s 8 23.328 MiB 0.770 MiB 1 a = [1] * l 107s 9 23.328 MiB 0.000 MiB 1 time.sleep(1) 107s 10 23.328 MiB 0.000 MiB 1 return a 107s 107s 107s Filename: test/test_mprofile.py 107s 107s Line # Mem usage Increment Occurrences Line Contents 107s ============================================================= 107s 12 22.562 MiB 22.562 MiB 1 @profile 107s 13 def test2(l): 107s 14 24.090 MiB 1.527 MiB 1 b = [1] * l 107s 15 24.090 MiB 0.000 MiB 1 time.sleep(1) 107s 16 24.090 MiB 0.000 MiB 1 return b 107s 107s 107s python3.13 -m memory_profiler test/test_as.py 107s Filename: test/test_as.py 107s 107s Line # Mem usage Increment Occurrences Line Contents 107s ============================================================= 107s 3 22.426 MiB 22.426 MiB 1 @profile 107s 4 def f(): 107s 5 22.426 MiB 0.000 MiB 1 o = math.sqrt(2013) 107s 6 22.434 MiB 0.008 MiB 1 return o 107s 107s 107s python3.13 -m memory_profiler test/test_global.py 107s python3.13 -m memory_profiler test/test_precision_command_line.py 110s Filename: test/test_precision_command_line.py 110s 110s Line # Mem usage Increment Occurrences Line Contents 110s ============================================================= 110s 11 22.512 MiB 22.512 MiB 1 @profile(precision=4) 110s 12 def test_1(): 110s 13 30.145 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 110s 14 182.734 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 110s 15 182.734 MiB 0.000 MiB 1 time.sleep(0.6) 110s 16 30.145 MiB -152.590 MiB 1 del b 110s 17 110s 18 30.145 MiB -0.023 MiB 3 for i in range(2): 110s 19 30.145 MiB -0.023 MiB 2 a = [1] * (10 ** 6) 110s 20 182.734 MiB 305.156 MiB 2 b = [2] * (2 * 10 ** 7) 110s 21 30.145 MiB -305.203 MiB 2 del b 110s 22 30.121 MiB -0.023 MiB 1 return a 110s 110s 110s Filename: test/test_precision_command_line.py 110s 110s Line # Mem usage Increment Occurrences Line Contents 110s ============================================================= 110s 24 30.125 MiB 30.125 MiB 1 @profile(precision=2) 110s 25 def test_2(): 110s 26 30.125 MiB 0.000 MiB 1 a = {} 110s 27 30.125 MiB 0.000 MiB 1 time.sleep(0.5) 110s 28 30.730 MiB 0.000 MiB 10001 for i in range(10000): 110s 29 30.730 MiB 0.605 MiB 10000 a[i] = i + 1 110s 30 30.730 MiB 0.000 MiB 1 time.sleep(0.6) 110s 31 30.730 MiB 0.000 MiB 1 return 110s 110s 110s python3.13 -m memory_profiler test/test_gen.py 110s Filename: test/test_gen.py 110s 110s Line # Mem usage Increment Occurrences Line Contents 110s ============================================================= 110s 2 22.574 MiB 22.574 MiB 1 @profile 110s 3 def my_func(): 110s 4 30.207 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 110s 5 182.797 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 110s 6 30.207 MiB -152.590 MiB 1 del b 110s 7 30.207 MiB 0.000 MiB 1 yield a 110s 110s 110s Filename: test/test_gen.py 110s 110s Line # Mem usage Increment Occurrences Line Contents 110s ============================================================= 110s 10 22.574 MiB 22.574 MiB 1 @profile 110s 11 def test_comprehension(): 110s 12 # Dict comprehension 110s 13 34.516 MiB 11.938 MiB 28 d_comp = dict((str(k*k), [v] * (1<<17)) 110s 14 34.516 MiB 0.004 MiB 14 for (v, k) in enumerate(range(99, 111))) 110s 15 110s 16 # List comprehension 110s 17 53.438 MiB 18.922 MiB 100 l_comp = [[i] * (i<<9) for i in range(99)] 110s 18 37.656 MiB -15.781 MiB 1 del l_comp 110s 19 37.656 MiB 0.000 MiB 1 del d_comp 110s 20 110s 21 37.656 MiB 0.000 MiB 4 def hh(x=1): 110s 22 # Set comprehension 110s 23 57.211 MiB 19.555 MiB 135 s_comp = set(('Z',) * (k<<13) for k in range(x, 19 + 2*x)) 110s 24 57.211 MiB 0.000 MiB 3 return s_comp 110s 25 110s 26 37.656 MiB 0.000 MiB 1 val = [range(1, 4), max(1, 4), 42 + len(hh())] 110s 27 57.211 MiB 0.000 MiB 1 val = hh() | hh(4) 110s 28 57.211 MiB 0.000 MiB 1 val.add(40) 110s 29 63.504 MiB 6.293 MiB 100 l1_comp = [[(1, i)] * (i<<9) for i in range(99)] 110s 30 82.320 MiB 18.816 MiB 100 l2_comp = [[(3, i)] * (i<<9) for i in range(99)] 110s 31 110s 32 82.320 MiB 0.000 MiB 1 return val 110s 110s 110s Filename: test/test_gen.py 110s 110s Line # Mem usage Increment Occurrences Line Contents 110s ============================================================= 110s 35 22.574 MiB 22.574 MiB 1 @profile 110s 36 def test_generator(): 110s 37 46.586 MiB 24.012 MiB 9 a_gen = ([42] * (1<<20) for __ in '123') 110s 38 46.586 MiB 0.000 MiB 1 huge_lst = list(a_gen) 110s 39 110s 40 46.586 MiB 0.000 MiB 1 b_gen = ([24] * (1<<20) for __ in '123') 110s 41 46.586 MiB 0.000 MiB 1 del b_gen 110s 42 22.574 MiB -24.012 MiB 1 del huge_lst 110s 43 110s 44 22.574 MiB 0.000 MiB 1 return a_gen 110s 110s 110s python3.13 -m memory_profiler test/test_unicode.py 110s Filename: test/test_unicode.py 110s 110s Line # Mem usage Increment Occurrences Line Contents 110s ============================================================= 110s 2 22.402 MiB 22.402 MiB 1 @profile 110s 3 def test_unicode(txt): 110s 4 # test when unicode is present 110s 5 22.406 MiB 0.004 MiB 1 txt = txt.replace (u"ی", u"ي") #Arabic Yah = ي 110s 6 22.406 MiB 0.000 MiB 1 return txt 110s 110s 110s python3.13 test/test_tracemalloc.py 117s python3.13 test/test_import.py 117s Filename: /tmp/autopkgtest.8ZSFis/autopkgtest_tmp/test/test_import.py 117s 117s Line # Mem usage Increment Occurrences Line Contents 117s ============================================================= 117s 4 21.5 MiB 21.5 MiB 1 @profile 117s 5 def my_func(): 117s 6 29.2 MiB 7.6 MiB 1 a = [1] * (10 ** 6) 117s 7 181.8 MiB 152.6 MiB 1 b = [2] * (2 * 10 ** 7) 117s 8 29.2 MiB -152.6 MiB 1 del b 117s 9 29.2 MiB 0.0 MiB 1 return a 117s 117s 117s python3.13 test/test_memory_usage.py 119s python3.13 test/test_precision_import.py 122s Filename: /tmp/autopkgtest.8ZSFis/autopkgtest_tmp/test/test_precision_import.py 122s 122s Line # Mem usage Increment Occurrences Line Contents 122s ============================================================= 122s 13 21.5508 MiB 21.5508 MiB 1 @profile(precision=4) 122s 14 def test_1(): 122s 15 29.1836 MiB 7.6328 MiB 1 a = [1] * (10 ** 6) 122s 16 181.7734 MiB 152.5898 MiB 1 b = [2] * (2 * 10 ** 7) 122s 17 181.7734 MiB 0.0000 MiB 1 time.sleep(0.6) 122s 18 29.1836 MiB -152.5898 MiB 1 del b 122s 19 122s 20 29.1836 MiB -0.0039 MiB 3 for i in range(2): 122s 21 29.1836 MiB -0.0039 MiB 2 a = [1] * (10 ** 6) 122s 22 181.7734 MiB 305.1758 MiB 2 b = [2] * (2 * 10 ** 7) 122s 23 29.1836 MiB -305.1836 MiB 2 del b 122s 24 29.1797 MiB -0.0039 MiB 1 return a 122s 122s 122s Filename: /tmp/autopkgtest.8ZSFis/autopkgtest_tmp/test/test_precision_import.py 122s 122s Line # Mem usage Increment Occurrences Line Contents 122s ============================================================= 122s 26 29.37109 MiB 29.37109 MiB 1 @profile(precision=5) 122s 27 def test_2(): 122s 28 29.37109 MiB 0.00000 MiB 1 a = {} 122s 29 29.37500 MiB 0.00391 MiB 1 time.sleep(0.5) 122s 30 29.98047 MiB 0.00391 MiB 10001 for i in range(10000): 122s 31 29.98047 MiB 0.60156 MiB 10000 a[i] = i + 1 122s 32 29.98047 MiB 0.00000 MiB 1 time.sleep(0.6) 122s 33 29.98047 MiB 0.00000 MiB 1 return 122s 122s 122s python3.13 test/test_exception.py 122s Success 122s python3.13 test/test_exit_code.py 122s Traceback (most recent call last): 122s File "", line 198, in _run_module_as_main 122s File "", line 88, in _run_code 122s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1348, in 122s exec_with_profiler(script_filename, prof, args.backend, script_args) 122s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 122s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1249, in exec_with_profiler 122s exec(compile(f.read(), filename, 'exec'), ns, ns) 122s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 122s File "/tmp/tmpqvdi5vvu.py", line 1, in 122s raise RuntimeError('I am not working nicely') 122s RuntimeError: I am not working nicely 122s ERROR:mprof:Program resulted with a non-zero exit code: 1 122s ..Traceback (most recent call last): 122s File "", line 198, in _run_module_as_main 122s File "", line 88, in _run_code 122s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1348, in 122s exec_with_profiler(script_filename, prof, args.backend, script_args) 122s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 122s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1249, in exec_with_profiler 122s exec(compile(f.read(), filename, 'exec'), ns, ns) 122s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 122s File "/tmp/tmpmhxzs5x4.py", line 1, in 122s raise RuntimeError('I am not working nicely') 122s RuntimeError: I am not working nicely 122s : Sampling memory every 0.1s 122s running new process 122s running as a Python program... 122s : Sampling memory every 0.1s 122s running new process 122s running as a Python program... 122s : Sampling memory every 0.1s 122s running new process 122s running as a Python program... 122s . 122s ---------------------------------------------------------------------- 122s Ran 3 tests in 0.532s 122s 122s OK 122s python3.13 test/test_mprof.py 122s . 122s ---------------------------------------------------------------------- 122s Ran 1 test in 0.000s 122s 122s OK 122s python3.13 test/test_async.py 122s Filename: /tmp/autopkgtest.8ZSFis/autopkgtest_tmp/test/test_async.py 122s 122s Line # Mem usage Increment Occurrences Line Contents 122s ============================================================= 122s 7 21.7 MiB 21.7 MiB 1 @profile 122s 8 async def my_func(): 122s 9 29.3 MiB 7.6 MiB 1 a = [1] * (10 ** 6) 122s 10 181.9 MiB 152.6 MiB 1 b = [2] * (2 * 10 ** 7) 122s 11 182.0 MiB 0.1 MiB 2 await asyncio.sleep(1e-2) 122s 12 29.4 MiB -152.6 MiB 1 del b 122s 122s 122s python3.13 -m mprof run test/test_func.py 123s mprof.py: Sampling memory every 0.1s 123s running new process 123s running as a Python program... 123s Testing with python3.14: 123s python3.14 -m memory_profiler test/test_func.py 123s /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 123s if iscoroutinefunction(func): 123s Filename: test/test_func.py 123s 123s Line # Mem usage Increment Occurrences Line Contents 123s ============================================================= 123s 2 24.742 MiB 24.738 MiB 2 @profile 123s 3 def test_1(i): 123s 4 # .. will be called twice .. 123s 5 24.742 MiB 0.000 MiB 2 c = {} 123s 6 25.551 MiB 0.004 MiB 10012 for i in range(i): 123s 7 25.551 MiB 0.809 MiB 10010 c[i] = 2 123s 123s 123s python3.14 -m memory_profiler test/test_loop.py 123s /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 123s if iscoroutinefunction(func): 125s Filename: test/test_loop.py 125s 125s Line # Mem usage Increment Occurrences Line Contents 125s ============================================================= 125s 11 25.504 MiB 25.504 MiB 1 @profile 125s 12 def test_2(): 125s 13 33.137 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 125s 14 185.727 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 125s 15 33.137 MiB -152.590 MiB 1 del b 125s 16 125s 17 33.137 MiB -0.266 MiB 3 for i in range(2): 125s 18 33.137 MiB -0.266 MiB 2 a = [1] * (10 ** 6) 125s 19 185.727 MiB 304.914 MiB 2 b = [2] * (2 * 10 ** 7) 125s 20 33.137 MiB -305.445 MiB 2 del b 125s 21 32.871 MiB -0.266 MiB 1 return a 125s 125s 125s python3.14 -m memory_profiler test/test_mprofile.py 125s /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 125s if iscoroutinefunction(func): 127s Filename: test/test_mprofile.py 127s 127s Line # Mem usage Increment Occurrences Line Contents 127s ============================================================= 127s 5 24.707 MiB 24.707 MiB 1 @profile 127s 6 def test1(l): 127s 7 """test1 docstring""" 127s 8 25.473 MiB 0.766 MiB 1 a = [1] * l 127s 9 25.473 MiB 0.000 MiB 1 time.sleep(1) 127s 10 25.473 MiB 0.000 MiB 1 return a 127s 127s 127s Filename: test/test_mprofile.py 127s 127s Line # Mem usage Increment Occurrences Line Contents 127s ============================================================= 127s 12 24.711 MiB 24.711 MiB 1 @profile 127s 13 def test2(l): 127s 14 26.238 MiB 1.527 MiB 1 b = [1] * l 127s 15 26.238 MiB 0.000 MiB 1 time.sleep(1) 127s 16 26.238 MiB 0.000 MiB 1 return b 127s 127s 127s python3.14 -m memory_profiler test/test_as.py 127s /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 127s if iscoroutinefunction(func): 127s Filename: test/test_as.py 127s 127s Line # Mem usage Increment Occurrences Line Contents 127s ============================================================= 127s 3 24.641 MiB 24.641 MiB 1 @profile 127s 4 def f(): 127s 5 24.641 MiB 0.000 MiB 1 o = math.sqrt(2013) 127s 6 24.641 MiB 0.000 MiB 1 return o 127s 127s 127s python3.14 -m memory_profiler test/test_global.py 127s python3.14 -m memory_profiler test/test_precision_command_line.py 127s /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 127s if iscoroutinefunction(func): 130s Filename: test/test_precision_command_line.py 130s 130s Line # Mem usage Increment Occurrences Line Contents 130s ============================================================= 130s 11 24.754 MiB 24.754 MiB 1 @profile(precision=4) 130s 12 def test_1(): 130s 13 32.387 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 130s 14 184.980 MiB 152.594 MiB 1 b = [2] * (2 * 10 ** 7) 130s 15 184.980 MiB 0.000 MiB 1 time.sleep(0.6) 130s 16 32.391 MiB -152.590 MiB 1 del b 130s 17 130s 18 32.391 MiB -0.051 MiB 3 for i in range(2): 130s 19 32.391 MiB -0.051 MiB 2 a = [1] * (10 ** 6) 130s 20 184.980 MiB 305.129 MiB 2 b = [2] * (2 * 10 ** 7) 130s 21 32.391 MiB -305.230 MiB 2 del b 130s 22 32.340 MiB -0.051 MiB 1 return a 130s 130s 130s Filename: test/test_precision_command_line.py 130s 130s Line # Mem usage Increment Occurrences Line Contents 130s ============================================================= 130s 24 32.340 MiB 32.340 MiB 1 @profile(precision=2) 130s 25 def test_2(): 130s 26 32.344 MiB 0.004 MiB 1 a = {} 130s 27 32.344 MiB 0.000 MiB 1 time.sleep(0.5) 130s 28 32.945 MiB 0.594 MiB 10001 for i in range(10000): 130s 29 32.945 MiB 0.008 MiB 10000 a[i] = i + 1 130s 30 32.945 MiB 0.000 MiB 1 time.sleep(0.6) 130s 31 32.945 MiB 0.000 MiB 1 return 130s 130s 130s python3.14 -m memory_profiler test/test_gen.py 130s /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 130s if iscoroutinefunction(func): 130s Filename: test/test_gen.py 130s 130s Line # Mem usage Increment Occurrences Line Contents 130s ============================================================= 130s 2 24.773 MiB 24.773 MiB 1 @profile 130s 3 def my_func(): 130s 4 32.406 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 130s 5 184.996 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 130s 6 32.406 MiB -152.590 MiB 1 del b 130s 7 32.406 MiB 0.000 MiB 2 yield a 130s 130s 130s Filename: test/test_gen.py 130s 130s Line # Mem usage Increment Occurrences Line Contents 130s ============================================================= 130s 10 24.777 MiB 24.777 MiB 1 @profile 130s 11 def test_comprehension(): 130s 12 # Dict comprehension 130s 13 36.723 MiB 11.945 MiB 28 d_comp = dict((str(k*k), [v] * (1<<17)) 130s 14 36.723 MiB 0.000 MiB 14 for (v, k) in enumerate(range(99, 111))) 130s 15 130s 16 # List comprehension 130s 17 55.645 MiB 18.922 MiB 100 l_comp = [[i] * (i<<9) for i in range(99)] 130s 18 39.859 MiB -15.785 MiB 1 del l_comp 130s 19 39.859 MiB 0.000 MiB 1 del d_comp 130s 20 130s 21 39.859 MiB 0.000 MiB 4 def hh(x=1): 130s 22 # Set comprehension 130s 23 59.418 MiB 19.559 MiB 135 s_comp = set(('Z',) * (k<<13) for k in range(x, 19 + 2*x)) 130s 24 59.418 MiB 0.000 MiB 3 return s_comp 130s 25 130s 26 39.859 MiB 0.000 MiB 1 val = [range(1, 4), max(1, 4), 42 + len(hh())] 130s 27 59.418 MiB 0.000 MiB 1 val = hh() | hh(4) 130s 28 59.418 MiB 0.000 MiB 1 val.add(40) 130s 29 65.715 MiB 6.297 MiB 100 l1_comp = [[(1, i)] * (i<<9) for i in range(99)] 130s 30 84.539 MiB 18.824 MiB 100 l2_comp = [[(3, i)] * (i<<9) for i in range(99)] 130s 31 130s 32 84.539 MiB 0.000 MiB 1 return val 130s 130s 130s Filename: test/test_gen.py 130s 130s Line # Mem usage Increment Occurrences Line Contents 130s ============================================================= 130s 35 24.773 MiB 24.773 MiB 1 @profile 130s 36 def test_generator(): 130s 37 48.785 MiB 24.012 MiB 9 a_gen = ([42] * (1<<20) for __ in '123') 130s 38 48.785 MiB 0.000 MiB 1 huge_lst = list(a_gen) 130s 39 130s 40 48.785 MiB 0.000 MiB 1 b_gen = ([24] * (1<<20) for __ in '123') 130s 41 48.785 MiB 0.000 MiB 1 del b_gen 130s 42 24.773 MiB -24.012 MiB 1 del huge_lst 130s 43 130s 44 24.773 MiB 0.000 MiB 1 return a_gen 130s 130s 130s python3.14 -m memory_profiler test/test_unicode.py 130s /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 130s if iscoroutinefunction(func): 130s Filename: test/test_unicode.py 130s 130s Line # Mem usage Increment Occurrences Line Contents 130s ============================================================= 130s 2 24.684 MiB 24.684 MiB 1 @profile 130s 3 def test_unicode(txt): 130s 4 # test when unicode is present 130s 5 24.684 MiB 0.000 MiB 1 txt = txt.replace (u"ی", u"ي") #Arabic Yah = ي 130s 6 24.684 MiB 0.000 MiB 1 return txt 130s 130s 130s python3.14 test/test_tracemalloc.py 137s python3.14 test/test_import.py 137s Filename: /tmp/autopkgtest.8ZSFis/autopkgtest_tmp/test/test_import.py 137s 137s Line # Mem usage Increment Occurrences Line Contents 137s ============================================================= 137s 4 24.0 MiB 24.0 MiB 1 @profile 137s 5 def my_func(): 137s 6 31.7 MiB 7.6 MiB 1 a = [1] * (10 ** 6) 137s 7 184.3 MiB 152.6 MiB 1 b = [2] * (2 * 10 ** 7) 137s 8 31.7 MiB -152.6 MiB 1 del b 137s 9 31.7 MiB 0.0 MiB 1 return a 137s 137s 137s python3.14 test/test_memory_usage.py 139s python3.14 test/test_precision_import.py 142s Filename: /tmp/autopkgtest.8ZSFis/autopkgtest_tmp/test/test_precision_import.py 142s 142s Line # Mem usage Increment Occurrences Line Contents 142s ============================================================= 142s 13 24.1641 MiB 24.1641 MiB 1 @profile(precision=4) 142s 14 def test_1(): 142s 15 31.7969 MiB 7.6328 MiB 1 a = [1] * (10 ** 6) 142s 16 184.3867 MiB 152.5898 MiB 1 b = [2] * (2 * 10 ** 7) 142s 17 184.3867 MiB 0.0000 MiB 1 time.sleep(0.6) 142s 18 31.7969 MiB -152.5898 MiB 1 del b 142s 19 142s 20 31.7969 MiB -0.0625 MiB 3 for i in range(2): 142s 21 31.7969 MiB -0.0625 MiB 2 a = [1] * (10 ** 6) 142s 22 184.3867 MiB 305.1172 MiB 2 b = [2] * (2 * 10 ** 7) 142s 23 31.7969 MiB -305.2422 MiB 2 del b 142s 24 31.7344 MiB -0.0625 MiB 1 return a 142s 142s 142s Filename: /tmp/autopkgtest.8ZSFis/autopkgtest_tmp/test/test_precision_import.py 142s 142s Line # Mem usage Increment Occurrences Line Contents 142s ============================================================= 142s 26 31.80469 MiB 31.80469 MiB 1 @profile(precision=5) 142s 27 def test_2(): 142s 28 31.80469 MiB 0.00000 MiB 1 a = {} 142s 29 31.80469 MiB 0.00000 MiB 1 time.sleep(0.5) 142s 30 32.41016 MiB 0.59766 MiB 10001 for i in range(10000): 142s 31 32.41016 MiB 0.00781 MiB 10000 a[i] = i + 1 142s 32 32.41016 MiB 0.00000 MiB 1 time.sleep(0.6) 142s 33 32.41016 MiB 0.00000 MiB 1 return 142s 142s 142s python3.14 test/test_exception.py 142s Traceback (most recent call last): 142s File "", line 1, in 142s from multiprocessing.forkserver import main; main(5, 7, ['__main__'], **{'sys_path': ['/tmp/autopkgtest.8ZSFis/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.8ZSFis/autopkgtest_tmp/test/test_exception.py', 'authkey_r': 9}) 142s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 142s File "/usr/lib/python3.14/multiprocessing/forkserver.py", line 217, in main 142s spawn.import_main_path(main_path) 142s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 142s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 307, in import_main_path 142s _fixup_main_from_path(main_path) 142s ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 142s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 297, in _fixup_main_from_path 142s main_content = runpy.run_path(main_path, 142s run_name="__mp_main__") 142s File "", line 287, in run_path 142s File "", line 98, in _run_module_code 142s File "", line 88, in _run_code 142s File "/tmp/autopkgtest.8ZSFis/autopkgtest_tmp/test/test_exception.py", line 9, in 142s out = memory_usage((foo, tuple(), {}), timeout=1) 142s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 372, in memory_usage 142s p.start() 142s ~~~~~~~^^ 142s File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start 142s self._popen = self._Popen(self) 142s ~~~~~~~~~~~^^^^^^ 142s File "/usr/lib/python3.14/multiprocessing/context.py", line 224, in _Popen 142s return _default_context.get_context().Process._Popen(process_obj) 142s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 142s File "/usr/lib/python3.14/multiprocessing/context.py", line 300, in _Popen 142s return Popen(process_obj) 142s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__ 142s super().__init__(process_obj) 142s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 142s File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__ 142s self._launch(process_obj) 142s ~~~~~~~~~~~~^^^^^^^^^^^^^ 142s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 42, in _launch 142s prep_data = spawn.get_preparation_data(process_obj._name) 142s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 164, in get_preparation_data 142s _check_not_importing_main() 142s ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 142s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 140, in _check_not_importing_main 142s raise RuntimeError(''' 142s ...<16 lines>... 142s ''') 142s RuntimeError: 142s An attempt has been made to start a new process before the 142s current process has finished its bootstrapping phase. 142s 142s This probably means that you are not using fork to start your 142s child processes and you have forgotten to use the proper idiom 142s in the main module: 142s 142s if __name__ == '__main__': 142s freeze_support() 142s ... 142s 142s The "freeze_support()" line can be omitted if the program 142s is not going to be frozen to produce an executable. 142s 142s To fix this issue, refer to the "Safe importing of main module" 142s section in https://docs.python.org/3/library/multiprocessing.html 142s 142s Traceback (most recent call last): 142s File "/tmp/autopkgtest.8ZSFis/autopkgtest_tmp/test/test_exception.py", line 9, in 142s out = memory_usage((foo, tuple(), {}), timeout=1) 142s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 372, in memory_usage 142s p.start() 142s ~~~~~~~^^ 142s File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start 142s self._popen = self._Popen(self) 142s ~~~~~~~~~~~^^^^^^ 142s File "/usr/lib/python3.14/multiprocessing/context.py", line 224, in _Popen 142s return _default_context.get_context().Process._Popen(process_obj) 142s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 142s File "/usr/lib/python3.14/multiprocessing/context.py", line 300, in _Popen 142s return Popen(process_obj) 142s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__ 142s super().__init__(process_obj) 142s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 142s File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__ 142s self._launch(process_obj) 142s ~~~~~~~~~~~~^^^^^^^^^^^^^ 142s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 51, in _launch 142s self.sentinel, w = forkserver.connect_to_new_process(self._fds) 142s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 142s File "/usr/lib/python3.14/multiprocessing/forkserver.py", line 106, in connect_to_new_process 142s connection.answer_challenge( 142s ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 142s wrapped_client, self._forkserver_authkey) 142s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 142s File "/usr/lib/python3.14/multiprocessing/connection.py", line 970, in answer_challenge 142s message = connection.recv_bytes(256) # reject large message 142s File "/usr/lib/python3.14/multiprocessing/connection.py", line 222, in recv_bytes 142s buf = self._recv_bytes(maxlength) 142s File "/usr/lib/python3.14/multiprocessing/connection.py", line 447, in _recv_bytes 142s buf = self._recv(4) 142s File "/usr/lib/python3.14/multiprocessing/connection.py", line 412, in _recv 142s chunk = read(handle, to_read) 142s ConnectionResetError: [Errno 104] Connection reset by peer 142s make: *** [Makefile:18: test] Error 1 142s autopkgtest [14:56:32]: test command1: -----------------------] 143s autopkgtest [14:56:33]: test command1: - - - - - - - - - - results - - - - - - - - - - 143s command1 FAIL non-zero exit status 2 143s autopkgtest [14:56:33]: @@@@@@@@@@@@@@@@@@@@ summary 143s command1 FAIL non-zero exit status 2