0s autopkgtest [05:57:44]: starting date and time: 2025-01-05 05:57:44+0000 0s autopkgtest [05:57:44]: git checkout: 325255d2 Merge branch 'pin-any-arch' into 'ubuntu/production' 0s autopkgtest [05:57:44]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.k94z9diy/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 builder-cpu2-ram4-disk20 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-10.secgroup --name adt-plucky-amd64-importmagic-20250105-055744-juju-7f2275-prod-proposed-migration-environment-2-2bdf9b14-97c2-43f3-b11c-97738739e79c --image adt/ubuntu-plucky-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --net-id=net_prod-proposed-migration-amd64 -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/ 172s autopkgtest [06:00:36]: testbed dpkg architecture: amd64 172s autopkgtest [06:00:36]: testbed apt version: 2.9.18 173s autopkgtest [06:00:37]: @@@@@@@@@@@@@@@@@@@@ test bed setup 173s autopkgtest [06:00:37]: testbed release detected to be: None 173s autopkgtest [06:00:37]: updating testbed package index (apt update) 174s Get:1 http://ftpmaster.internal/ubuntu plucky-proposed InRelease [73.9 kB] 174s Hit:2 http://ftpmaster.internal/ubuntu plucky InRelease 174s Hit:3 http://ftpmaster.internal/ubuntu plucky-updates InRelease 174s Hit:4 http://ftpmaster.internal/ubuntu plucky-security InRelease 174s Get:5 http://ftpmaster.internal/ubuntu plucky-proposed/main Sources [80.3 kB] 174s Get:6 http://ftpmaster.internal/ubuntu plucky-proposed/restricted Sources [9708 B] 174s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse Sources [14.1 kB] 174s Get:8 http://ftpmaster.internal/ubuntu plucky-proposed/universe Sources [707 kB] 174s Get:9 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 Packages [162 kB] 174s Get:10 http://ftpmaster.internal/ubuntu plucky-proposed/main i386 Packages [106 kB] 174s Get:11 http://ftpmaster.internal/ubuntu plucky-proposed/restricted amd64 Packages [40.1 kB] 174s Get:12 http://ftpmaster.internal/ubuntu plucky-proposed/restricted i386 Packages [2408 B] 174s Get:13 http://ftpmaster.internal/ubuntu plucky-proposed/universe i386 Packages [278 kB] 174s Get:14 http://ftpmaster.internal/ubuntu plucky-proposed/universe amd64 Packages [777 kB] 174s Get:15 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse amd64 Packages [13.7 kB] 174s Get:16 http://ftpmaster.internal/ubuntu plucky-proposed/multiverse i386 Packages [4604 B] 175s Fetched 2268 kB in 1s (2553 kB/s) 175s Reading package lists... 176s Reading package lists... 176s Building dependency tree... 176s Reading state information... 176s Calculating upgrade... 176s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 176s Reading package lists... 177s Building dependency tree... 177s Reading state information... 177s 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. 177s autopkgtest [06:00:41]: upgrading testbed (apt dist-upgrade and autopurge) 177s Reading package lists... 177s Building dependency tree... 177s Reading state information... 178s Calculating upgrade...Starting pkgProblemResolver with broken count: 0 178s Starting 2 pkgProblemResolver with broken count: 0 178s Done 178s Entering ResolveByKeep 178s 178s The following packages were automatically installed and are no longer required: 178s python3.12 python3.12-minimal 178s Use 'sudo apt autoremove' to remove them. 178s The following NEW packages will be installed: 178s libpython3.13-minimal libpython3.13-stdlib python3.13 python3.13-minimal 178s The following packages will be upgraded: 178s libpython3-stdlib python3 python3-minimal 180s 3 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. 180s Need to get 6118 kB of archives. 180s After this operation, 22.7 MB of additional disk space will be used. 180s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-minimal amd64 3.13.1-2 [881 kB] 180s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13-minimal amd64 3.13.1-2 [2358 kB] 180s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-minimal amd64 3.13.1-1~exp2 [27.6 kB] 180s Get:4 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3 amd64 3.13.1-1~exp2 [23.9 kB] 180s Get:5 http://ftpmaster.internal/ubuntu plucky/main amd64 libpython3.13-stdlib amd64 3.13.1-2 [2088 kB] 180s Get:6 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.13 amd64 3.13.1-2 [729 kB] 180s Get:7 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 libpython3-stdlib amd64 3.13.1-1~exp2 [10.2 kB] 181s Fetched 6118 kB in 2s (3200 kB/s) 181s Selecting previously unselected package libpython3.13-minimal:amd64. 181s (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 ... 75804 files and directories currently installed.) 181s Preparing to unpack .../libpython3.13-minimal_3.13.1-2_amd64.deb ... 181s Unpacking libpython3.13-minimal:amd64 (3.13.1-2) ... 181s Selecting previously unselected package python3.13-minimal. 181s Preparing to unpack .../python3.13-minimal_3.13.1-2_amd64.deb ... 181s Unpacking python3.13-minimal (3.13.1-2) ... 181s Setting up libpython3.13-minimal:amd64 (3.13.1-2) ... 181s Setting up python3.13-minimal (3.13.1-2) ... 182s (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 ... 76124 files and directories currently installed.) 182s Preparing to unpack .../python3-minimal_3.13.1-1~exp2_amd64.deb ... 182s Unpacking python3-minimal (3.13.1-1~exp2) over (3.12.8-1) ... 182s Setting up python3-minimal (3.13.1-1~exp2) ... 182s (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 ... 76124 files and directories currently installed.) 182s Preparing to unpack .../python3_3.13.1-1~exp2_amd64.deb ... 182s Unpacking python3 (3.13.1-1~exp2) over (3.12.8-1) ... 182s Selecting previously unselected package libpython3.13-stdlib:amd64. 182s Preparing to unpack .../libpython3.13-stdlib_3.13.1-2_amd64.deb ... 182s Unpacking libpython3.13-stdlib:amd64 (3.13.1-2) ... 182s Selecting previously unselected package python3.13. 182s Preparing to unpack .../python3.13_3.13.1-2_amd64.deb ... 182s Unpacking python3.13 (3.13.1-2) ... 182s Preparing to unpack .../libpython3-stdlib_3.13.1-1~exp2_amd64.deb ... 182s Unpacking libpython3-stdlib:amd64 (3.13.1-1~exp2) over (3.12.8-1) ... 182s Setting up libpython3.13-stdlib:amd64 (3.13.1-2) ... 182s Setting up libpython3-stdlib:amd64 (3.13.1-1~exp2) ... 182s Setting up python3.13 (3.13.1-2) ... 183s Setting up python3 (3.13.1-1~exp2) ... 183s /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. 183s for fn in glob1(directory, "%s.*" % fname): 183s Processing triggers for man-db (2.13.0-1) ... 183s Processing triggers for systemd (257-2ubuntu1) ... 184s Reading package lists... 184s Building dependency tree... 184s Reading state information... 184s Starting pkgProblemResolver with broken count: 0 184s Starting 2 pkgProblemResolver with broken count: 0 184s Done 185s The following packages will be REMOVED: 185s python3.12* python3.12-minimal* 185s 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. 185s After this operation, 8926 kB disk space will be freed. 185s (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 ... 76541 files and directories currently installed.) 185s Removing python3.12 (3.12.8-3) ... 185s Removing python3.12-minimal (3.12.8-3) ... 185s /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. 185s for fn in glob1(directory, "%s.%s.py[co]" % (fname, magic_tag)): 185s Processing triggers for man-db (2.13.0-1) ... 186s Processing triggers for systemd (257-2ubuntu1) ... 186s (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 ... 76513 files and directories currently installed.) 186s Purging configuration files for python3.12-minimal (3.12.8-3) ... 188s autopkgtest [06:00:52]: testbed running kernel: Linux 6.11.0-8-generic #8-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 16 13:41:20 UTC 2024 189s autopkgtest [06:00:53]: @@@@@@@@@@@@@@@@@@@@ apt-source importmagic 190s Get:1 http://ftpmaster.internal/ubuntu plucky/universe importmagic 0.1.7-6 (dsc) [2118 B] 190s Get:2 http://ftpmaster.internal/ubuntu plucky/universe importmagic 0.1.7-6 (tar) [392 kB] 190s Get:3 http://ftpmaster.internal/ubuntu plucky/universe importmagic 0.1.7-6 (diff) [4560 B] 190s gpgv: Signature made Wed Jun 19 11:15:04 2024 UTC 190s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 190s gpgv: issuer "tchet@debian.org" 190s gpgv: Can't check signature: No public key 190s dpkg-source: warning: cannot verify inline signature for ./importmagic_0.1.7-6.dsc: no acceptable signature found 190s autopkgtest [06:00:54]: testing package importmagic version 0.1.7-6 191s autopkgtest [06:00:55]: build not needed 191s autopkgtest [06:00:55]: test command1: preparing testbed 191s Reading package lists... 191s Building dependency tree... 191s Reading state information... 192s Starting pkgProblemResolver with broken count: 0 192s Starting 2 pkgProblemResolver with broken count: 0 192s Done 192s The following NEW packages will be installed: 192s python3-all python3-importmagic python3-iniconfig python3-packaging 192s python3-pluggy python3-pytest python3-six python3.12 python3.12-minimal 192s 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 192s Need to get 3378 kB of archives. 192s After this operation, 10.7 MB of additional disk space will be used. 192s Get:1 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.12-minimal amd64 3.12.8-3 [2349 kB] 193s Get:2 http://ftpmaster.internal/ubuntu plucky/main amd64 python3.12 amd64 3.12.8-3 [667 kB] 193s Get:3 http://ftpmaster.internal/ubuntu plucky-proposed/main amd64 python3-all amd64 3.13.1-1~exp2 [894 B] 193s Get:4 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-six all 1.17.0-1 [13.2 kB] 193s Get:5 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-importmagic all 0.1.7-6 [17.8 kB] 193s Get:6 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-iniconfig all 1.1.1-2 [6024 B] 193s Get:7 http://ftpmaster.internal/ubuntu plucky/main amd64 python3-packaging all 24.2-1 [51.5 kB] 193s Get:8 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pluggy all 1.5.0-1 [21.0 kB] 193s Get:9 http://ftpmaster.internal/ubuntu plucky/universe amd64 python3-pytest all 8.3.3-1 [251 kB] 193s Fetched 3378 kB in 1s (4936 kB/s) 193s Selecting previously unselected package python3.12-minimal. 193s (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 ... 76513 files and directories currently installed.) 193s Preparing to unpack .../0-python3.12-minimal_3.12.8-3_amd64.deb ... 193s Unpacking python3.12-minimal (3.12.8-3) ... 193s Selecting previously unselected package python3.12. 193s Preparing to unpack .../1-python3.12_3.12.8-3_amd64.deb ... 193s Unpacking python3.12 (3.12.8-3) ... 193s Selecting previously unselected package python3-all. 193s Preparing to unpack .../2-python3-all_3.13.1-1~exp2_amd64.deb ... 193s Unpacking python3-all (3.13.1-1~exp2) ... 193s Selecting previously unselected package python3-six. 193s Preparing to unpack .../3-python3-six_1.17.0-1_all.deb ... 193s Unpacking python3-six (1.17.0-1) ... 193s Selecting previously unselected package python3-importmagic. 193s Preparing to unpack .../4-python3-importmagic_0.1.7-6_all.deb ... 193s Unpacking python3-importmagic (0.1.7-6) ... 193s Selecting previously unselected package python3-iniconfig. 193s Preparing to unpack .../5-python3-iniconfig_1.1.1-2_all.deb ... 193s Unpacking python3-iniconfig (1.1.1-2) ... 193s Selecting previously unselected package python3-packaging. 193s Preparing to unpack .../6-python3-packaging_24.2-1_all.deb ... 193s Unpacking python3-packaging (24.2-1) ... 193s Selecting previously unselected package python3-pluggy. 193s Preparing to unpack .../7-python3-pluggy_1.5.0-1_all.deb ... 193s Unpacking python3-pluggy (1.5.0-1) ... 193s Selecting previously unselected package python3-pytest. 193s Preparing to unpack .../8-python3-pytest_8.3.3-1_all.deb ... 193s Unpacking python3-pytest (8.3.3-1) ... 193s Setting up python3-iniconfig (1.1.1-2) ... 193s Setting up python3.12-minimal (3.12.8-3) ... 194s Setting up python3.12 (3.12.8-3) ... 195s Setting up python3-all (3.13.1-1~exp2) ... 195s Setting up python3-six (1.17.0-1) ... 195s Setting up python3-packaging (24.2-1) ... 195s Setting up python3-pluggy (1.5.0-1) ... 195s Setting up python3-importmagic (0.1.7-6) ... 196s /usr/lib/python3/dist-packages/importmagic/util.py:9: SyntaxWarning: invalid escape sequence '\s' 196s CODING_COOKIE_RE = re.compile('(^\s*#.*)coding[:=]', re.M) 196s /usr/lib/python3/dist-packages/importmagic/util.py:9: SyntaxWarning: invalid escape sequence '\s' 196s CODING_COOKIE_RE = re.compile('(^\s*#.*)coding[:=]', re.M) 196s Setting up python3-pytest (8.3.3-1) ... 196s Processing triggers for man-db (2.13.0-1) ... 196s Processing triggers for systemd (257-2ubuntu1) ... 197s autopkgtest [06:01:01]: 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 197s autopkgtest [06:01:01]: test command1: [----------------------- 198s Testing with python3.12 in :/tmp/autopkgtest.HSIZB3/autopkgtest_tmp 198s ============================= test session starts ============================== 198s platform linux -- Python 3.12.8, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.12 198s cachedir: .pytest_cache 198s rootdir: /tmp/autopkgtest.HSIZB3/autopkgtest_tmp 198s plugins: typeguard-4.4.1 198s collecting ... collected 66 items 198s 198s importer_test.py::test_get_update PASSED [ 1%] 198s importer_test.py::test_deep_import_of_unknown_symbol PASSED [ 3%] 198s importer_test.py::test_import_future_preserved PASSED [ 4%] 198s importer_test.py::test_update_imports_inserts_initial_imports PASSED [ 6%] 198s importer_test.py::test_update_imports_inserts_imports PASSED [ 7%] 198s importer_test.py::test_update_imports_correctly_aliases PASSED [ 9%] 198s importer_test.py::test_parse_imports PASSED [ 10%] 198s importer_test.py::test_imports_inserted_after_preamble PASSED [ 12%] 198s importer_test.py::test_imports_dont_delete_trailing_comments PASSED [ 13%] 198s importer_test.py::test_imports_dont_delete_imports_after_middle_comments PASSED [ 15%] 198s importer_test.py::test_imports_removes_unused PASSED [ 16%] 198s importer_test.py::test_imports_module_assignment PASSED [ 18%] 198s importer_test.py::test_import_as_kept PASSED [ 19%] 198s importer_test.py::test_from_import_as PASSED [ 21%] 198s importer_test.py::test_importer_wrapping_escaped PASSED [ 22%] 198s importer_test.py::test_importer_wrapping_escaped_longer PASSED [ 24%] 198s importer_test.py::test_importer_wrapping_parentheses PASSED [ 25%] 198s importer_test.py::test_importer_wrapping_parentheses_longer PASSED [ 27%] 198s importer_test.py::test_importer_wrapping_colums PASSED [ 28%] 198s importer_test.py::test_importer_directives_referenced PASSED [ 30%] 198s importer_test.py::test_importer_directives_not_referenced PASSED [ 31%] 198s importer_test.py::test_imports_partial_file PASSED [ 33%] 198s index_test.py::test_index_basic_api PASSED [ 34%] 198s index_test.py::test_index_filesystem PASSED [ 36%] 198s index_test.py::test_index_file_with_all PASSED [ 37%] 198s index_test.py::test_index_if_name_main PASSED [ 39%] 198s index_test.py::test_index_symbol_scores PASSED [ 40%] 198s index_test.py::test_index_score_deep_unknown_attribute PASSED [ 42%] 198s index_test.py::test_index_score_deep_reference PASSED [ 43%] 198s index_test.py::test_index_score_missing_symbol PASSED [ 45%] 198s index_test.py::test_index_score_sys_path PASSED [ 46%] 198s index_test.py::test_encoding_score PASSED [ 48%] 198s index_test.py::test_score_boosts_apply_to_scopes PASSED [ 50%] 198s symbols_test.py::test_parser_symbol_in_global_function PASSED [ 51%] 198s symbols_test.py::test_deep_package_reference_with_function_call PASSED [ 53%] 198s symbols_test.py::test_deep_package_reference_with_subscript PASSED [ 54%] 198s symbols_test.py::test_parser_class_methods_namespace_correctly PASSED [ 56%] 198s symbols_test.py::test_path_from_node_function PASSED [ 57%] 198s symbols_test.py::test_symbol_from_assignment PASSED [ 59%] 198s symbols_test.py::test_path_from_node_subscript PASSED [ 60%] 198s symbols_test.py::test_symbol_series PASSED [ 62%] 198s symbols_test.py::test_symbol_in_expression PASSED [ 63%] 198s symbols_test.py::test_symbol_from_nested_tuples PASSED [ 65%] 198s symbols_test.py::test_symbol_from_argument_defaults PASSED [ 66%] 198s symbols_test.py::test_symbol_from_decorator PASSED [ 68%] 198s symbols_test.py::test_referenced_symbols_from_decorated_function PASSED [ 69%] 198s symbols_test.py::test_find_unresolved_and_unreferenced_symbols PASSED [ 71%] 198s symbols_test.py::test_accepts_unicode_strings PASSED [ 72%] 198s symbols_test.py::TestSymbolCollection::test_attribute PASSED [ 74%] 198s symbols_test.py::TestSymbolCollection::test_tuple PASSED [ 75%] 198s symbols_test.py::TestSymbolCollection::test_chained_calls PASSED [ 77%] 198s symbols_test.py::TestSymbolCollection::test_chained_subscript PASSED [ 78%] 198s symbols_test.py::TestSymbolCollection::test_attribute_then_call PASSED [ 80%] 198s symbols_test.py::TestSymbolCollection::test_deep_attributes PASSED [ 81%] 198s symbols_test.py::TestSymbolCollection::test_generator PASSED [ 83%] 198s symbols_test.py::TestSymbolCollection::test_comprehension PASSED [ 84%] 198s symbols_test.py::TestSymbolCollection::test_class_attribute PASSED [ 86%] 198s symbols_test.py::TestSymbolCollection::test_with PASSED [ 87%] 198s symbols_test.py::TestSymbolCollection::test_with_variables PASSED [ 89%] 198s symbols_test.py::TestSymbolCollection::test_assignment_in_for PASSED [ 90%] 198s symbols_test.py::TestSymbolCollection::test_assignment_to_subscript PASSED [ 92%] 198s symbols_test.py::TestSymbolCollection::test_attribute_calls PASSED [ 93%] 198s symbols_test.py::TestSymbolCollection::test_attribute_calls_with_args PASSED [ 95%] 198s symbols_test.py::TestSymbolCollection::test_subscript_with_attrs PASSED [ 96%] 198s symbols_test.py::TestSymbolCollection::test_multiple_names PASSED [ 98%] 198s symbols_test.py::TestSymbolCollection::test_multiple_attributes PASSED [100%] 198s 198s =============================== warnings summary =============================== 198s index_test.py::test_index_filesystem 198s /usr/lib/python3/dist-packages/importmagic/index.py:186: DeprecationWarning: 'spwd' is deprecated and slated for removal in Python 3.13 198s module = __import__(name, fromlist=['.']) 198s 198s index_test.py::test_index_file_with_all 198s index_test.py::test_index_file_with_all 198s /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 198s if isinstance(subnode, ast.Str): 198s 198s index_test.py::test_index_file_with_all 198s /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 198s self._tree.add_explicit_export(subnode.s, 1.2) 198s 198s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 198s ======================== 66 passed, 4 warnings in 0.17s ======================== 198s Testing with python3.13 in :/tmp/autopkgtest.HSIZB3/autopkgtest_tmp 198s ============================= test session starts ============================== 198s platform linux -- Python 3.13.1, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3.13 198s cachedir: .pytest_cache 198s rootdir: /tmp/autopkgtest.HSIZB3/autopkgtest_tmp 198s plugins: typeguard-4.4.1 198s collecting ... collected 66 items 198s 198s importer_test.py::test_get_update PASSED [ 1%] 198s importer_test.py::test_deep_import_of_unknown_symbol PASSED [ 3%] 198s importer_test.py::test_import_future_preserved PASSED [ 4%] 198s importer_test.py::test_update_imports_inserts_initial_imports PASSED [ 6%] 198s importer_test.py::test_update_imports_inserts_imports PASSED [ 7%] 198s importer_test.py::test_update_imports_correctly_aliases PASSED [ 9%] 198s importer_test.py::test_parse_imports PASSED [ 10%] 198s importer_test.py::test_imports_inserted_after_preamble PASSED [ 12%] 198s importer_test.py::test_imports_dont_delete_trailing_comments PASSED [ 13%] 198s importer_test.py::test_imports_dont_delete_imports_after_middle_comments PASSED [ 15%] 198s importer_test.py::test_imports_removes_unused PASSED [ 16%] 198s importer_test.py::test_imports_module_assignment PASSED [ 18%] 198s importer_test.py::test_import_as_kept PASSED [ 19%] 198s importer_test.py::test_from_import_as PASSED [ 21%] 198s importer_test.py::test_importer_wrapping_escaped PASSED [ 22%] 198s importer_test.py::test_importer_wrapping_escaped_longer PASSED [ 24%] 198s importer_test.py::test_importer_wrapping_parentheses PASSED [ 25%] 198s importer_test.py::test_importer_wrapping_parentheses_longer PASSED [ 27%] 198s importer_test.py::test_importer_wrapping_colums PASSED [ 28%] 198s importer_test.py::test_importer_directives_referenced PASSED [ 30%] 198s importer_test.py::test_importer_directives_not_referenced PASSED [ 31%] 198s importer_test.py::test_imports_partial_file PASSED [ 33%] 198s index_test.py::test_index_basic_api PASSED [ 34%] 198s index_test.py::test_index_filesystem PASSED [ 36%] 198s index_test.py::test_index_file_with_all PASSED [ 37%] 198s index_test.py::test_index_if_name_main PASSED [ 39%] 198s index_test.py::test_index_symbol_scores PASSED [ 40%] 198s index_test.py::test_index_score_deep_unknown_attribute PASSED [ 42%] 198s index_test.py::test_index_score_deep_reference PASSED [ 43%] 198s index_test.py::test_index_score_missing_symbol PASSED [ 45%] 198s index_test.py::test_index_score_sys_path PASSED [ 46%] 198s index_test.py::test_encoding_score PASSED [ 48%] 198s index_test.py::test_score_boosts_apply_to_scopes PASSED [ 50%] 198s symbols_test.py::test_parser_symbol_in_global_function PASSED [ 51%] 198s symbols_test.py::test_deep_package_reference_with_function_call PASSED [ 53%] 198s symbols_test.py::test_deep_package_reference_with_subscript PASSED [ 54%] 198s symbols_test.py::test_parser_class_methods_namespace_correctly PASSED [ 56%] 198s symbols_test.py::test_path_from_node_function PASSED [ 57%] 198s symbols_test.py::test_symbol_from_assignment PASSED [ 59%] 198s symbols_test.py::test_path_from_node_subscript PASSED [ 60%] 198s symbols_test.py::test_symbol_series PASSED [ 62%] 198s symbols_test.py::test_symbol_in_expression PASSED [ 63%] 198s symbols_test.py::test_symbol_from_nested_tuples PASSED [ 65%] 198s symbols_test.py::test_symbol_from_argument_defaults PASSED [ 66%] 198s symbols_test.py::test_symbol_from_decorator PASSED [ 68%] 198s symbols_test.py::test_referenced_symbols_from_decorated_function PASSED [ 69%] 198s symbols_test.py::test_find_unresolved_and_unreferenced_symbols PASSED [ 71%] 198s symbols_test.py::test_accepts_unicode_strings PASSED [ 72%] 198s symbols_test.py::TestSymbolCollection::test_attribute PASSED [ 74%] 198s symbols_test.py::TestSymbolCollection::test_tuple PASSED [ 75%] 198s symbols_test.py::TestSymbolCollection::test_chained_calls PASSED [ 77%] 198s symbols_test.py::TestSymbolCollection::test_chained_subscript PASSED [ 78%] 198s symbols_test.py::TestSymbolCollection::test_attribute_then_call PASSED [ 80%] 198s symbols_test.py::TestSymbolCollection::test_deep_attributes PASSED [ 81%] 198s symbols_test.py::TestSymbolCollection::test_generator PASSED [ 83%] 198s symbols_test.py::TestSymbolCollection::test_comprehension PASSED [ 84%] 198s symbols_test.py::TestSymbolCollection::test_class_attribute PASSED [ 86%] 198s symbols_test.py::TestSymbolCollection::test_with PASSED [ 87%] 198s symbols_test.py::TestSymbolCollection::test_with_variables PASSED [ 89%] 198s symbols_test.py::TestSymbolCollection::test_assignment_in_for PASSED [ 90%] 198s symbols_test.py::TestSymbolCollection::test_assignment_to_subscript PASSED [ 92%] 198s symbols_test.py::TestSymbolCollection::test_attribute_calls PASSED [ 93%] 198s symbols_test.py::TestSymbolCollection::test_attribute_calls_with_args PASSED [ 95%] 198s symbols_test.py::TestSymbolCollection::test_subscript_with_attrs PASSED [ 96%] 198s symbols_test.py::TestSymbolCollection::test_multiple_names PASSED [ 98%] 198s symbols_test.py::TestSymbolCollection::test_multiple_attributes PASSED [100%] 198s 198s =============================== warnings summary =============================== 198s index_test.py::test_index_file_with_all 198s index_test.py::test_index_file_with_all 198s /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 198s if isinstance(subnode, ast.Str): 198s 198s index_test.py::test_index_file_with_all 198s /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 198s self._tree.add_explicit_export(subnode.s, 1.2) 198s 198s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 198s ======================== 66 passed, 3 warnings in 0.19s ======================== 199s autopkgtest [06:01:03]: test command1: -----------------------] 199s autopkgtest [06:01:03]: test command1: - - - - - - - - - - results - - - - - - - - - - 199s command1 PASS 200s autopkgtest [06:01:04]: @@@@@@@@@@@@@@@@@@@@ summary 200s command1 PASS 497s nova [W] Skipping flock for amd64 497s Creating nova instance adt-plucky-amd64-importmagic-20250105-055744-juju-7f2275-prod-proposed-migration-environment-2-2bdf9b14-97c2-43f3-b11c-97738739e79c from image adt/ubuntu-plucky-amd64-server-20250105.img (UUID d7e8a849-47be-478c-8984-6992755a59d8)...