0s autopkgtest [13:37:51]: starting date and time: 2026-01-23 13:37:51+0000 0s autopkgtest [13:37:51]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 0s autopkgtest [13:37:51]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.hzk2wrzh/out --timeout-copy=6000 -a i386 --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-15@sto01-3.secgroup --name adt-resolute-i386-python-memory-profiler-20260123-133750-juju-7f2275-prod-proposed-migration-environment-15-2ae160f7-e738-480f-afb9-d8c440d7b96c --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 3s Creating nova instance adt-resolute-i386-python-memory-profiler-20260123-133750-juju-7f2275-prod-proposed-migration-environment-15-2ae160f7-e738-480f-afb9-d8c440d7b96c from image adt/ubuntu-resolute-amd64-server-20260123.img (UUID 789dbc23-4f1b-4e7c-bcab-98e6eebf04f2)... 94s autopkgtest [13:39:25]: testbed dpkg architecture: amd64 94s autopkgtest [13:39:25]: testbed apt version: 3.1.13 94s autopkgtest [13:39:25]: @@@@@@@@@@@@@@@@@@@@ test bed setup 95s autopkgtest [13:39:26]: testbed release detected to be: None 95s autopkgtest [13:39:26]: updating testbed package index (apt update) 95s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [124 kB] 95s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 95s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 95s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 95s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [23.6 kB] 95s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [1023 kB] 96s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [2820 B] 96s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [97.1 kB] 96s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [132 kB] 96s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [108 kB] 96s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [3656 B] 96s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3696 B] 96s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [12.3 kB] 96s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 96s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [914 kB] 96s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [402 kB] 96s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [23.5 kB] 96s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [4704 B] 96s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [11.6 kB] 96s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [668 B] 97s Fetched 2886 kB in 1s (3004 kB/s) 97s Reading package lists... 98s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 98s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 98s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 98s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 98s Reading package lists... 99s Reading package lists... 99s Building dependency tree... 99s Reading state information... 99s Calculating upgrade... 99s The following packages were automatically installed and are no longer required: 99s python3.13 python3.13-minimal 99s Use 'sudo apt autoremove' to remove them. 99s The following NEW packages will be installed: 99s libpython3.14-minimal libpython3.14-stdlib python3.14 python3.14-minimal 99s The following packages will be upgraded: 99s libpython3-stdlib python3 python3-gdbm python3-jaraco.context 99s python3-minimal 99s 5 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 99s Need to get 6777 kB of archives. 99s After this operation, 24.5 MB of additional disk space will be used. 99s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-minimal amd64 3.14.2-1 [920 kB] 99s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.14-minimal amd64 3.14.2-1 [2563 kB] 99s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-minimal amd64 3.14.2-1 [28.2 kB] 99s Get:4 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3 amd64 3.14.2-1 [22.9 kB] 99s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 libpython3.14-stdlib amd64 3.14.2-1 [2398 kB] 99s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.14 amd64 3.14.2-1 [816 kB] 100s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 libpython3-stdlib amd64 3.14.2-1 [10.9 kB] 100s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-gdbm amd64 3.14.2-1 [11.1 kB] 100s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-jaraco.context all 6.0.1-2 [8198 B] 100s dpkg-preconfigure: unable to re-open stdin: No such file or directory 100s Fetched 6777 kB in 1s (10.7 MB/s) 100s Selecting previously unselected package libpython3.14-minimal:amd64. 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 ... 124176 files and directories currently installed.) 100s Preparing to unpack .../libpython3.14-minimal_3.14.2-1_amd64.deb ... 100s Unpacking libpython3.14-minimal:amd64 (3.14.2-1) ... 100s Selecting previously unselected package python3.14-minimal. 100s Preparing to unpack .../python3.14-minimal_3.14.2-1_amd64.deb ... 100s Unpacking python3.14-minimal (3.14.2-1) ... 100s Setting up libpython3.14-minimal:amd64 (3.14.2-1) ... 100s Setting up python3.14-minimal (3.14.2-1) ... 101s (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 ... 124518 files and directories currently installed.) 101s Preparing to unpack .../python3-minimal_3.14.2-1_amd64.deb ... 101s Unpacking python3-minimal (3.14.2-1) over (3.13.9-3) ... 101s Setting up python3-minimal (3.14.2-1) ... 101s (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 ... 124518 files and directories currently installed.) 101s Preparing to unpack .../0-python3_3.14.2-1_amd64.deb ... 101s running python pre-rtupdate hooks for python3.14... 101s Unpacking python3 (3.14.2-1) over (3.13.9-3) ... 101s Selecting previously unselected package libpython3.14-stdlib:amd64. 101s Preparing to unpack .../1-libpython3.14-stdlib_3.14.2-1_amd64.deb ... 101s Unpacking libpython3.14-stdlib:amd64 (3.14.2-1) ... 101s Selecting previously unselected package python3.14. 101s Preparing to unpack .../2-python3.14_3.14.2-1_amd64.deb ... 101s Unpacking python3.14 (3.14.2-1) ... 101s Preparing to unpack .../3-libpython3-stdlib_3.14.2-1_amd64.deb ... 101s Unpacking libpython3-stdlib:amd64 (3.14.2-1) over (3.13.9-3) ... 101s Preparing to unpack .../4-python3-gdbm_3.14.2-1_amd64.deb ... 101s Unpacking python3-gdbm (3.14.2-1) over (3.13.9-3) ... 101s Preparing to unpack .../5-python3-jaraco.context_6.0.1-2_all.deb ... 101s Unpacking python3-jaraco.context (6.0.1-2) over (6.0.1-1build1) ... 101s Setting up libpython3.14-stdlib:amd64 (3.14.2-1) ... 101s Setting up python3.14 (3.14.2-1) ... 102s Setting up libpython3-stdlib:amd64 (3.14.2-1) ... 102s Setting up python3-gdbm (3.14.2-1) ... 102s Setting up python3 (3.14.2-1) ... 102s running python rtupdate hooks for python3.14... 102s running python post-rtupdate hooks for python3.14... 102s Setting up python3-jaraco.context (6.0.1-2) ... 102s Processing triggers for man-db (2.13.1-1) ... 103s Processing triggers for systemd (259-1ubuntu2) ... 103s autopkgtest [13:39:34]: upgrading testbed (apt dist-upgrade and autopurge) 103s Reading package lists... 103s Building dependency tree... 103s Reading state information... 103s Calculating upgrade... 103s The following packages were automatically installed and are no longer required: 103s python3.13 python3.13-minimal 103s Use 'sudo apt autoremove' to remove them. 103s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 103s Reading package lists... 103s Building dependency tree... 103s Reading state information... 103s Solving dependencies... 104s The following packages will be REMOVED: 104s python3.13* python3.13-minimal* 104s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 104s After this operation, 7860 kB disk space will be freed. 104s (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 ... 124948 files and directories currently installed.) 104s Removing python3.13 (3.13.11-1) ... 104s Removing python3.13-minimal (3.13.11-1) ... 104s Processing triggers for man-db (2.13.1-1) ... 104s Processing triggers for systemd (259-1ubuntu2) ... 105s (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 ... 124921 files and directories currently installed.) 105s Purging configuration files for python3.13-minimal (3.13.11-1) ... 107s autopkgtest [13:39:38]: testbed running kernel: Linux 6.18.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 12 16:49:02 UTC 2026 107s autopkgtest [13:39:38]: @@@@@@@@@@@@@@@@@@@@ apt-source python-memory-profiler 117s Get:1 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (dsc) [2268 B] 117s Get:2 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (tar) [145 kB] 117s Get:3 http://ftpmaster.internal/ubuntu resolute/universe python-memory-profiler 0.61-2 (diff) [4752 B] 117s gpgv: Signature made Sat Dec 7 20:26:18 2024 UTC 117s gpgv: using RSA key AB6B1DBEB0342F27571DED6AB26614B452F446B6 117s gpgv: issuer "mitya57@debian.org" 117s gpgv: Can't check signature: No public key 117s dpkg-source: warning: cannot verify inline signature for ./python-memory-profiler_0.61-2.dsc: no acceptable signature found 117s autopkgtest [13:39:48]: testing package python-memory-profiler version 0.61-2 118s autopkgtest [13:39:49]: build not needed 118s autopkgtest [13:39:49]: test command1: preparing testbed 118s Reading package lists... 118s Building dependency tree... 118s Reading state information... 118s Solving dependencies... 118s The following NEW packages will be installed: 118s python3-all python3-memory-profiler python3-psutil python3.13 118s python3.13-minimal 118s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. 118s Need to get 3397 kB of archives. 118s After this operation, 9151 kB of additional disk space will be used. 118s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.13-minimal amd64 3.13.11-1 [2408 kB] 119s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 python3.13 amd64 3.13.11-1 [758 kB] 119s Get:3 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 python3-all amd64 3.14.2-1 [890 B] 119s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-psutil amd64 7.1.0-1ubuntu1 [191 kB] 119s Get:5 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-memory-profiler all 0.61-2 [39.7 kB] 119s Fetched 3397 kB in 1s (4852 kB/s) 119s Selecting previously unselected package python3.13-minimal. 119s (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 ... 124923 files and directories currently installed.) 119s Preparing to unpack .../python3.13-minimal_3.13.11-1_amd64.deb ... 119s Unpacking python3.13-minimal (3.13.11-1) ... 119s Selecting previously unselected package python3.13. 119s Preparing to unpack .../python3.13_3.13.11-1_amd64.deb ... 119s Unpacking python3.13 (3.13.11-1) ... 119s Selecting previously unselected package python3-all. 119s Preparing to unpack .../python3-all_3.14.2-1_amd64.deb ... 119s Unpacking python3-all (3.14.2-1) ... 119s Selecting previously unselected package python3-psutil. 119s Preparing to unpack .../python3-psutil_7.1.0-1ubuntu1_amd64.deb ... 119s Unpacking python3-psutil (7.1.0-1ubuntu1) ... 119s Selecting previously unselected package python3-memory-profiler. 119s Preparing to unpack .../python3-memory-profiler_0.61-2_all.deb ... 119s Unpacking python3-memory-profiler (0.61-2) ... 119s Setting up python3-psutil (7.1.0-1ubuntu1) ... 120s Setting up python3.13-minimal (3.13.11-1) ... 120s Setting up python3-memory-profiler (0.61-2) ... 120s Setting up python3.13 (3.13.11-1) ... 121s Setting up python3-all (3.14.2-1) ... 121s Processing triggers for man-db (2.13.1-1) ... 121s Processing triggers for systemd (259-1ubuntu2) ... 122s autopkgtest [13:39:53]: test environment configured for cross building 122s autopkgtest [13:39:53]: 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 122s autopkgtest [13:39:53]: test command1: [----------------------- 122s Testing with python3.13: 122s python3.13 -m memory_profiler test/test_func.py 123s Filename: test/test_func.py 123s 123s Line # Mem usage Increment Occurrences Line Contents 123s ============================================================= 123s 2 22.449 MiB 22.441 MiB 2 @profile 123s 3 def test_1(i): 123s 4 # .. will be called twice .. 123s 5 22.449 MiB 0.004 MiB 2 c = {} 123s 6 23.281 MiB 0.004 MiB 10012 for i in range(i): 123s 7 23.281 MiB 0.832 MiB 10010 c[i] = 2 123s 123s 123s python3.13 -m memory_profiler test/test_loop.py 125s Filename: test/test_loop.py 125s 125s Line # Mem usage Increment Occurrences Line Contents 125s ============================================================= 125s 11 23.301 MiB 23.301 MiB 1 @profile 125s 12 def test_2(): 125s 13 30.934 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 125s 14 183.523 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 125s 15 30.934 MiB -152.590 MiB 1 del b 125s 16 125s 17 30.934 MiB -0.266 MiB 3 for i in range(2): 125s 18 30.934 MiB -0.266 MiB 2 a = [1] * (10 ** 6) 125s 19 183.523 MiB 304.914 MiB 2 b = [2] * (2 * 10 ** 7) 125s 20 30.934 MiB -305.445 MiB 2 del b 125s 21 30.668 MiB -0.266 MiB 1 return a 125s 125s 125s python3.13 -m memory_profiler test/test_mprofile.py 127s Filename: test/test_mprofile.py 127s 127s Line # Mem usage Increment Occurrences Line Contents 127s ============================================================= 127s 5 22.555 MiB 22.555 MiB 1 @profile 127s 6 def test1(l): 127s 7 """test1 docstring""" 127s 8 23.324 MiB 0.770 MiB 1 a = [1] * l 127s 9 23.324 MiB 0.000 MiB 1 time.sleep(1) 127s 10 23.324 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 22.559 MiB 22.559 MiB 1 @profile 127s 13 def test2(l): 127s 14 24.086 MiB 1.527 MiB 1 b = [1] * l 127s 15 24.086 MiB 0.000 MiB 1 time.sleep(1) 127s 16 24.086 MiB 0.000 MiB 1 return b 127s 127s 127s python3.13 -m memory_profiler test/test_as.py 127s Filename: test/test_as.py 127s 127s Line # Mem usage Increment Occurrences Line Contents 127s ============================================================= 127s 3 22.414 MiB 22.414 MiB 1 @profile 127s 4 def f(): 127s 5 22.414 MiB 0.000 MiB 1 o = math.sqrt(2013) 127s 6 22.414 MiB 0.000 MiB 1 return o 127s 127s 127s python3.13 -m memory_profiler test/test_global.py 127s python3.13 -m memory_profiler test/test_precision_command_line.py 130s Filename: test/test_precision_command_line.py 130s 130s Line # Mem usage Increment Occurrences Line Contents 130s ============================================================= 130s 11 22.469 MiB 22.469 MiB 1 @profile(precision=4) 130s 12 def test_1(): 130s 13 30.102 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 130s 14 182.691 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 130s 15 182.691 MiB 0.000 MiB 1 time.sleep(0.6) 130s 16 30.102 MiB -152.590 MiB 1 del b 130s 17 130s 18 30.102 MiB -0.027 MiB 3 for i in range(2): 130s 19 30.102 MiB -0.027 MiB 2 a = [1] * (10 ** 6) 130s 20 182.691 MiB 305.152 MiB 2 b = [2] * (2 * 10 ** 7) 130s 21 30.102 MiB -305.207 MiB 2 del b 130s 22 30.074 MiB -0.027 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 30.078 MiB 30.078 MiB 1 @profile(precision=2) 130s 25 def test_2(): 130s 26 30.078 MiB 0.000 MiB 1 a = {} 130s 27 30.078 MiB 0.000 MiB 1 time.sleep(0.5) 130s 28 30.684 MiB 0.000 MiB 10001 for i in range(10000): 130s 29 30.684 MiB 0.605 MiB 10000 a[i] = i + 1 130s 30 30.684 MiB 0.000 MiB 1 time.sleep(0.6) 130s 31 30.684 MiB 0.000 MiB 1 return 130s 130s 130s python3.13 -m memory_profiler test/test_gen.py 130s Filename: test/test_gen.py 130s 130s Line # Mem usage Increment Occurrences Line Contents 130s ============================================================= 130s 2 22.559 MiB 22.559 MiB 1 @profile 130s 3 def my_func(): 130s 4 30.191 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 130s 5 182.781 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 130s 6 30.191 MiB -152.590 MiB 1 del b 130s 7 30.191 MiB 0.000 MiB 1 yield a 130s 130s 130s Filename: test/test_gen.py 130s 130s Line # Mem usage Increment Occurrences Line Contents 130s ============================================================= 130s 10 22.559 MiB 22.559 MiB 1 @profile 130s 11 def test_comprehension(): 130s 12 # Dict comprehension 130s 13 34.504 MiB 11.941 MiB 28 d_comp = dict((str(k*k), [v] * (1<<17)) 130s 14 34.504 MiB 0.004 MiB 14 for (v, k) in enumerate(range(99, 111))) 130s 15 130s 16 # List comprehension 130s 17 53.422 MiB 18.918 MiB 100 l_comp = [[i] * (i<<9) for i in range(99)] 130s 18 37.641 MiB -15.781 MiB 1 del l_comp 130s 19 37.641 MiB 0.000 MiB 1 del d_comp 130s 20 130s 21 37.641 MiB 0.000 MiB 4 def hh(x=1): 130s 22 # Set comprehension 130s 23 57.195 MiB 19.555 MiB 135 s_comp = set(('Z',) * (k<<13) for k in range(x, 19 + 2*x)) 130s 24 57.195 MiB 0.000 MiB 3 return s_comp 130s 25 130s 26 37.641 MiB 0.000 MiB 1 val = [range(1, 4), max(1, 4), 42 + len(hh())] 130s 27 57.195 MiB 0.000 MiB 1 val = hh() | hh(4) 130s 28 57.195 MiB 0.000 MiB 1 val.add(40) 130s 29 63.492 MiB 6.297 MiB 100 l1_comp = [[(1, i)] * (i<<9) for i in range(99)] 130s 30 82.320 MiB 18.828 MiB 100 l2_comp = [[(3, i)] * (i<<9) for i in range(99)] 130s 31 130s 32 82.320 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 22.559 MiB 22.559 MiB 1 @profile 130s 36 def test_generator(): 130s 37 46.570 MiB 24.012 MiB 9 a_gen = ([42] * (1<<20) for __ in '123') 130s 38 46.570 MiB 0.000 MiB 1 huge_lst = list(a_gen) 130s 39 130s 40 46.570 MiB 0.000 MiB 1 b_gen = ([24] * (1<<20) for __ in '123') 130s 41 46.570 MiB 0.000 MiB 1 del b_gen 130s 42 22.559 MiB -24.012 MiB 1 del huge_lst 130s 43 130s 44 22.559 MiB 0.000 MiB 1 return a_gen 130s 130s 130s python3.13 -m memory_profiler test/test_unicode.py 130s Filename: test/test_unicode.py 130s 130s Line # Mem usage Increment Occurrences Line Contents 130s ============================================================= 130s 2 22.434 MiB 22.434 MiB 1 @profile 130s 3 def test_unicode(txt): 130s 4 # test when unicode is present 130s 5 22.434 MiB 0.000 MiB 1 txt = txt.replace (u"ی", u"ي") #Arabic Yah = ي 130s 6 22.434 MiB 0.000 MiB 1 return txt 130s 130s 130s python3.13 test/test_tracemalloc.py 137s python3.13 test/test_import.py 137s Filename: /tmp/autopkgtest.EDiya1/autopkgtest_tmp/test/test_import.py 137s 137s Line # Mem usage Increment Occurrences Line Contents 137s ============================================================= 137s 4 21.5 MiB 21.5 MiB 1 @profile 137s 5 def my_func(): 137s 6 29.1 MiB 7.6 MiB 1 a = [1] * (10 ** 6) 137s 7 181.7 MiB 152.6 MiB 1 b = [2] * (2 * 10 ** 7) 137s 8 29.1 MiB -152.6 MiB 1 del b 137s 9 29.1 MiB 0.0 MiB 1 return a 137s 137s 137s python3.13 test/test_memory_usage.py 139s python3.13 test/test_precision_import.py 142s Filename: /tmp/autopkgtest.EDiya1/autopkgtest_tmp/test/test_precision_import.py 142s 142s Line # Mem usage Increment Occurrences Line Contents 142s ============================================================= 142s 13 21.5742 MiB 21.5742 MiB 1 @profile(precision=4) 142s 14 def test_1(): 142s 15 29.2070 MiB 7.6328 MiB 1 a = [1] * (10 ** 6) 142s 16 181.7969 MiB 152.5898 MiB 1 b = [2] * (2 * 10 ** 7) 142s 17 181.8008 MiB 0.0039 MiB 1 time.sleep(0.6) 142s 18 29.2148 MiB -152.5859 MiB 1 del b 142s 19 142s 20 29.2148 MiB -0.0078 MiB 3 for i in range(2): 142s 21 29.2148 MiB -0.0078 MiB 2 a = [1] * (10 ** 6) 142s 22 181.8047 MiB 305.1719 MiB 2 b = [2] * (2 * 10 ** 7) 142s 23 29.2148 MiB -305.1875 MiB 2 del b 142s 24 29.2070 MiB -0.0078 MiB 1 return a 142s 142s 142s Filename: /tmp/autopkgtest.EDiya1/autopkgtest_tmp/test/test_precision_import.py 142s 142s Line # Mem usage Increment Occurrences Line Contents 142s ============================================================= 142s 26 29.39844 MiB 29.39844 MiB 1 @profile(precision=5) 142s 27 def test_2(): 142s 28 29.39844 MiB 0.00000 MiB 1 a = {} 142s 29 29.40234 MiB 0.00391 MiB 1 time.sleep(0.5) 142s 30 30.01172 MiB 0.00391 MiB 10001 for i in range(10000): 142s 31 30.01172 MiB 0.60547 MiB 10000 a[i] = i + 1 142s 32 30.01172 MiB 0.00000 MiB 1 time.sleep(0.6) 142s 33 30.01172 MiB 0.00000 MiB 1 return 142s 142s 142s python3.13 test/test_exception.py 142s Success 142s python3.13 test/test_exit_code.py 142s Traceback (most recent call last): 142s File "", line 198, in _run_module_as_main 142s File "", line 88, in _run_code 142s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1348, in 142s exec_with_profiler(script_filename, prof, args.backend, script_args) 142s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 142s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1249, in exec_with_profiler 142s exec(compile(f.read(), filename, 'exec'), ns, ns) 142s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 142s File "/tmp/tmpsjvelt5y.py", line 1, in 142s raise RuntimeError('I am not working nicely') 142s RuntimeError: I am not working nicely 142s ERROR:mprof:Program resulted with a non-zero exit code: 1 142s ..Traceback (most recent call last): 142s File "", line 198, in _run_module_as_main 142s File "", line 88, in _run_code 142s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1348, in 142s exec_with_profiler(script_filename, prof, args.backend, script_args) 142s ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 142s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 1249, in exec_with_profiler 142s exec(compile(f.read(), filename, 'exec'), ns, ns) 142s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 142s File "/tmp/tmp233erwg6.py", line 1, in 142s raise RuntimeError('I am not working nicely') 142s RuntimeError: I am not working nicely 142s : Sampling memory every 0.1s 142s running new process 142s running as a Python program... 142s : Sampling memory every 0.1s 142s running new process 142s running as a Python program... 142s : Sampling memory every 0.1s 142s running new process 142s running as a Python program... 142s . 142s ---------------------------------------------------------------------- 142s Ran 3 tests in 0.533s 142s 142s OK 142s python3.13 test/test_mprof.py 142s . 142s ---------------------------------------------------------------------- 142s Ran 1 test in 0.000s 142s 142s OK 142s python3.13 test/test_async.py 142s Filename: /tmp/autopkgtest.EDiya1/autopkgtest_tmp/test/test_async.py 142s 142s Line # Mem usage Increment Occurrences Line Contents 142s ============================================================= 142s 7 21.7 MiB 21.7 MiB 1 @profile 142s 8 async def my_func(): 142s 9 29.3 MiB 7.6 MiB 1 a = [1] * (10 ** 6) 142s 10 181.9 MiB 152.6 MiB 1 b = [2] * (2 * 10 ** 7) 142s 11 182.0 MiB 0.1 MiB 2 await asyncio.sleep(1e-2) 142s 12 29.4 MiB -152.6 MiB 1 del b 142s 142s 142s python3.13 -m mprof run test/test_func.py 143s mprof.py: Sampling memory every 0.1s 143s running new process 143s running as a Python program... 143s Testing with python3.14: 143s python3.14 -m memory_profiler test/test_func.py 143s /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 143s if iscoroutinefunction(func): 143s Filename: test/test_func.py 143s 143s Line # Mem usage Increment Occurrences Line Contents 143s ============================================================= 143s 2 24.711 MiB 24.707 MiB 2 @profile 143s 3 def test_1(i): 143s 4 # .. will be called twice .. 143s 5 24.711 MiB 0.000 MiB 2 c = {} 143s 6 25.523 MiB 0.004 MiB 10012 for i in range(i): 143s 7 25.523 MiB 0.812 MiB 10010 c[i] = 2 143s 143s 143s python3.14 -m memory_profiler test/test_loop.py 143s /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 143s if iscoroutinefunction(func): 145s Filename: test/test_loop.py 145s 145s Line # Mem usage Increment Occurrences Line Contents 145s ============================================================= 145s 11 25.562 MiB 25.562 MiB 1 @profile 145s 12 def test_2(): 145s 13 33.195 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 145s 14 185.785 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 145s 15 33.195 MiB -152.590 MiB 1 del b 145s 16 145s 17 33.195 MiB -0.262 MiB 3 for i in range(2): 145s 18 33.195 MiB -0.262 MiB 2 a = [1] * (10 ** 6) 145s 19 185.785 MiB 304.918 MiB 2 b = [2] * (2 * 10 ** 7) 145s 20 33.195 MiB -305.441 MiB 2 del b 145s 21 32.934 MiB -0.262 MiB 1 return a 145s 145s 145s python3.14 -m memory_profiler test/test_mprofile.py 145s /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 145s if iscoroutinefunction(func): 147s Filename: test/test_mprofile.py 147s 147s Line # Mem usage Increment Occurrences Line Contents 147s ============================================================= 147s 5 24.691 MiB 24.691 MiB 1 @profile 147s 6 def test1(l): 147s 7 """test1 docstring""" 147s 8 25.457 MiB 0.766 MiB 1 a = [1] * l 147s 9 25.457 MiB 0.000 MiB 1 time.sleep(1) 147s 10 25.457 MiB 0.000 MiB 1 return a 147s 147s 147s Filename: test/test_mprofile.py 147s 147s Line # Mem usage Increment Occurrences Line Contents 147s ============================================================= 147s 12 24.695 MiB 24.695 MiB 1 @profile 147s 13 def test2(l): 147s 14 26.223 MiB 1.527 MiB 1 b = [1] * l 147s 15 26.223 MiB 0.000 MiB 1 time.sleep(1) 147s 16 26.223 MiB 0.000 MiB 1 return b 147s 147s 147s python3.14 -m memory_profiler test/test_as.py 147s /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 147s if iscoroutinefunction(func): 147s Filename: test/test_as.py 147s 147s Line # Mem usage Increment Occurrences Line Contents 147s ============================================================= 147s 3 24.660 MiB 24.660 MiB 1 @profile 147s 4 def f(): 147s 5 24.660 MiB 0.000 MiB 1 o = math.sqrt(2013) 147s 6 24.660 MiB 0.000 MiB 1 return o 147s 147s 147s python3.14 -m memory_profiler test/test_global.py 147s python3.14 -m memory_profiler test/test_precision_command_line.py 147s /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 147s if iscoroutinefunction(func): 150s Filename: test/test_precision_command_line.py 150s 150s Line # Mem usage Increment Occurrences Line Contents 150s ============================================================= 150s 11 24.707 MiB 24.707 MiB 1 @profile(precision=4) 150s 12 def test_1(): 150s 13 32.340 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 150s 14 184.934 MiB 152.594 MiB 1 b = [2] * (2 * 10 ** 7) 150s 15 184.934 MiB 0.000 MiB 1 time.sleep(0.6) 150s 16 32.344 MiB -152.590 MiB 1 del b 150s 17 150s 18 32.344 MiB -0.051 MiB 3 for i in range(2): 150s 19 32.344 MiB -0.051 MiB 2 a = [1] * (10 ** 6) 150s 20 184.934 MiB 305.129 MiB 2 b = [2] * (2 * 10 ** 7) 150s 21 32.344 MiB -305.230 MiB 2 del b 150s 22 32.293 MiB -0.051 MiB 1 return a 150s 150s 150s Filename: test/test_precision_command_line.py 150s 150s Line # Mem usage Increment Occurrences Line Contents 150s ============================================================= 150s 24 32.293 MiB 32.293 MiB 1 @profile(precision=2) 150s 25 def test_2(): 150s 26 32.297 MiB 0.004 MiB 1 a = {} 150s 27 32.297 MiB 0.000 MiB 1 time.sleep(0.5) 150s 28 32.898 MiB 0.594 MiB 10001 for i in range(10000): 150s 29 32.898 MiB 0.008 MiB 10000 a[i] = i + 1 150s 30 32.898 MiB 0.000 MiB 1 time.sleep(0.6) 150s 31 32.898 MiB 0.000 MiB 1 return 150s 150s 150s python3.14 -m memory_profiler test/test_gen.py 150s /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 150s if iscoroutinefunction(func): 150s Filename: test/test_gen.py 150s 150s Line # Mem usage Increment Occurrences Line Contents 150s ============================================================= 150s 2 24.758 MiB 24.758 MiB 1 @profile 150s 3 def my_func(): 150s 4 32.391 MiB 7.633 MiB 1 a = [1] * (10 ** 6) 150s 5 184.980 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7) 150s 6 32.391 MiB -152.590 MiB 1 del b 150s 7 32.391 MiB 0.000 MiB 2 yield a 150s 150s 150s Filename: test/test_gen.py 150s 150s Line # Mem usage Increment Occurrences Line Contents 150s ============================================================= 150s 10 24.766 MiB 24.766 MiB 1 @profile 150s 11 def test_comprehension(): 150s 12 # Dict comprehension 150s 13 36.711 MiB 11.945 MiB 28 d_comp = dict((str(k*k), [v] * (1<<17)) 150s 14 36.711 MiB 0.000 MiB 14 for (v, k) in enumerate(range(99, 111))) 150s 15 150s 16 # List comprehension 150s 17 55.629 MiB 18.918 MiB 100 l_comp = [[i] * (i<<9) for i in range(99)] 150s 18 39.848 MiB -15.781 MiB 1 del l_comp 150s 19 39.848 MiB 0.000 MiB 1 del d_comp 150s 20 150s 21 39.848 MiB 0.000 MiB 4 def hh(x=1): 150s 22 # Set comprehension 150s 23 59.406 MiB 19.559 MiB 135 s_comp = set(('Z',) * (k<<13) for k in range(x, 19 + 2*x)) 150s 24 59.406 MiB 0.000 MiB 3 return s_comp 150s 25 150s 26 39.848 MiB 0.000 MiB 1 val = [range(1, 4), max(1, 4), 42 + len(hh())] 150s 27 59.406 MiB 0.000 MiB 1 val = hh() | hh(4) 150s 28 59.406 MiB 0.000 MiB 1 val.add(40) 150s 29 65.703 MiB 6.297 MiB 100 l1_comp = [[(1, i)] * (i<<9) for i in range(99)] 150s 30 84.527 MiB 18.824 MiB 100 l2_comp = [[(3, i)] * (i<<9) for i in range(99)] 150s 31 150s 32 84.527 MiB 0.000 MiB 1 return val 150s 150s 150s Filename: test/test_gen.py 150s 150s Line # Mem usage Increment Occurrences Line Contents 150s ============================================================= 150s 35 24.758 MiB 24.758 MiB 1 @profile 150s 36 def test_generator(): 150s 37 48.770 MiB 24.012 MiB 9 a_gen = ([42] * (1<<20) for __ in '123') 150s 38 48.770 MiB 0.000 MiB 1 huge_lst = list(a_gen) 150s 39 150s 40 48.770 MiB 0.000 MiB 1 b_gen = ([24] * (1<<20) for __ in '123') 150s 41 48.770 MiB 0.000 MiB 1 del b_gen 150s 42 24.758 MiB -24.012 MiB 1 del huge_lst 150s 43 150s 44 24.758 MiB 0.000 MiB 1 return a_gen 150s 150s 150s python3.14 -m memory_profiler test/test_unicode.py 150s /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 150s if iscoroutinefunction(func): 150s Filename: test/test_unicode.py 150s 150s Line # Mem usage Increment Occurrences Line Contents 150s ============================================================= 150s 2 24.648 MiB 24.648 MiB 1 @profile 150s 3 def test_unicode(txt): 150s 4 # test when unicode is present 150s 5 24.648 MiB 0.000 MiB 1 txt = txt.replace (u"ی", u"ي") #Arabic Yah = ي 150s 6 24.648 MiB 0.000 MiB 1 return txt 150s 150s 150s python3.14 test/test_tracemalloc.py 157s python3.14 test/test_import.py 157s Filename: /tmp/autopkgtest.EDiya1/autopkgtest_tmp/test/test_import.py 157s 157s Line # Mem usage Increment Occurrences Line Contents 157s ============================================================= 157s 4 24.1 MiB 24.1 MiB 1 @profile 157s 5 def my_func(): 157s 6 31.7 MiB 7.6 MiB 1 a = [1] * (10 ** 6) 157s 7 184.3 MiB 152.6 MiB 1 b = [2] * (2 * 10 ** 7) 157s 8 31.7 MiB -152.6 MiB 1 del b 157s 9 31.7 MiB 0.0 MiB 1 return a 157s 157s 157s python3.14 test/test_memory_usage.py 160s python3.14 test/test_precision_import.py 162s Filename: /tmp/autopkgtest.EDiya1/autopkgtest_tmp/test/test_precision_import.py 162s 162s Line # Mem usage Increment Occurrences Line Contents 162s ============================================================= 162s 13 24.0859 MiB 24.0859 MiB 1 @profile(precision=4) 162s 14 def test_1(): 162s 15 31.7188 MiB 7.6328 MiB 1 a = [1] * (10 ** 6) 162s 16 184.3086 MiB 152.5898 MiB 1 b = [2] * (2 * 10 ** 7) 162s 17 184.3086 MiB 0.0000 MiB 1 time.sleep(0.6) 162s 18 31.7188 MiB -152.5898 MiB 1 del b 162s 19 162s 20 31.7188 MiB -0.0586 MiB 3 for i in range(2): 162s 21 31.7188 MiB -0.0586 MiB 2 a = [1] * (10 ** 6) 162s 22 184.3086 MiB 305.1211 MiB 2 b = [2] * (2 * 10 ** 7) 162s 23 31.7188 MiB -305.2383 MiB 2 del b 162s 24 31.6602 MiB -0.0586 MiB 1 return a 162s 162s 162s Filename: /tmp/autopkgtest.EDiya1/autopkgtest_tmp/test/test_precision_import.py 162s 162s Line # Mem usage Increment Occurrences Line Contents 162s ============================================================= 162s 26 31.73047 MiB 31.73047 MiB 1 @profile(precision=5) 162s 27 def test_2(): 162s 28 31.73047 MiB 0.00000 MiB 1 a = {} 162s 29 31.73047 MiB 0.00000 MiB 1 time.sleep(0.5) 162s 30 32.33594 MiB 0.59766 MiB 10001 for i in range(10000): 162s 31 32.33594 MiB 0.00781 MiB 10000 a[i] = i + 1 162s 32 32.33594 MiB 0.00000 MiB 1 time.sleep(0.6) 162s 33 32.33594 MiB 0.00000 MiB 1 return 162s 162s 162s python3.14 test/test_exception.py 162s Traceback (most recent call last): 162s File "", line 1, in 162s from multiprocessing.forkserver import main; main(5, 7, ['__main__'], **{'sys_path': ['/tmp/autopkgtest.EDiya1/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.EDiya1/autopkgtest_tmp/test/test_exception.py', 'authkey_r': 9}) 162s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 162s File "/usr/lib/python3.14/multiprocessing/forkserver.py", line 217, in main 162s spawn.import_main_path(main_path) 162s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 162s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 307, in import_main_path 162s _fixup_main_from_path(main_path) 162s ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 162s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 297, in _fixup_main_from_path 162s main_content = runpy.run_path(main_path, 162s run_name="__mp_main__") 162s File "", line 287, in run_path 162s File "", line 98, in _run_module_code 162s File "", line 88, in _run_code 162s File "/tmp/autopkgtest.EDiya1/autopkgtest_tmp/test/test_exception.py", line 9, in 162s out = memory_usage((foo, tuple(), {}), timeout=1) 162s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 372, in memory_usage 162s p.start() 162s ~~~~~~~^^ 162s File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start 162s self._popen = self._Popen(self) 162s ~~~~~~~~~~~^^^^^^ 162s File "/usr/lib/python3.14/multiprocessing/context.py", line 224, in _Popen 162s return _default_context.get_context().Process._Popen(process_obj) 162s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 162s File "/usr/lib/python3.14/multiprocessing/context.py", line 300, in _Popen 162s return Popen(process_obj) 162s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__ 162s super().__init__(process_obj) 162s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 162s File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__ 162s self._launch(process_obj) 162s ~~~~~~~~~~~~^^^^^^^^^^^^^ 162s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 42, in _launch 162s prep_data = spawn.get_preparation_data(process_obj._name) 162s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 164, in get_preparation_data 162s _check_not_importing_main() 162s ~~~~~~~~~~~~~~~~~~~~~~~~~^^ 162s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 140, in _check_not_importing_main 162s raise RuntimeError(''' 162s ...<16 lines>... 162s ''') 162s RuntimeError: 162s An attempt has been made to start a new process before the 162s current process has finished its bootstrapping phase. 162s 162s This probably means that you are not using fork to start your 162s child processes and you have forgotten to use the proper idiom 162s in the main module: 162s 162s if __name__ == '__main__': 162s freeze_support() 162s ... 162s 162s The "freeze_support()" line can be omitted if the program 162s is not going to be frozen to produce an executable. 162s 162s To fix this issue, refer to the "Safe importing of main module" 162s section in https://docs.python.org/3/library/multiprocessing.html 162s 162s Traceback (most recent call last): 162s File "/tmp/autopkgtest.EDiya1/autopkgtest_tmp/test/test_exception.py", line 9, in 162s out = memory_usage((foo, tuple(), {}), timeout=1) 162s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 372, in memory_usage 162s p.start() 162s ~~~~~~~^^ 162s File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start 162s self._popen = self._Popen(self) 162s ~~~~~~~~~~~^^^^^^ 162s File "/usr/lib/python3.14/multiprocessing/context.py", line 224, in _Popen 162s return _default_context.get_context().Process._Popen(process_obj) 162s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 162s File "/usr/lib/python3.14/multiprocessing/context.py", line 300, in _Popen 162s return Popen(process_obj) 162s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__ 162s super().__init__(process_obj) 162s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ 162s File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__ 162s self._launch(process_obj) 162s ~~~~~~~~~~~~^^^^^^^^^^^^^ 162s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 51, in _launch 162s self.sentinel, w = forkserver.connect_to_new_process(self._fds) 162s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ 162s File "/usr/lib/python3.14/multiprocessing/forkserver.py", line 106, in connect_to_new_process 162s connection.answer_challenge( 162s ~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 162s wrapped_client, self._forkserver_authkey) 162s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 162s File "/usr/lib/python3.14/multiprocessing/connection.py", line 970, in answer_challenge 162s message = connection.recv_bytes(256) # reject large message 162s File "/usr/lib/python3.14/multiprocessing/connection.py", line 222, in recv_bytes 162s buf = self._recv_bytes(maxlength) 162s File "/usr/lib/python3.14/multiprocessing/connection.py", line 447, in _recv_bytes 162s buf = self._recv(4) 162s File "/usr/lib/python3.14/multiprocessing/connection.py", line 412, in _recv 162s chunk = read(handle, to_read) 162s ConnectionResetError: [Errno 104] Connection reset by peer 162s make: *** [Makefile:18: test] Error 1 162s autopkgtest [13:40:33]: test command1: -----------------------] 163s command1 FAIL non-zero exit status 2 163s autopkgtest [13:40:34]: test command1: - - - - - - - - - - results - - - - - - - - - - 164s autopkgtest [13:40:35]: @@@@@@@@@@@@@@@@@@@@ summary 164s command1 FAIL non-zero exit status 2