0s autopkgtest [15:03:13]: starting date and time: 2025-01-03 15:03:13+0000 0s autopkgtest [15:03:13]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [15:03:13]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.yf810b2o/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3-defaults --apt-upgrade importmagic --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=python3-defaults/3.13.1-1~exp2' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-arm64-16.secgroup --name adt-plucky-arm64-importmagic-20250103-150312-juju-7f2275-prod-proposed-migration-environment-20-e76f775b-96e5-4364-99e8-2e1aac215ccd --image adt/ubuntu-plucky-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration -e TERM=linux -e ''"'"'http_proxy=http://squid.internal:3128'"'"'' -e ''"'"'https_proxy=http://squid.internal:3128'"'"'' -e ''"'"'no_proxy=127.0.0.1,127.0.1.1,login.ubuntu.com,localhost,localdomain,novalocal,internal,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net,10.24.0.0/24,keystone.ps5.canonical.com,objectstorage.prodstack5.canonical.com,radosgw.ps5.canonical.com'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 180s autopkgtest [15:06:13]: testbed dpkg architecture: arm64 180s autopkgtest [15:06:13]: testbed apt version: 2.9.18 181s autopkgtest [15:06:14]: @@@@@@@@@@@@@@@@@@@@ test bed setup 181s autopkgtest [15:06:14]: testbed release detected to be: None 182s autopkgtest [15:06:15]: updating testbed package index (apt update) 182s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 182s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 182s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 182s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 182s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [10.1 kB] 182s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [669 kB] 183s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [60.7 kB] 183s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 183s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 Packages [91.4 kB] 183s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/restricted arm64 Packages [57.8 kB] 183s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/universe arm64 Packages [589 kB] 183s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse arm64 Packages [8824 B] 183s Fetched 1570 kB in 1s (1153 kB/s) 184s Reading package lists... 185s Reading package lists... 185s Building dependency tree... 185s Reading state information... 185s Calculating upgrade... 186s The following packages will be upgraded: 186s base-passwd bash-completion 186s 2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 186s Need to get 267 kB of archives. 186s After this operation, 143 kB of additional disk space will be used. 186s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 base-passwd arm64 3.6.6 [53.6 kB] 186s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 bash-completion all 1:2.16.0-1 [214 kB] 187s Preconfiguring packages ... 187s Fetched 267 kB in 1s (509 kB/s) 187s (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 ... 80060 files and directories currently installed.) 187s Preparing to unpack .../base-passwd_3.6.6_arm64.deb ... 187s Unpacking base-passwd (3.6.6) over (3.6.5) ... 187s Setting up base-passwd (3.6.6) ... 188s (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 ... 80060 files and directories currently installed.) 188s Preparing to unpack .../bash-completion_1%3a2.16.0-1_all.deb ... 188s Unpacking bash-completion (1:2.16.0-1) over (1:2.14.0-2) ... 188s Setting up bash-completion (1:2.16.0-1) ... 188s Processing triggers for man-db (2.13.0-1) ... 189s Reading package lists... 190s Building dependency tree... 190s Reading state information... 190s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 190s autopkgtest [15:06:23]: upgrading testbed (apt dist-upgrade and autopurge) 191s Reading package lists... 191s Building dependency tree... 191s Reading state information... 191s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 191s Starting 2 pkgProblemResolver with broken count: 0 191s Done 192s Entering ResolveByKeep 192s 193s The following packages were automatically installed and are no longer required: 193s python3.12 python3.12-minimal 193s Use 'sudo apt autoremove' to remove them. 193s The following NEW packages will be installed: 193s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 193s The following packages will be upgraded: 193s libpython3-stdlib python3 python3-minimal 193s 3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 193s Need to get 5992 kB of archives. 193s After this operation, 24.3 MB of additional disk space will be used. 193s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-minimal arm64 3.13.1-2 [879 kB] 194s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13-minimal arm64 3.13.1-2 [2262 kB] 195s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-minimal arm64 3.13.1-1~exp2 [27.6 kB] 195s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3 arm64 3.13.1-1~exp2 [23.9 kB] 195s Get:5 http://ftpmaster.internal/ubuntu plucky/main arm64 libpython3.13-stdlib arm64 3.13.1-2 [2061 kB] 195s Get:6 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.13 arm64 3.13.1-2 [729 kB] 195s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 libpython3-stdlib arm64 3.13.1-1~exp2 [10.2 kB] 196s Fetched 5992 kB in 2s (2784 kB/s) 196s Selecting previously unselected package libpython3.13-minimal:arm64. 196s (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 ... 80185 files and directories currently installed.) 196s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_arm64.deb ... 196s Unpacking libpython3.13-minimal:arm64 (3.13.1-2) ... 196s Selecting previously unselected package python3.13-minimal. 196s Preparing to unpack .../python3.13-minimal_3.13.1-2_arm64.deb ... 196s Unpacking python3.13-minimal (3.13.1-2) ... 196s Setting up libpython3.13-minimal:arm64 (3.13.1-2) ... 196s Setting up python3.13-minimal (3.13.1-2) ... 197s (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 ... 80505 files and directories currently installed.) 197s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_arm64.deb ... 197s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.8-1) ... 197s Setting up python3-minimal (3.13.1-1~exp2) ... 197s (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 ... 80505 files and directories currently installed.) 197s Preparing to unpack .../python3_3.13.1-1~exp2_arm64.deb ... 197s Unpacking python3 (3.13.1-1~exp2) over (3.12.8-1) ... 197s Selecting previously unselected package libpython3.13-stdlib:arm64. 197s Preparing to unpack .../libpython3.13-stdlib_3.13.1-2_arm64.deb ... 197s Unpacking libpython3.13-stdlib:arm64 (3.13.1-2) ... 197s Selecting previously unselected package python3.13. 197s Preparing to unpack .../python3.13_3.13.1-2_arm64.deb ... 197s Unpacking python3.13 (3.13.1-2) ... 197s Preparing to unpack .../libpython3-stdlib_3.13.1-1~exp2_arm64.deb ... 197s Unpacking libpython3-stdlib:arm64 (3.13.1-1~exp2) over (3.12.8-1) ... 197s Setting up libpython3.13-stdlib:arm64 (3.13.1-2) ... 197s Setting up libpython3-stdlib:arm64 (3.13.1-1~exp2) ... 197s Setting up python3.13 (3.13.1-2) ... 199s Setting up python3 (3.13.1-1~exp2) ... 199s /usr/bin/py3clean:101: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 199s for fn in glob1(directory, "%s.*" % fname): 199s Processing triggers for man-db (2.13.0-1) ... 199s Processing triggers for systemd (257-2ubuntu1) ... 200s Reading package lists... 200s Building dependency tree... 200s Reading state information... 200s Starting pkgProblemResolver with broken count: 0 200s Starting 2 pkgProblemResolver with broken count: 0 200s Done 201s The following packages will be REMOVED: 201s python3.12* python3.12-minimal* 201s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 201s After this operation, 8710 kB disk space will be freed. 201s (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 ... 80922 files and directories currently installed.) 201s Removing python3.12 (3.12.8-3) ... 202s Removing python3.12-minimal (3.12.8-3) ... 202s /usr/bin/py3clean:125: DeprecationWarning: glob.glob1 is deprecated and will be removed in Python 3.15. Use glob.glob and pass a directory to its root_dir argument instead. 202s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 202s Processing triggers for man-db (2.13.0-1) ... 203s Processing triggers for systemd (257-2ubuntu1) ... 203s (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 ... 80894 files and directories currently installed.) 203s Purging configuration files for python3.12-minimal (3.12.8-3) ... 205s autopkgtest [15:06:38]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 14:19:41 UTC 2024 205s autopkgtest [15:06:38]: @@@@@@@@@@@@@@@@@@@@ apt-source importmagic 207s Get:1 http://ftpmaster.internal/ubuntu plucky/universe importmagic 0.1.7-6 (dsc) [2118 B] 207s Get:2 http://ftpmaster.internal/ubuntu plucky/universe importmagic 0.1.7-6 (tar) [392 kB] 207s Get:3 http://ftpmaster.internal/ubuntu plucky/universe importmagic 0.1.7-6 (diff) [4560 B] 207s gpgv: Signature made Wed Jun 19 11:15:04 2024 UTC 207s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 207s gpgv: issuer "tchet@debian.org" 207s gpgv: Can't check signature: No public key 207s dpkg-source: warning: cannot verify inline signature for ./importmagic_0.1.7-6.dsc: no acceptable signature found 207s autopkgtest [15:06:40]: testing package importmagic version 0.1.7-6 208s autopkgtest [15:06:41]: build not needed 208s autopkgtest [15:06:41]: test command1: preparing testbed 208s Reading package lists... 209s Building dependency tree... 209s Reading state information... 209s Starting pkgProblemResolver with broken count: 0 209s Starting 2 pkgProblemResolver with broken count: 0 209s Done 210s The following NEW packages will be installed: 210s python3-all python3-importmagic python3-iniconfig python3-packaging 210s python3-pluggy python3-pytest python3-six python3.12 python3.12-minimal 210s 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 210s Need to get 3265 kB of archives. 210s After this operation, 10.5 MB of additional disk space will be used. 210s Get:1 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12-minimal arm64 3.12.8-3 [2236 kB] 211s Get:2 http://ftpmaster.internal/ubuntu plucky/main arm64 python3.12 arm64 3.12.8-3 [667 kB] 211s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main arm64 python3-all arm64 3.13.1-1~exp2 [894 B] 211s Get:4 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-six all 1.17.0-1 [13.2 kB] 211s Get:5 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-importmagic all 0.1.7-6 [17.8 kB] 211s Get:6 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 211s Get:7 http://ftpmaster.internal/ubuntu plucky/main arm64 python3-packaging all 24.2-1 [51.5 kB] 211s Get:8 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 211s Get:9 http://ftpmaster.internal/ubuntu plucky/universe arm64 python3-pytest all 8.3.3-1 [251 kB] 212s Fetched 3265 kB in 1s (2551 kB/s) 212s Selecting previously unselected package python3.12-minimal. 212s (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 ... 80894 files and directories currently installed.) 212s Preparing to unpack .../0-python3.12-minimal_3.12.8-3_arm64.deb ... 212s Unpacking python3.12-minimal (3.12.8-3) ... 212s Selecting previously unselected package python3.12. 212s Preparing to unpack .../1-python3.12_3.12.8-3_arm64.deb ... 212s Unpacking python3.12 (3.12.8-3) ... 212s Selecting previously unselected package python3-all. 212s Preparing to unpack .../2-python3-all_3.13.1-1~exp2_arm64.deb ... 212s Unpacking python3-all (3.13.1-1~exp2) ... 212s Selecting previously unselected package python3-six. 212s Preparing to unpack .../3-python3-six_1.17.0-1_all.deb ... 212s Unpacking python3-six (1.17.0-1) ... 212s Selecting previously unselected package python3-importmagic. 212s Preparing to unpack .../4-python3-importmagic_0.1.7-6_all.deb ... 212s Unpacking python3-importmagic (0.1.7-6) ... 212s Selecting previously unselected package python3-iniconfig. 212s Preparing to unpack .../5-python3-iniconfig_1.1.1-2_all.deb ... 212s Unpacking python3-iniconfig (1.1.1-2) ... 212s Selecting previously unselected package python3-packaging. 212s Preparing to unpack .../6-python3-packaging_24.2-1_all.deb ... 212s Unpacking python3-packaging (24.2-1) ... 212s Selecting previously unselected package python3-pluggy. 212s Preparing to unpack .../7-python3-pluggy_1.5.0-1_all.deb ... 212s Unpacking python3-pluggy (1.5.0-1) ... 212s Selecting previously unselected package python3-pytest. 212s Preparing to unpack .../8-python3-pytest_8.3.3-1_all.deb ... 212s Unpacking python3-pytest (8.3.3-1) ... 212s Setting up python3-iniconfig (1.1.1-2) ... 213s Setting up python3.12-minimal (3.12.8-3) ... 214s Setting up python3.12 (3.12.8-3) ... 216s Setting up python3-all (3.13.1-1~exp2) ... 216s Setting up python3-six (1.17.0-1) ... 216s Setting up python3-packaging (24.2-1) ... 216s Setting up python3-pluggy (1.5.0-1) ... 216s Setting up python3-importmagic (0.1.7-6) ... 217s /usr/lib/python3/dist-packages/importmagic/util.py:9: SyntaxWarning: invalid escape sequence '\s' 217s CODING_COOKIE_RE = re.compile('(^\s*#.*)coding[:=]', re.M) 217s /usr/lib/python3/dist-packages/importmagic/util.py:9: SyntaxWarning: invalid escape sequence '\s' 217s CODING_COOKIE_RE = re.compile('(^\s*#.*)coding[:=]', re.M) 217s Setting up python3-pytest (8.3.3-1) ... 217s Processing triggers for man-db (2.13.0-1) ... 218s Processing triggers for systemd (257-2ubuntu1) ... 219s autopkgtest [15:06:52]: test command1: set -e ; cp "importmagic/test_index.json" $AUTOPKGTEST_TMP ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py in :$(pwd)" ; $py -m pytest -v --pyargs importmagic ; done 219s autopkgtest [15:06:52]: test command1: [----------------------- 219s Testing with python3.12 in :/tmp/autopkgtest.HOF7hY/autopkgtest_tmp 219s ============================= test session starts ============================== 219s platform linux -- Python 3.12.8, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 219s cachedir: .pytest_cache 219s rootdir: /tmp/autopkgtest.HOF7hY/autopkgtest_tmp 219s plugins: typeguard-4.4.1 219s collecting ... collected 66 items 219s 219s importer_test.py::test_get_update PASSED [ 1%] 219s importer_test.py::test_deep_import_of_unknown_symbol PASSED [ 3%] 219s importer_test.py::test_import_future_preserved PASSED [ 4%] 219s importer_test.py::test_update_imports_inserts_initial_imports PASSED [ 6%] 219s importer_test.py::test_update_imports_inserts_imports PASSED [ 7%] 219s importer_test.py::test_update_imports_correctly_aliases PASSED [ 9%] 219s importer_test.py::test_parse_imports PASSED [ 10%] 219s importer_test.py::test_imports_inserted_after_preamble PASSED [ 12%] 219s importer_test.py::test_imports_dont_delete_trailing_comments PASSED [ 13%] 219s importer_test.py::test_imports_dont_delete_imports_after_middle_comments PASSED [ 15%] 219s importer_test.py::test_imports_removes_unused PASSED [ 16%] 219s importer_test.py::test_imports_module_assignment PASSED [ 18%] 219s importer_test.py::test_import_as_kept PASSED [ 19%] 219s importer_test.py::test_from_import_as PASSED [ 21%] 219s importer_test.py::test_importer_wrapping_escaped PASSED [ 22%] 219s importer_test.py::test_importer_wrapping_escaped_longer PASSED [ 24%] 219s importer_test.py::test_importer_wrapping_parentheses PASSED [ 25%] 219s importer_test.py::test_importer_wrapping_parentheses_longer PASSED [ 27%] 219s importer_test.py::test_importer_wrapping_colums PASSED [ 28%] 219s importer_test.py::test_importer_directives_referenced PASSED [ 30%] 219s importer_test.py::test_importer_directives_not_referenced PASSED [ 31%] 219s importer_test.py::test_imports_partial_file PASSED [ 33%] 219s index_test.py::test_index_basic_api PASSED [ 34%] 219s index_test.py::test_index_filesystem PASSED [ 36%] 219s index_test.py::test_index_file_with_all PASSED [ 37%] 219s index_test.py::test_index_if_name_main PASSED [ 39%] 219s index_test.py::test_index_symbol_scores PASSED [ 40%] 219s index_test.py::test_index_score_deep_unknown_attribute PASSED [ 42%] 219s index_test.py::test_index_score_deep_reference PASSED [ 43%] 219s index_test.py::test_index_score_missing_symbol PASSED [ 45%] 219s index_test.py::test_index_score_sys_path PASSED [ 46%] 219s index_test.py::test_encoding_score PASSED [ 48%] 219s index_test.py::test_score_boosts_apply_to_scopes PASSED [ 50%] 219s symbols_test.py::test_parser_symbol_in_global_function PASSED [ 51%] 219s symbols_test.py::test_deep_package_reference_with_function_call PASSED [ 53%] 219s symbols_test.py::test_deep_package_reference_with_subscript PASSED [ 54%] 219s symbols_test.py::test_parser_class_methods_namespace_correctly PASSED [ 56%] 219s symbols_test.py::test_path_from_node_function PASSED [ 57%] 219s symbols_test.py::test_symbol_from_assignment PASSED [ 59%] 219s symbols_test.py::test_path_from_node_subscript PASSED [ 60%] 219s symbols_test.py::test_symbol_series PASSED [ 62%] 219s symbols_test.py::test_symbol_in_expression PASSED [ 63%] 219s symbols_test.py::test_symbol_from_nested_tuples PASSED [ 65%] 219s symbols_test.py::test_symbol_from_argument_defaults PASSED [ 66%] 219s symbols_test.py::test_symbol_from_decorator PASSED [ 68%] 219s symbols_test.py::test_referenced_symbols_from_decorated_function PASSED [ 69%] 219s symbols_test.py::test_find_unresolved_and_unreferenced_symbols PASSED [ 71%] 219s symbols_test.py::test_accepts_unicode_strings PASSED [ 72%] 219s symbols_test.py::TestSymbolCollection::test_attribute PASSED [ 74%] 219s symbols_test.py::TestSymbolCollection::test_tuple PASSED [ 75%] 219s symbols_test.py::TestSymbolCollection::test_chained_calls PASSED [ 77%] 219s symbols_test.py::TestSymbolCollection::test_chained_subscript PASSED [ 78%] 219s symbols_test.py::TestSymbolCollection::test_attribute_then_call PASSED [ 80%] 219s symbols_test.py::TestSymbolCollection::test_deep_attributes PASSED [ 81%] 219s symbols_test.py::TestSymbolCollection::test_generator PASSED [ 83%] 219s symbols_test.py::TestSymbolCollection::test_comprehension PASSED [ 84%] 219s symbols_test.py::TestSymbolCollection::test_class_attribute PASSED [ 86%] 220s symbols_test.py::TestSymbolCollection::test_with PASSED [ 87%] 220s symbols_test.py::TestSymbolCollection::test_with_variables PASSED [ 89%] 220s symbols_test.py::TestSymbolCollection::test_assignment_in_for PASSED [ 90%] 220s symbols_test.py::TestSymbolCollection::test_assignment_to_subscript PASSED [ 92%] 220s symbols_test.py::TestSymbolCollection::test_attribute_calls PASSED [ 93%] 220s symbols_test.py::TestSymbolCollection::test_attribute_calls_with_args PASSED [ 95%] 220s symbols_test.py::TestSymbolCollection::test_subscript_with_attrs PASSED [ 96%] 220s symbols_test.py::TestSymbolCollection::test_multiple_names PASSED [ 98%] 220s symbols_test.py::TestSymbolCollection::test_multiple_attributes PASSED [100%] 220s 220s =============================== warnings summary =============================== 220s index_test.py::test_index_filesystem 220s /usr/lib/python3/dist-packages/importmagic/index.py:186: DeprecationWarning: 'spwd' is deprecated and slated for removal in Python 3.13 220s module = __import__(name, fromlist=['.']) 220s 220s index_test.py::test_index_file_with_all 220s index_test.py::test_index_file_with_all 220s /usr/lib/python3/dist-packages/importmagic/index.py:407: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead 220s if isinstance(subnode, ast.Str): 220s 220s index_test.py::test_index_file_with_all 220s /usr/lib/python3/dist-packages/importmagic/index.py:408: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead 220s self._tree.add_explicit_export(subnode.s, 1.2) 220s 220s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 220s ======================== 66 passed, 4 warnings in 0.30s ======================== 220s Testing with python3.13 in :/tmp/autopkgtest.HOF7hY/autopkgtest_tmp 221s ============================= test session starts ============================== 221s platform linux -- Python 3.13.1, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 221s cachedir: .pytest_cache 221s rootdir: /tmp/autopkgtest.HOF7hY/autopkgtest_tmp 221s plugins: typeguard-4.4.1 221s collecting ... autopkgtest [15:06:54]: test command1: -----------------------] 221s collected 66 items 221s 221s importer_test.py::test_get_update PASSED [ 1%] 221s importer_test.py::test_deep_import_of_unknown_symbol PASSED [ 3%] 221s importer_test.py::test_import_future_preserved PASSED [ 4%] 221s importer_test.py::test_update_imports_inserts_initial_imports PASSED [ 6%] 221s importer_test.py::test_update_imports_inserts_imports PASSED [ 7%] 221s importer_test.py::test_update_imports_correctly_aliases PASSED [ 9%] 221s importer_test.py::test_parse_imports PASSED [ 10%] 221s importer_test.py::test_imports_inserted_after_preamble PASSED [ 12%] 221s importer_test.py::test_imports_dont_delete_trailing_comments PASSED [ 13%] 221s importer_test.py::test_imports_dont_delete_imports_after_middle_comments PASSED [ 15%] 221s importer_test.py::test_imports_removes_unused PASSED [ 16%] 221s importer_test.py::test_imports_module_assignment PASSED [ 18%] 221s importer_test.py::test_import_as_kept PASSED [ 19%] 221s importer_test.py::test_from_import_as PASSED [ 21%] 221s importer_test.py::test_importer_wrapping_escaped PASSED [ 22%] 221s importer_test.py::test_importer_wrapping_escaped_longer PASSED [ 24%] 221s importer_test.py::test_importer_wrapping_parentheses PASSED [ 25%] 221s importer_test.py::test_importer_wrapping_parentheses_longer PASSED [ 27%] 221s importer_test.py::test_importer_wrapping_colums PASSED [ 28%] 221s importer_test.py::test_importer_directives_referenced PASSED [ 30%] 221s importer_test.py::test_importer_directives_not_referenced PASSED [ 31%] 221s importer_test.py::test_imports_partial_file PASSED [ 33%] 221s index_test.py::test_index_basic_api PASSED [ 34%] 221s index_test.py::test_index_filesystem PASSED [ 36%] 221s index_test.py::test_index_file_with_all PASSED [ 37%] 221s index_test.py::test_index_if_name_main PASSED [ 39%] 221s index_test.py::test_index_symbol_scores PASSED [ 40%] 221s index_test.py::test_index_score_deep_unknown_attribute PASSED [ 42%] 221s index_test.py::test_index_score_deep_reference PASSED [ 43%] 221s index_test.py::test_index_score_missing_symbol PASSED [ 45%] 221s index_test.py::test_index_score_sys_path PASSED [ 46%] 221s index_test.py::test_encoding_score PASSED [ 48%] 221s index_test.py::test_score_boosts_apply_to_scopes PASSED [ 50%] 221s symbols_test.py::test_parser_symbol_in_global_function PASSED [ 51%] 221s symbols_test.py::test_deep_package_reference_with_function_call PASSED [ 53%] 221s symbols_test.py::test_deep_package_reference_with_subscript PASSED [ 54%] 221s symbols_test.py::test_parser_class_methods_namespace_correctly PASSED [ 56%] 221s symbols_test.py::test_path_from_node_function PASSED [ 57%] 221s symbols_test.py::test_symbol_from_assignment PASSED [ 59%] 221s symbols_test.py::test_path_from_node_subscript PASSED [ 60%] 221s symbols_test.py::test_symbol_series PASSED [ 62%] 221s symbols_test.py::test_symbol_in_expression PASSED [ 63%] 221s symbols_test.py::test_symbol_from_nested_tuples PASSED [ 65%] 221s symbols_test.py::test_symbol_from_argument_defaults PASSED [ 66%] 221s symbols_test.py::test_symbol_from_decorator PASSED [ 68%] 221s symbols_test.py::test_referenced_symbols_from_decorated_function PASSED [ 69%] 221s symbols_test.py::test_find_unresolved_and_unreferenced_symbols PASSED [ 71%] 221s symbols_test.py::test_accepts_unicode_strings PASSED [ 72%] 221s symbols_test.py::TestSymbolCollection::test_attribute PASSED [ 74%] 221s symbols_test.py::TestSymbolCollection::test_tuple PASSED [ 75%] 221s symbols_test.py::TestSymbolCollection::test_chained_calls PASSED [ 77%] 221s symbols_test.py::TestSymbolCollection::test_chained_subscript PASSED [ 78%] 221s symbols_test.py::TestSymbolCollection::test_attribute_then_call PASSED [ 80%] 221s symbols_test.py::TestSymbolCollection::test_deep_attributes PASSED [ 81%] 221s symbols_test.py::TestSymbolCollection::test_generator PASSED [ 83%] 221s symbols_test.py::TestSymbolCollection::test_comprehension PASSED [ 84%] 221s symbols_test.py::TestSymbolCollection::test_class_attribute PASSED [ 86%] 221s symbols_test.py::TestSymbolCollection::test_with PASSED [ 87%] 221s symbols_test.py::TestSymbolCollection::test_with_variables PASSED [ 89%] 221s symbols_test.py::TestSymbolCollection::test_assignment_in_for PASSED [ 90%] 221s symbols_test.py::TestSymbolCollection::test_assignment_to_subscript PASSED [ 92%] 221s symbols_test.py::TestSymbolCollection::test_attribute_calls PASSED [ 93%] 221s symbols_test.py::TestSymbolCollection::test_attribute_calls_with_args PASSED [ 95%] 221s symbols_test.py::TestSymbolCollection::test_subscript_with_attrs PASSED [ 96%] 221s symbols_test.py::TestSymbolCollection::test_multiple_names PASSED [ 98%] 221s symbols_test.py::TestSymbolCollection::test_multiple_attributes PASSED [100%] 221s 221s =============================== warnings summary =============================== 221s index_test.py::test_index_file_with_all 221s index_test.py::test_index_file_with_all 221s /usr/lib/python3/dist-packages/importmagic/index.py:407: DeprecationWarning: ast.Str is deprecated and will be removed in Python 3.14; use ast.Constant instead 221s if isinstance(subnode, ast.Str): 221s 221s index_test.py::test_index_file_with_all 221s /usr/lib/python3/dist-packages/importmagic/index.py:408: DeprecationWarning: Attribute s is deprecated and will be removed in Python 3.14; use value instead 221s self._tree.add_explicit_export(subnode.s, 1.2) 221s 221s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 221s ======================== 66 passed, 3 warnings in 0.29s ======================== 221s command1 PASS 221s autopkgtest [15:06:54]: test command1: - - - - - - - - - - results - - - - - - - - - - 222s autopkgtest [15:06:55]: @@@@@@@@@@@@@@@@@@@@ summary 222s command1 PASS 238s nova [W] Using flock in prodstack6-arm64 238s Creating nova instance adt-plucky-arm64-importmagic-20250103-150312-juju-7f2275-prod-proposed-migration-environment-20-e76f775b-96e5-4364-99e8-2e1aac215ccd from image adt/ubuntu-plucky-arm64-server-20250102.img (UUID 4cb073f4-4206-4362-b576-2406cb25ddd8)... 238s nova [W] Timed out waiting for f170be0c-e23b-4257-afac-aa3191c83040 to get deleted.