1
0s autopkgtest [10:58:06]: starting date and time: 2026-02-26 10:58:06+0000
2
0s autopkgtest [10:58:06]: version 5.55
3
0s autopkgtest [10:58:06]: host ci-worker-amd64-01; command line: /usr/bin/autopkgtest --no-built-binaries '--setup-commands=echo '"'"'python-memory-profiler testing/amd64'"'"' > /var/tmp/debci.pkg 2>&1 || true' '--setup-commands=echo '"'"'Acquire::Retries "10";'"'"' > /etc/apt/apt.conf.d/75retry 2>&1 || true' --timeout=30600 --user debci --apt-upgrade --pin-packages=unstable=src:python-memory-profiler '--add-apt-source=deb-src http://deb.debian.org/debian unstable main contrib non-free non-free-firmware
4
0s deb http://deb.debian.org/debian unstable main contrib non-free non-free-firmware' --output-dir /tmp/debci-worker-68987601-i26chRC2BN/autopkgtest-incoming/testing/amd64/p/python-memory-profiler/68987601 python-memory-profiler -- lxc --sudo --name ci-057-ce43fa01 autopkgtest-testing-amd64
5
6s autopkgtest [10:58:12]: testbed dpkg architecture: amd64
6
6s autopkgtest [10:58:12]: testbed apt version: 3.1.16
7
6s autopkgtest [10:58:12]: @@@@@@@@@@@@@@@@@@@@ test bed setup
8
6s autopkgtest [10:58:12]: updating testbed package index (apt update)
9
6s Ign:1 http://deb.debian.org/debian testing InRelease
10
11s Ign:2 http://deb.debian.org/debian-debug testing-debug InRelease
11
11s Ign:1 http://deb.debian.org/debian testing InRelease
12
13s Ign:1 http://deb.debian.org/debian testing InRelease
13
18s Get:2 http://deb.debian.org/debian-debug testing-debug InRelease [43.4 kB]
14
18s Get:1 http://deb.debian.org/debian testing InRelease [137 kB]
15
18s Get:3 http://deb.debian.org/debian-debug testing-debug/contrib Sources.diff/Index [63.3 kB]
16
18s Get:4 http://deb.debian.org/debian-debug testing-debug/main Sources.diff/Index [63.6 kB]
17
18s Get:5 http://deb.debian.org/debian-debug testing-debug/main amd64 Packages.diff/Index [63.6 kB]
18
19s Get:6 http://deb.debian.org/debian-debug testing-debug/contrib amd64 Packages.diff/Index [63.3 kB]
19
19s Get:7 http://deb.debian.org/debian testing/main Sources.diff/Index [63.6 kB]
20
19s Get:8 http://deb.debian.org/debian testing/contrib Sources.diff/Index [63.3 kB]
21
19s Get:9 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [63.6 kB]
22
19s Get:10 http://deb.debian.org/debian testing/contrib amd64 Packages.diff/Index [63.3 kB]
23
19s Get:11 http://deb.debian.org/debian-debug testing-debug/contrib Sources T-2026-02-26-0202.18-F-2026-02-25-2225.52.pdiff [425 B]
24
19s Get:12 http://deb.debian.org/debian-debug testing-debug/main Sources T-2026-02-26-0800.18-F-2026-02-24-2005.46.pdiff [25.4 kB]
25
19s Get:13 http://deb.debian.org/debian-debug testing-debug/main amd64 Packages T-2026-02-26-0800.18-F-2026-02-24-2005.46.pdiff [60.8 kB]
26
19s Get:14 http://deb.debian.org/debian-debug testing-debug/contrib amd64 Packages T-2026-02-26-0202.18-F-2026-02-25-2225.52.pdiff [380 B]
27
19s Get:11 http://deb.debian.org/debian-debug testing-debug/contrib Sources T-2026-02-26-0202.18-F-2026-02-25-2225.52.pdiff [425 B]
28
19s Get:15 http://deb.debian.org/debian testing/main Sources T-2026-02-26-0800.18-F-2026-02-24-2005.46.pdiff [97.5 kB]
29
19s Get:16 http://deb.debian.org/debian testing/contrib Sources T-2026-02-26-0202.18-F-2026-02-25-2225.52.pdiff [544 B]
30
19s Get:17 http://deb.debian.org/debian testing/main amd64 Packages T-2026-02-26-0800.18-F-2026-02-24-2005.46.pdiff [99.6 kB]
31
19s Get:14 http://deb.debian.org/debian-debug testing-debug/contrib amd64 Packages T-2026-02-26-0202.18-F-2026-02-25-2225.52.pdiff [380 B]
32
19s Get:13 http://deb.debian.org/debian-debug testing-debug/main amd64 Packages T-2026-02-26-0800.18-F-2026-02-24-2005.46.pdiff [60.8 kB]
33
19s Get:12 http://deb.debian.org/debian-debug testing-debug/main Sources T-2026-02-26-0800.18-F-2026-02-24-2005.46.pdiff [25.4 kB]
34
19s Get:18 http://deb.debian.org/debian testing/contrib amd64 Packages T-2026-02-26-0202.18-F-2026-02-25-2225.52.pdiff [321 B]
35
19s Get:17 http://deb.debian.org/debian testing/main amd64 Packages T-2026-02-26-0800.18-F-2026-02-24-2005.46.pdiff [99.6 kB]
36
19s Get:18 http://deb.debian.org/debian testing/contrib amd64 Packages T-2026-02-26-0202.18-F-2026-02-25-2225.52.pdiff [321 B]
37
19s Get:15 http://deb.debian.org/debian testing/main Sources T-2026-02-26-0800.18-F-2026-02-24-2005.46.pdiff [97.5 kB]
38
19s Get:16 http://deb.debian.org/debian testing/contrib Sources T-2026-02-26-0202.18-F-2026-02-25-2225.52.pdiff [544 B]
39
20s Fetched 973 kB in 14s (67.5 kB/s)
40
21s Reading package lists...
41
21s autopkgtest [10:58:27]: testbed release detected to be: testing
42
21s autopkgtest [10:58:27]: updating testbed package index for new source autopkgtest-add-apt-sources.list
43
21s Get:1 http://deb.debian.org/debian unstable InRelease [187 kB]
44
22s Get:2 http://deb.debian.org/debian unstable/non-free-firmware Sources [10.3 kB]
45
22s Get:3 http://deb.debian.org/debian unstable/main Sources [11.3 MB]
46
22s Get:4 http://deb.debian.org/debian unstable/contrib Sources [68.5 kB]
47
22s Get:5 http://deb.debian.org/debian unstable/non-free Sources [82.3 kB]
48
23s Fetched 11.7 MB in 1s (10.9 MB/s)
49
23s Reading package lists...
50
23s autopkgtest [10:58:29]: updating testbed package index for new source autopkgtest-add-apt-sources.list
51
23s Hit:1 http://deb.debian.org/debian unstable InRelease
52
23s Get:2 http://deb.debian.org/debian unstable/non-free-firmware amd64 Packages [9,492 B]
53
23s Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [10.2 MB]
54
23s Get:4 http://deb.debian.org/debian unstable/non-free amd64 Packages [131 kB]
55
23s Get:5 http://deb.debian.org/debian unstable/contrib amd64 Packages [69.0 kB]
56
24s Fetched 10.4 MB in 1s (10.2 MB/s)
57
24s Reading package lists...
58
24s autopkgtest [10:58:30]: updating testbed package index (apt update)
59
24s Hit:1 http://deb.debian.org/debian testing InRelease
60
24s Hit:2 http://deb.debian.org/debian-debug testing-debug InRelease
61
25s Hit:3 http://deb.debian.org/debian unstable InRelease
62
26s Reading package lists...
63
26s autopkgtest [10:58:32]: upgrading testbed (apt dist-upgrade and autopurge)
64
26s Reading package lists...
65
26s Building dependency tree...
66
26s Reading state information...
67
26s Calculating upgrade...
68
27s The following packages will be upgraded:
69
27s dbus dbus-bin dbus-daemon dbus-session-bus-common dbus-system-bus-common
70
27s dbus-user-session libdbus-1-3 tar
71
27s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
72
27s Need to get 1,471 kB of archives.
73
27s After this operation, 1,024 B disk space will be freed.
74
27s Get:1 http://deb.debian.org/debian testing/main amd64 tar amd64 1.35+dfsg-4 [817 kB]
75
27s Get:2 http://deb.debian.org/debian testing/main amd64 dbus-system-bus-common all 1.16.2-4 [54.1 kB]
76
27s Get:3 http://deb.debian.org/debian testing/main amd64 dbus-session-bus-common all 1.16.2-4 [53.1 kB]
77
27s Get:4 http://deb.debian.org/debian testing/main amd64 dbus-user-session amd64 1.16.2-4 [53.0 kB]
78
27s Get:5 http://deb.debian.org/debian testing/main amd64 dbus-daemon amd64 1.16.2-4 [160 kB]
79
27s Get:6 http://deb.debian.org/debian testing/main amd64 dbus-bin amd64 1.16.2-4 [80.9 kB]
80
27s Get:7 http://deb.debian.org/debian testing/main amd64 dbus amd64 1.16.2-4 [72.4 kB]
81
27s Get:8 http://deb.debian.org/debian testing/main amd64 libdbus-1-3 amd64 1.16.2-4 [180 kB]
82
27s Fetched 1,471 kB in 0s (9,005 kB/s)
83
27s (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… 12114 files and directories currently installed.)
84
27s Preparing to unpack …/tar_1.35+dfsg-4_amd64.deb…
85
27s Unpacking tar (1.35+dfsg-4) over (1.35+dfsg-3.1)…
86
27s Setting up tar (1.35+dfsg-4)…
87
27s (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… 12114 files and directories currently installed.)
88
27s Preparing to unpack …/0-dbus-system-bus-common_1.16.2-4_all.deb…
89
27s Unpacking dbus-system-bus-common (1.16.2-4) over (1.16.2-3)…
90
27s Preparing to unpack …/1-dbus-session-bus-common_1.16.2-4_all.deb…
91
27s Unpacking dbus-session-bus-common (1.16.2-4) over (1.16.2-3)…
92
27s Preparing to unpack …/2-dbus-user-session_1.16.2-4_amd64.deb…
93
27s Unpacking dbus-user-session (1.16.2-4) over (1.16.2-3)…
94
27s Preparing to unpack …/3-dbus-daemon_1.16.2-4_amd64.deb…
95
27s Unpacking dbus-daemon (1.16.2-4) over (1.16.2-3)…
96
27s Preparing to unpack …/4-dbus-bin_1.16.2-4_amd64.deb…
97
27s Unpacking dbus-bin (1.16.2-4) over (1.16.2-3)…
98
27s Preparing to unpack …/5-dbus_1.16.2-4_amd64.deb…
99
27s Unpacking dbus (1.16.2-4) over (1.16.2-3)…
100
27s Preparing to unpack …/6-libdbus-1-3_1.16.2-4_amd64.deb…
101
27s Unpacking libdbus-1-3:amd64 (1.16.2-4) over (1.16.2-3)…
102
27s Setting up libdbus-1-3:amd64 (1.16.2-4)…
103
27s Setting up dbus-session-bus-common (1.16.2-4)…
104
27s Setting up dbus-system-bus-common (1.16.2-4)…
105
27s Setting up dbus-bin (1.16.2-4)…
106
27s Setting up dbus-daemon (1.16.2-4)…
107
27s Setting up dbus-user-session (1.16.2-4)…
108
27s Setting up dbus (1.16.2-4)…
109
27s A reboot may be required to replace a running dbus-daemon.
110
27s Please reboot the system when convenient.
111
27s dbus.service is a disabled or a static unit, not starting it.
112
27s Processing triggers for libc-bin (2.42-13)…
113
28s Reading package lists...
114
28s Building dependency tree...
115
28s Reading state information...
116
28s Solving dependencies...
117
28s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
118
28s autopkgtest [10:58:34]: rebooting testbed after setup commands that affected boot
119
36s autopkgtest [10:58:42]: testbed running kernel: Linux 6.12.73+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.73-1 (2026-02-17)
120
37s autopkgtest [10:58:43]: @@@@@@@@@@@@@@@@@@@@ apt-source python-memory-profiler
121
48s Get:1 http://deb.debian.org/debian unstable/main python-memory-profiler 0.61-2 (dsc) [2,268 B]
122
48s Get:3 http://deb.debian.org/debian unstable/main python-memory-profiler 0.61-2 (diff) [4,752 B]
123
48s Get:2 http://deb.debian.org/debian unstable/main python-memory-profiler 0.61-2 (tar) [145 kB]
124
48s dpkg-source: warning: cannot verify inline signature for ./python-memory-profiler_0.61-2.dsc: missing OpenPGP keyrings
125
48s autopkgtest [10:58:54]: testing package python-memory-profiler version 0.61-2
126
48s autopkgtest [10:58:54]: build not needed
127
48s autopkgtest [10:58:54]: test command1: preparing testbed
128
48s Reading package lists...
129
48s Building dependency tree...
130
48s Reading state information...
131
48s Solving dependencies...
132
48s The following NEW packages will be installed:
133
48s libffi8 libpython3-stdlib libpython3.13-stdlib libpython3.14-minimal
134
48s libpython3.14-stdlib libreadline8t64 media-types python3 python3-all
135
48s python3-memory-profiler python3-psutil python3.13 python3.14
136
48s python3.14-minimal readline-common
137
49s 0 upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
138
49s Need to get 9,767 kB of archives.
139
49s After this operation, 36.7 MB of additional disk space will be used.
140
49s Get:1 http://deb.debian.org/debian testing/main amd64 media-types all 14.0.0 [30.8 kB]
141
49s Get:2 http://deb.debian.org/debian testing/main amd64 libffi8 amd64 3.5.2-3+b1 [26.4 kB]
142
49s Get:3 http://deb.debian.org/debian testing/main amd64 readline-common all 8.3-4 [74.8 kB]
143
49s Get:4 http://deb.debian.org/debian testing/main amd64 libreadline8t64 amd64 8.3-4 [181 kB]
144
49s Get:5 http://deb.debian.org/debian testing/main amd64 libpython3.13-stdlib amd64 3.13.12-1 [1,974 kB]
145
49s Get:6 http://deb.debian.org/debian testing/main amd64 python3.13 amd64 3.13.12-1 [776 kB]
146
49s Get:7 http://deb.debian.org/debian testing/main amd64 libpython3-stdlib amd64 3.13.9-3 [10.5 kB]
147
49s Get:8 http://deb.debian.org/debian testing/main amd64 python3 amd64 3.13.9-3 [27.6 kB]
148
49s Get:9 http://deb.debian.org/debian testing/main amd64 libpython3.14-minimal amd64 3.14.3-1 [897 kB]
149
49s Get:10 http://deb.debian.org/debian testing/main amd64 python3.14-minimal amd64 3.14.3-1 [2,406 kB]
150
49s Get:11 http://deb.debian.org/debian testing/main amd64 libpython3.14-stdlib amd64 3.14.3-1 [2,263 kB]
151
49s Get:12 http://deb.debian.org/debian testing/main amd64 python3.14 amd64 3.14.3-1 [836 kB]
152
49s Get:13 http://deb.debian.org/debian testing/main amd64 python3-all amd64 3.13.9-3 [1,048 B]
153
49s Get:14 http://deb.debian.org/debian testing/main amd64 python3-psutil amd64 7.1.0-1 [224 kB]
154
49s Get:15 http://deb.debian.org/debian unstable/main amd64 python3-memory-profiler all 0.61-2 [39.2 kB]
155
49s Fetched 9,767 kB in 1s (13.6 MB/s)
156
49s Selecting previously unselected package media-types.
157
49s (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… 12114 files and directories currently installed.)
158
49s Preparing to unpack …/00-media-types_14.0.0_all.deb…
159
49s Unpacking media-types (14.0.0)…
160
49s Selecting previously unselected package libffi8:amd64.
161
49s Preparing to unpack …/01-libffi8_3.5.2-3+b1_amd64.deb…
162
49s Unpacking libffi8:amd64 (3.5.2-3+b1)…
163
49s Selecting previously unselected package readline-common.
164
49s Preparing to unpack …/02-readline-common_8.3-4_all.deb…
165
49s Unpacking readline-common (8.3-4)…
166
49s Selecting previously unselected package libreadline8t64:amd64.
167
49s Preparing to unpack …/03-libreadline8t64_8.3-4_amd64.deb…
168
49s Adding “diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64”
169
49s Adding “diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64”
170
49s Adding “diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64”
171
49s Adding “diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64”
172
49s Unpacking libreadline8t64:amd64 (8.3-4)…
173
49s Selecting previously unselected package libpython3.13-stdlib:amd64.
174
49s Preparing to unpack …/04-libpython3.13-stdlib_3.13.12-1_amd64.deb…
175
49s Unpacking libpython3.13-stdlib:amd64 (3.13.12-1)…
176
50s Selecting previously unselected package python3.13.
177
50s Preparing to unpack …/05-python3.13_3.13.12-1_amd64.deb…
178
50s Unpacking python3.13 (3.13.12-1)…
179
50s Selecting previously unselected package libpython3-stdlib:amd64.
180
50s Preparing to unpack …/06-libpython3-stdlib_3.13.9-3_amd64.deb…
181
50s Unpacking libpython3-stdlib:amd64 (3.13.9-3)…
182
50s Selecting previously unselected package python3.
183
50s Preparing to unpack …/07-python3_3.13.9-3_amd64.deb…
184
50s Unpacking python3 (3.13.9-3)…
185
50s Selecting previously unselected package libpython3.14-minimal:amd64.
186
50s Preparing to unpack …/08-libpython3.14-minimal_3.14.3-1_amd64.deb…
187
50s Unpacking libpython3.14-minimal:amd64 (3.14.3-1)…
188
50s Selecting previously unselected package python3.14-minimal.
189
50s Preparing to unpack …/09-python3.14-minimal_3.14.3-1_amd64.deb…
190
50s Unpacking python3.14-minimal (3.14.3-1)…
191
50s Selecting previously unselected package libpython3.14-stdlib:amd64.
192
50s Preparing to unpack …/10-libpython3.14-stdlib_3.14.3-1_amd64.deb…
193
50s Unpacking libpython3.14-stdlib:amd64 (3.14.3-1)…
194
50s Selecting previously unselected package python3.14.
195
50s Preparing to unpack …/11-python3.14_3.14.3-1_amd64.deb…
196
50s Unpacking python3.14 (3.14.3-1)…
197
50s Selecting previously unselected package python3-all.
198
50s Preparing to unpack …/12-python3-all_3.13.9-3_amd64.deb…
199
50s Unpacking python3-all (3.13.9-3)…
200
50s Selecting previously unselected package python3-psutil.
201
50s Preparing to unpack …/13-python3-psutil_7.1.0-1_amd64.deb…
202
50s Unpacking python3-psutil (7.1.0-1)…
203
50s Selecting previously unselected package python3-memory-profiler.
204
50s Preparing to unpack …/14-python3-memory-profiler_0.61-2_all.deb…
205
50s Unpacking python3-memory-profiler (0.61-2)…
206
50s Setting up media-types (14.0.0)…
207
50s Setting up libpython3.14-minimal:amd64 (3.14.3-1)…
208
50s Setting up libffi8:amd64 (3.5.2-3+b1)…
209
50s Setting up readline-common (8.3-4)…
210
50s Setting up python3.14-minimal (3.14.3-1)…
211
51s Setting up libreadline8t64:amd64 (8.3-4)…
212
51s Setting up libpython3.13-stdlib:amd64 (3.13.12-1)…
213
51s Setting up libpython3-stdlib:amd64 (3.13.9-3)…
214
51s Setting up python3.13 (3.13.12-1)…
215
52s Setting up libpython3.14-stdlib:amd64 (3.14.3-1)…
216
52s Setting up python3 (3.13.9-3)…
217
52s Setting up python3-psutil (7.1.0-1)…
218
52s Setting up python3.14 (3.14.3-1)…
219
53s Setting up python3-memory-profiler (0.61-2)…
220
53s Setting up python3-all (3.13.9-3)…
221
53s Processing triggers for libc-bin (2.42-13)…
222
53s Processing triggers for systemd (259.1-1)…
223
53s autopkgtest [10:58:59]: 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
224
53s autopkgtest [10:58:59]: test command1: [-----------------------
225
53s Testing with python3.14:
226
53s python3.14 -m memory_profiler test/test_func.py
227
54s /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
228
54s if iscoroutinefunction(func):
229
54s Filename: test/test_func.py
230
54s
231
54s Line # Mem usage Increment Occurrences Line Contents
232
54s =============================================================
233
54s 2 24.633 MiB 24.629 MiB 2 @profile
234
54s 3 def test_1(i):
235
54s 4 # .. will be called twice ..
236
54s 5 24.633 MiB 0.000 MiB 2 c = {}
237
54s 6 25.434 MiB 0.004 MiB 10012 for i in range(i):
238
54s 7 25.434 MiB 0.801 MiB 10010 c[i] = 2
239
54s
240
54s
241
54s python3.14 -m memory_profiler test/test_loop.py
242
54s /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
243
54s if iscoroutinefunction(func):
244
56s Filename: test/test_loop.py
245
56s
246
56s Line # Mem usage Increment Occurrences Line Contents
247
56s =============================================================
248
56s 11 25.250 MiB 25.250 MiB 1 @profile
249
56s 12 def test_2():
250
56s 13 32.883 MiB 7.633 MiB 1 a = [1] * (10 ** 6)
251
56s 14 185.473 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7)
252
56s 15 32.883 MiB -152.590 MiB 1 del b
253
56s 16
254
56s 17 32.883 MiB -0.262 MiB 3 for i in range(2):
255
56s 18 32.883 MiB -0.262 MiB 2 a = [1] * (10 ** 6)
256
56s 19 185.473 MiB 304.918 MiB 2 b = [2] * (2 * 10 ** 7)
257
56s 20 32.883 MiB -305.441 MiB 2 del b
258
56s 21 32.621 MiB -0.262 MiB 1 return a
259
56s
260
56s
261
56s python3.14 -m memory_profiler test/test_mprofile.py
262
56s /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
263
56s if iscoroutinefunction(func):
264
58s Filename: test/test_mprofile.py
265
58s
266
58s Line # Mem usage Increment Occurrences Line Contents
267
58s =============================================================
268
58s 5 24.438 MiB 24.438 MiB 1 @profile
269
58s 6 def test1(l):
270
58s 7 """test1 docstring"""
271
58s 8 25.203 MiB 0.766 MiB 1 a = [1] * l
272
58s 9 25.203 MiB 0.000 MiB 1 time.sleep(1)
273
58s 10 25.203 MiB 0.000 MiB 1 return a
274
58s
275
58s
276
58s Filename: test/test_mprofile.py
277
58s
278
58s Line # Mem usage Increment Occurrences Line Contents
279
58s =============================================================
280
58s 12 24.438 MiB 24.438 MiB 1 @profile
281
58s 13 def test2(l):
282
58s 14 25.965 MiB 1.527 MiB 1 b = [1] * l
283
58s 15 25.969 MiB 0.004 MiB 1 time.sleep(1)
284
58s 16 25.969 MiB 0.000 MiB 1 return b
285
58s
286
58s
287
58s python3.14 -m memory_profiler test/test_as.py
288
59s /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
289
59s if iscoroutinefunction(func):
290
59s Filename: test/test_as.py
291
59s
292
59s Line # Mem usage Increment Occurrences Line Contents
293
59s =============================================================
294
59s 3 24.438 MiB 24.438 MiB 1 @profile
295
59s 4 def f():
296
59s 5 24.438 MiB 0.000 MiB 1 o = math.sqrt(2013)
297
59s 6 24.438 MiB 0.000 MiB 1 return o
298
59s
299
59s
300
59s python3.14 -m memory_profiler test/test_global.py
301
59s python3.14 -m memory_profiler test/test_precision_command_line.py
302
59s /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
303
59s if iscoroutinefunction(func):
304
61s Filename: test/test_precision_command_line.py
305
61s
306
61s Line # Mem usage Increment Occurrences Line Contents
307
61s =============================================================
308
61s 11 24.352 MiB 24.352 MiB 1 @profile(precision=4)
309
61s 12 def test_1():
310
61s 13 31.984 MiB 7.633 MiB 1 a = [1] * (10 ** 6)
311
61s 14 184.574 MiB 152.590 MiB 1 b = [2] * (2 * 10 ** 7)
312
61s 15 184.574 MiB 0.000 MiB 1 time.sleep(0.6)
313
61s 16 31.984 MiB -152.590 MiB 1 del b
314
61s 17
315
61s 18 31.988 MiB -0.039 MiB 3 for i in range(2):
316
61s 19 31.984 MiB -0.047 MiB 2 a = [1] * (10 ** 6)
317
61s 20 184.574 MiB 305.137 MiB 2 b = [2] * (2 * 10 ** 7)
318
61s 21 31.984 MiB -305.223 MiB 2 del b
319
61s 22 31.941 MiB -0.047 MiB 1 return a
320
61s
321
61s
322
61s Filename: test/test_precision_command_line.py
323
61s
324
61s Line # Mem usage Increment Occurrences Line Contents
325
61s =============================================================
326
61s 24 31.945 MiB 31.945 MiB 1 @profile(precision=2)
327
61s 25 def test_2():
328
61s 26 31.945 MiB 0.000 MiB 1 a = {}
329
61s 27 31.945 MiB 0.000 MiB 1 time.sleep(0.5)
330
61s 28 32.551 MiB 0.605 MiB 10001 for i in range(10000):
331
61s 29 32.551 MiB 0.000 MiB 10000 a[i] = i + 1
332
61s 30 32.551 MiB 0.000 MiB 1 time.sleep(0.6)
333
61s 31 32.551 MiB 0.000 MiB 1 return
334
61s
335
61s
336
61s python3.14 -m memory_profiler test/test_gen.py
337
61s /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
338
61s if iscoroutinefunction(func):
339
61s Filename: test/test_gen.py
340
61s
341
61s Line # Mem usage Increment Occurrences Line Contents
342
61s =============================================================
343
61s 2 24.715 MiB 24.715 MiB 1 @profile
344
61s 3 def my_func():
345
61s 4 32.348 MiB 7.633 MiB 1 a = [1] * (10 ** 6)
346
61s 5 184.941 MiB 152.594 MiB 1 b = [2] * (2 * 10 ** 7)
347
61s 6 32.352 MiB -152.590 MiB 1 del b
348
61s 7 32.352 MiB 0.000 MiB 2 yield a
349
61s
350
61s
351
61s Filename: test/test_gen.py
352
61s
353
61s Line # Mem usage Increment Occurrences Line Contents
354
61s =============================================================
355
61s 10 24.723 MiB 24.723 MiB 1 @profile
356
61s 11 def test_comprehension():
357
61s 12 # Dict comprehension
358
61s 13 36.680 MiB 11.953 MiB 28 d_comp = dict((str(k*k), [v] * (1<<17))
359
61s 14 36.680 MiB 0.004 MiB 14 for (v, k) in enumerate(range(99, 111)))
360
61s 15
361
61s 16 # List comprehension
362
61s 17 55.582 MiB 18.902 MiB 100 l_comp = [[i] * (i<<9) for i in range(99)]
363
61s 18 39.797 MiB -15.785 MiB 1 del l_comp
364
61s 19 39.797 MiB 0.000 MiB 1 del d_comp
365
61s 20
366
61s 21 39.805 MiB 0.004 MiB 4 def hh(x=1):
367
61s 22 # Set comprehension
368
61s 23 59.383 MiB 19.582 MiB 135 s_comp = set(('Z',) * (k<<13) for k in range(x, 19 + 2*x))
369
61s 24 59.383 MiB 0.000 MiB 3 return s_comp
370
61s 25
371
61s 26 39.805 MiB 0.000 MiB 1 val = [range(1, 4), max(1, 4), 42 + len(hh())]
372
61s 27 59.383 MiB 0.000 MiB 1 val = hh() | hh(4)
373
61s 28 59.383 MiB 0.000 MiB 1 val.add(40)
374
61s 29 65.680 MiB 6.297 MiB 100 l1_comp = [[(1, i)] * (i<<9) for i in range(99)]
375
61s 30 84.504 MiB 18.824 MiB 100 l2_comp = [[(3, i)] * (i<<9) for i in range(99)]
376
61s 31
377
61s 32 84.504 MiB 0.000 MiB 1 return val
378
61s
379
61s
380
61s Filename: test/test_gen.py
381
61s
382
61s Line # Mem usage Increment Occurrences Line Contents
383
61s =============================================================
384
61s 35 24.719 MiB 24.719 MiB 1 @profile
385
61s 36 def test_generator():
386
61s 37 48.734 MiB 24.016 MiB 9 a_gen = ([42] * (1<<20) for __ in '123')
387
61s 38 48.734 MiB 0.000 MiB 1 huge_lst = list(a_gen)
388
61s 39
389
61s 40 48.734 MiB 0.000 MiB 1 b_gen = ([24] * (1<<20) for __ in '123')
390
61s 41 48.734 MiB 0.000 MiB 1 del b_gen
391
61s 42 24.723 MiB -24.012 MiB 1 del huge_lst
392
61s 43
393
61s 44 24.723 MiB 0.000 MiB 1 return a_gen
394
61s
395
61s
396
61s python3.14 -m memory_profiler test/test_unicode.py
397
62s /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
398
62s if iscoroutinefunction(func):
399
62s Filename: test/test_unicode.py
400
62s
401
62s Line # Mem usage Increment Occurrences Line Contents
402
62s =============================================================
403
62s 2 24.488 MiB 24.488 MiB 1 @profile
404
62s 3 def test_unicode(txt):
405
62s 4 # test when unicode is present
406
62s 5 24.488 MiB 0.000 MiB 1 txt = txt.replace (u"ی", u"ي") #Arabic Yah = ي
407
62s 6 24.488 MiB 0.000 MiB 1 return txt
408
62s
409
62s
410
62s python3.14 test/test_tracemalloc.py
411
69s python3.14 test/test_import.py
412
69s Filename: /tmp/autopkgtest-lxc.16jnl_d0/downtmp/autopkgtest_tmp/test/test_import.py
413
69s
414
69s Line # Mem usage Increment Occurrences Line Contents
415
69s =============================================================
416
69s 4 23.6 MiB 23.6 MiB 1 @profile
417
69s 5 def my_func():
418
69s 6 31.3 MiB 7.6 MiB 1 a = [1] * (10 ** 6)
419
69s 7 183.8 MiB 152.6 MiB 1 b = [2] * (2 * 10 ** 7)
420
69s 8 31.3 MiB -152.6 MiB 1 del b
421
69s 9 31.3 MiB 0.0 MiB 1 return a
422
69s
423
69s
424
69s python3.14 test/test_memory_usage.py
425
71s python3.14 test/test_precision_import.py
426
74s Filename: /tmp/autopkgtest-lxc.16jnl_d0/downtmp/autopkgtest_tmp/test/test_precision_import.py
427
74s
428
74s Line # Mem usage Increment Occurrences Line Contents
429
74s =============================================================
430
74s 13 23.9102 MiB 23.9102 MiB 1 @profile(precision=4)
431
74s 14 def test_1():
432
74s 15 31.5469 MiB 7.6367 MiB 1 a = [1] * (10 ** 6)
433
74s 16 184.1367 MiB 152.5898 MiB 1 b = [2] * (2 * 10 ** 7)
434
74s 17 184.1367 MiB 0.0000 MiB 1 time.sleep(0.6)
435
74s 18 31.5469 MiB -152.5898 MiB 1 del b
436
74s 19
437
74s 20 31.5469 MiB -0.0625 MiB 3 for i in range(2):
438
74s 21 31.5469 MiB -0.0625 MiB 2 a = [1] * (10 ** 6)
439
74s 22 184.1367 MiB 305.1172 MiB 2 b = [2] * (2 * 10 ** 7)
440
74s 23 31.5469 MiB -305.2422 MiB 2 del b
441
74s 24 31.4844 MiB -0.0625 MiB 1 return a
442
74s
443
74s
444
74s Filename: /tmp/autopkgtest-lxc.16jnl_d0/downtmp/autopkgtest_tmp/test/test_precision_import.py
445
74s
446
74s Line # Mem usage Increment Occurrences Line Contents
447
74s =============================================================
448
74s 26 31.55859 MiB 31.55859 MiB 1 @profile(precision=5)
449
74s 27 def test_2():
450
74s 28 31.55859 MiB 0.00000 MiB 1 a = {}
451
74s 29 31.55859 MiB 0.00000 MiB 1 time.sleep(0.5)
452
74s 30 32.16406 MiB 0.60547 MiB 10001 for i in range(10000):
453
74s 31 32.16406 MiB 0.00000 MiB 10000 a[i] = i + 1
454
74s 32 32.16406 MiB 0.00000 MiB 1 time.sleep(0.6)
455
74s 33 32.16406 MiB 0.00000 MiB 1 return
456
74s
457
74s
458
74s python3.14 test/test_exception.py
459
74s Traceback (most recent call last):
460
74s File "<string>", line 1, in <module>
461
74s from multiprocessing.forkserver import main; main(5, 7, ['__main__'], **{'sys_path': ['/tmp/autopkgtest-lxc.16jnl_d0/downtmp/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-lxc.16jnl_d0/downtmp/autopkgtest_tmp/test/test_exception.py', 'sys_argv': ['test/test_exception.py'], 'authkey_r': 9})
462
74s ~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
463
74s File "/usr/lib/python3.14/multiprocessing/forkserver.py", line 221, in main
464
74s spawn.import_main_path(main_path)
465
74s ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
466
74s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 307, in import_main_path
467
74s _fixup_main_from_path(main_path)
468
74s ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
469
74s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 297, in _fixup_main_from_path
470
74s main_content = runpy.run_path(main_path,
471
74s run_name="__mp_main__")
472
74s File "<frozen runpy>", line 287, in run_path
473
74s File "<frozen runpy>", line 98, in _run_module_code
474
74s File "<frozen runpy>", line 88, in _run_code
475
74s File "/tmp/autopkgtest-lxc.16jnl_d0/downtmp/autopkgtest_tmp/test/test_exception.py", line 9, in <module>
476
74s out = memory_usage((foo, tuple(), {}), timeout=1)
477
74s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 372, in memory_usage
478
74s p.start()
479
74s ~~~~~~~^^
480
74s File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start
481
74s self._popen = self._Popen(self)
482
74s ~~~~~~~~~~~^^^^^^
483
74s File "/usr/lib/python3.14/multiprocessing/context.py", line 224, in _Popen
484
74s return _default_context.get_context().Process._Popen(process_obj)
485
74s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
486
74s File "/usr/lib/python3.14/multiprocessing/context.py", line 300, in _Popen
487
74s return Popen(process_obj)
488
74s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__
489
74s super().__init__(process_obj)
490
74s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
491
74s File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__
492
74s self._launch(process_obj)
493
74s ~~~~~~~~~~~~^^^^^^^^^^^^^
494
74s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 42, in _launch
495
74s prep_data = spawn.get_preparation_data(process_obj._name)
496
74s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 164, in get_preparation_data
497
74s _check_not_importing_main()
498
74s ~~~~~~~~~~~~~~~~~~~~~~~~~^^
499
74s File "/usr/lib/python3.14/multiprocessing/spawn.py", line 140, in _check_not_importing_main
500
74s raise RuntimeError('''
501
74s ...<16 lines>...
502
74s ''')
503
74s RuntimeError:
504
74s An attempt has been made to start a new process before the
505
74s current process has finished its bootstrapping phase.
506
74s
507
74s This probably means that you are not using fork to start your
508
74s child processes and you have forgotten to use the proper idiom
509
74s in the main module:
510
74s
511
74s if __name__ == '__main__':
512
74s freeze_support()
513
74s ...
514
74s
515
74s The "freeze_support()" line can be omitted if the program
516
74s is not going to be frozen to produce an executable.
517
74s
518
74s To fix this issue, refer to the "Safe importing of main module"
519
74s section in https://docs.python.org/3/library/multiprocessing.html
520
74s
521
74s Traceback (most recent call last):
522
74s File "/tmp/autopkgtest-lxc.16jnl_d0/downtmp/autopkgtest_tmp/test/test_exception.py", line 9, in <module>
523
74s out = memory_usage((foo, tuple(), {}), timeout=1)
524
74s File "/usr/lib/python3/dist-packages/memory_profiler.py", line 372, in memory_usage
525
74s p.start()
526
74s ~~~~~~~^^
527
74s File "/usr/lib/python3.14/multiprocessing/process.py", line 121, in start
528
74s self._popen = self._Popen(self)
529
74s ~~~~~~~~~~~^^^^^^
530
74s File "/usr/lib/python3.14/multiprocessing/context.py", line 224, in _Popen
531
74s return _default_context.get_context().Process._Popen(process_obj)
532
74s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
533
74s File "/usr/lib/python3.14/multiprocessing/context.py", line 300, in _Popen
534
74s return Popen(process_obj)
535
74s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 35, in __init__
536
74s super().__init__(process_obj)
537
74s ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
538
74s File "/usr/lib/python3.14/multiprocessing/popen_fork.py", line 20, in __init__
539
74s self._launch(process_obj)
540
74s ~~~~~~~~~~~~^^^^^^^^^^^^^
541
74s File "/usr/lib/python3.14/multiprocessing/popen_forkserver.py", line 51, in _launch
542
74s self.sentinel, w = forkserver.connect_to_new_process(self._fds)
543
74s ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
544
74s File "/usr/lib/python3.14/multiprocessing/forkserver.py", line 106, in connect_to_new_process
545
74s connection.answer_challenge(
546
74s ~~~~~~~~~~~~~~~~~~~~~~~~~~~^
547
74s wrapped_client, self._forkserver_authkey)
548
74s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
549
74s File "/usr/lib/python3.14/multiprocessing/connection.py", line 970, in answer_challenge
550
74s message = connection.recv_bytes(256) # reject large message
551
74s File "/usr/lib/python3.14/multiprocessing/connection.py", line 222, in recv_bytes
552
74s buf = self._recv_bytes(maxlength)
553
74s File "/usr/lib/python3.14/multiprocessing/connection.py", line 447, in _recv_bytes
554
74s buf = self._recv(4)
555
74s File "/usr/lib/python3.14/multiprocessing/connection.py", line 412, in _recv
556
74s chunk = read(handle, to_read)
557
74s ConnectionResetError: [Errno 104] Connection reset by peer
558
74s make: *** [Makefile:18: test] Error 1
559
74s autopkgtest [10:59:20]: test command1: -----------------------]
560
75s autopkgtest [10:59:21]: test command1: - - - - - - - - - - results - - - - - - - - - -
561
75s command1 FAIL non-zero exit status 2
562
75s autopkgtest [10:59:21]: @@@@@@@@@@@@@@@@@@@@ summary
563
75s command1 FAIL non-zero exit status 2