0s autopkgtest [09:56:05]: starting date and time: 2024-06-08 09:56:05+0000 0s autopkgtest [09:56:05]: git checkout: 433ed4cb Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [09:56:05]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.j2y4uz5l/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:pytest,src:astropy --apt-upgrade importmagic --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 '--env=ADT_TEST_TRIGGERS=pytest/8.2.2-1ubuntu1 astropy/6.0.1-4' -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@bos03-arm64-52.secgroup --name adt-oracular-arm64-importmagic-20240608-095605-juju-7f2275-prod-proposed-migration-environment-2-fff33aed-11b4-406c-b00d-92ed39f7dc5a --image adt/ubuntu-oracular-arm64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-2 --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'"'"'' --mirror=http://ftpmaster.internal/ubuntu/ 818s autopkgtest [10:09:43]: testbed dpkg architecture: arm64 819s autopkgtest [10:09:44]: testbed apt version: 2.9.3 819s autopkgtest [10:09:44]: @@@@@@@@@@@@@@@@@@@@ test bed setup 819s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 820s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [339 kB] 820s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7972 B] 820s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [1680 B] 820s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [43.5 kB] 820s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main arm64 Packages [67.4 kB] 820s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted arm64 Packages [31.8 kB] 820s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe arm64 Packages [294 kB] 820s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse arm64 Packages [9192 B] 820s Fetched 904 kB in 1s (963 kB/s) 820s Reading package lists... 823s Reading package lists... 823s Building dependency tree... 823s Reading state information... 823s Calculating upgrade... 824s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 824s Reading package lists... 824s Building dependency tree... 824s Reading state information... 825s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 828s Hit:1 http://ftpmaster.internal/ubuntu oracular InRelease 828s Hit:2 http://ftpmaster.internal/ubuntu oracular-updates InRelease 828s Hit:3 http://ftpmaster.internal/ubuntu oracular-security InRelease 828s Hit:4 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 830s Reading package lists... 830s Reading package lists... 830s Building dependency tree... 830s Reading state information... 831s Calculating upgrade... 831s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 831s Reading package lists... 832s Building dependency tree... 832s Reading state information... 832s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 835s autopkgtest [10:10:00]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 02:32:42 UTC 2024 836s autopkgtest [10:10:01]: @@@@@@@@@@@@@@@@@@@@ apt-source importmagic 840s Get:1 http://ftpmaster.internal/ubuntu oracular/universe importmagic 0.1.7-5 (dsc) [2112 B] 840s Get:2 http://ftpmaster.internal/ubuntu oracular/universe importmagic 0.1.7-5 (tar) [392 kB] 840s Get:3 http://ftpmaster.internal/ubuntu oracular/universe importmagic 0.1.7-5 (diff) [4492 B] 841s gpgv: Signature made Tue Dec 5 03:48:32 2023 UTC 841s gpgv: using RSA key 4D055C31E4812045F9010D75990D38367334D770 841s gpgv: Can't check signature: No public key 841s dpkg-source: warning: cannot verify inline signature for ./importmagic_0.1.7-5.dsc: no acceptable signature found 843s autopkgtest [10:10:08]: testing package importmagic version 0.1.7-5 843s autopkgtest [10:10:08]: build not needed 844s autopkgtest [10:10:09]: test command1: preparing testbed 845s Reading package lists... 845s Building dependency tree... 845s Reading state information... 846s Starting pkgProblemResolver with broken count: 0 846s Starting 2 pkgProblemResolver with broken count: 0 846s Done 847s The following additional packages will be installed: 847s python3-all python3-importmagic python3-iniconfig python3-packaging 847s python3-pluggy python3-pytest 847s The following NEW packages will be installed: 847s autopkgtest-satdep python3-all python3-importmagic python3-iniconfig 847s python3-packaging python3-pluggy python3-pytest 847s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 847s Need to get 337 kB/338 kB of archives. 847s After this operation, 1688 kB of additional disk space will be used. 847s Get:1 /tmp/autopkgtest.kwiMs2/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [728 B] 847s Get:2 http://ftpmaster.internal/ubuntu oracular/main arm64 python3-all arm64 3.12.3-0ubuntu1 [888 B] 847s Get:3 http://ftpmaster.internal/ubuntu oracular/universe arm64 python3-importmagic all 0.1.7-5 [17.7 kB] 847s Get:4 http://ftpmaster.internal/ubuntu oracular/universe arm64 python3-iniconfig all 1.1.1-2 [6024 B] 847s Get:5 http://ftpmaster.internal/ubuntu oracular/main arm64 python3-packaging all 24.0-1 [41.1 kB] 847s Get:6 http://ftpmaster.internal/ubuntu oracular/universe arm64 python3-pluggy all 1.5.0-1 [21.0 kB] 847s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/universe arm64 python3-pytest all 8.2.2-1ubuntu1 [250 kB] 848s Fetched 337 kB in 1s (627 kB/s) 848s Selecting previously unselected package python3-all. 848s (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 ... 78200 files and directories currently installed.) 848s Preparing to unpack .../0-python3-all_3.12.3-0ubuntu1_arm64.deb ... 848s Unpacking python3-all (3.12.3-0ubuntu1) ... 848s Selecting previously unselected package python3-importmagic. 848s Preparing to unpack .../1-python3-importmagic_0.1.7-5_all.deb ... 848s Unpacking python3-importmagic (0.1.7-5) ... 848s Selecting previously unselected package python3-iniconfig. 849s Preparing to unpack .../2-python3-iniconfig_1.1.1-2_all.deb ... 849s Unpacking python3-iniconfig (1.1.1-2) ... 849s Selecting previously unselected package python3-packaging. 849s Preparing to unpack .../3-python3-packaging_24.0-1_all.deb ... 849s Unpacking python3-packaging (24.0-1) ... 849s Selecting previously unselected package python3-pluggy. 849s Preparing to unpack .../4-python3-pluggy_1.5.0-1_all.deb ... 849s Unpacking python3-pluggy (1.5.0-1) ... 849s Selecting previously unselected package python3-pytest. 849s Preparing to unpack .../5-python3-pytest_8.2.2-1ubuntu1_all.deb ... 849s Unpacking python3-pytest (8.2.2-1ubuntu1) ... 849s Selecting previously unselected package autopkgtest-satdep. 849s Preparing to unpack .../6-1-autopkgtest-satdep.deb ... 849s Unpacking autopkgtest-satdep (0) ... 849s Setting up python3-iniconfig (1.1.1-2) ... 849s Setting up python3-all (3.12.3-0ubuntu1) ... 849s Setting up python3-packaging (24.0-1) ... 849s Setting up python3-pluggy (1.5.0-1) ... 849s Setting up python3-importmagic (0.1.7-5) ... 849s /usr/lib/python3/dist-packages/importmagic/util.py:9: SyntaxWarning: invalid escape sequence '\s' 849s CODING_COOKIE_RE = re.compile('(^\s*#.*)coding[:=]', re.M) 850s Setting up python3-pytest (8.2.2-1ubuntu1) ... 850s Setting up autopkgtest-satdep (0) ... 850s Processing triggers for man-db (2.12.1-1) ... 856s (Reading database ... 78383 files and directories currently installed.) 856s Removing autopkgtest-satdep (0) ... 857s autopkgtest [10:10:22]: 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 857s autopkgtest [10:10:22]: test command1: [----------------------- 857s Testing with python3.12 in :/tmp/autopkgtest.kwiMs2/autopkgtest_tmp 858s ============================= test session starts ============================== 858s platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 -- /usr/bin/python3.12 858s cachedir: .pytest_cache 858s rootdir: /tmp/autopkgtest.kwiMs2/autopkgtest_tmp 858s collecting ... collected 66 items 858s 858s importer_test.py::test_get_update PASSED [ 1%] 858s importer_test.py::test_deep_import_of_unknown_symbol PASSED [ 3%] 858s importer_test.py::test_import_future_preserved PASSED [ 4%] 858s importer_test.py::test_update_imports_inserts_initial_imports PASSED [ 6%] 858s importer_test.py::test_update_imports_inserts_imports PASSED [ 7%] 858s importer_test.py::test_update_imports_correctly_aliases PASSED [ 9%] 858s importer_test.py::test_parse_imports PASSED [ 10%] 858s importer_test.py::test_imports_inserted_after_preamble PASSED [ 12%] 858s importer_test.py::test_imports_dont_delete_trailing_comments PASSED [ 13%] 858s importer_test.py::test_imports_dont_delete_imports_after_middle_comments PASSED [ 15%] 858s importer_test.py::test_imports_removes_unused PASSED [ 16%] 858s importer_test.py::test_imports_module_assignment PASSED [ 18%] 858s importer_test.py::test_import_as_kept PASSED [ 19%] 858s importer_test.py::test_from_import_as PASSED [ 21%] 858s importer_test.py::test_importer_wrapping_escaped PASSED [ 22%] 858s importer_test.py::test_importer_wrapping_escaped_longer PASSED [ 24%] 858s importer_test.py::test_importer_wrapping_parentheses PASSED [ 25%] 858s importer_test.py::test_importer_wrapping_parentheses_longer PASSED [ 27%] 858s importer_test.py::test_importer_wrapping_colums PASSED [ 28%] 858s importer_test.py::test_importer_directives_referenced PASSED [ 30%] 858s importer_test.py::test_importer_directives_not_referenced PASSED [ 31%] 858s importer_test.py::test_imports_partial_file PASSED [ 33%] 858s index_test.py::test_index_basic_api PASSED [ 34%] 858s index_test.py::test_index_filesystem PASSED [ 36%] 858s index_test.py::test_index_file_with_all PASSED [ 37%] 858s index_test.py::test_index_if_name_main PASSED [ 39%] 858s index_test.py::test_index_symbol_scores PASSED [ 40%] 858s index_test.py::test_index_score_deep_unknown_attribute PASSED [ 42%] 858s index_test.py::test_index_score_deep_reference PASSED [ 43%] 858s index_test.py::test_index_score_missing_symbol PASSED [ 45%] 858s index_test.py::test_index_score_sys_path PASSED [ 46%] 858s index_test.py::test_encoding_score PASSED [ 48%] 858s index_test.py::test_score_boosts_apply_to_scopes PASSED [ 50%] 858s symbols_test.py::test_parser_symbol_in_global_function PASSED [ 51%] 858s symbols_test.py::test_deep_package_reference_with_function_call PASSED [ 53%] 858s symbols_test.py::test_deep_package_reference_with_subscript PASSED [ 54%] 858s symbols_test.py::test_parser_class_methods_namespace_correctly PASSED [ 56%] 858s symbols_test.py::test_path_from_node_function PASSED [ 57%] 858s symbols_test.py::test_symbol_from_assignment PASSED [ 59%] 858s symbols_test.py::test_path_from_node_subscript PASSED [ 60%] 858s symbols_test.py::test_symbol_series PASSED [ 62%] 858s symbols_test.py::test_symbol_in_expression PASSED [ 63%] 858s symbols_test.py::test_symbol_from_nested_tuples PASSED [ 65%] 858s symbols_test.py::test_symbol_from_argument_defaults PASSED [ 66%] 858s symbols_test.py::test_symbol_from_decorator PASSED [ 68%] 858s symbols_test.py::test_referenced_symbols_from_decorated_function PASSED [ 69%] 858s symbols_test.py::test_find_unresolved_and_unreferenced_symbols PASSED [ 71%] 858s symbols_test.py::test_accepts_unicode_strings PASSED [ 72%] 858s symbols_test.py::TestSymbolCollection::test_attribute PASSED [ 74%] 858s symbols_test.py::TestSymbolCollection::test_tuple PASSED [ 75%] 858s symbols_test.py::TestSymbolCollection::test_chained_calls PASSED [ 77%] 858s symbols_test.py::TestSymbolCollection::test_chained_subscript PASSED [ 78%] 858s symbols_test.py::TestSymbolCollection::test_attribute_then_call PASSED [ 80%] 858s symbols_test.py::TestSymbolCollection::test_deep_attributes PASSED [ 81%] 858s symbols_test.py::TestSymbolCollection::test_generator PASSED [ 83%] 858s symbols_test.py::TestSymbolCollection::test_comprehension PASSED [ 84%] 858s symbols_test.py::TestSymbolCollection::test_class_attribute PASSED [ 86%] 858s symbols_test.py::TestSymbolCollection::test_with PASSED [ 87%] 858s symbols_test.py::TestSymbolCollection::test_with_variables PASSED [ 89%] 858s symbols_test.py::TestSymbolCollection::test_assignment_in_for PASSED [ 90%] 858s symbols_test.py::TestSymbolCollection::test_assignment_to_subscript PASSED [ 92%] 858s symbols_test.py::TestSymbolCollection::test_attribute_calls PASSED [ 93%] 858s symbols_test.py::TestSymbolCollection::test_attribute_calls_with_args PASSED [ 95%] 858s symbols_test.py::TestSymbolCollection::test_subscript_with_attrs PASSED [ 96%] 858s symbols_test.py::TestSymbolCollection::test_multiple_names PASSED [ 98%] 858s symbols_test.py::TestSymbolCollection::test_multiple_attributes PASSED [100%] 858s 858s =============================== warnings summary =============================== 858s index_test.py::test_index_filesystem 858s /usr/lib/python3/dist-packages/importmagic/index.py:186: DeprecationWarning: 'spwd' is deprecated and slated for removal in Python 3.13 858s module = __import__(name, fromlist=['.']) 858s 858s index_test.py::test_index_file_with_all 858s index_test.py::test_index_file_with_all 858s /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 858s if isinstance(subnode, ast.Str): 858s 858s index_test.py::test_index_file_with_all 858s /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 858s self._tree.add_explicit_export(subnode.s, 1.2) 858s 858s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 858s ======================== 66 passed, 4 warnings in 0.23s ======================== 858s autopkgtest [10:10:23]: test command1: -----------------------] 859s command1 PASS 859s autopkgtest [10:10:24]: test command1: - - - - - - - - - - results - - - - - - - - - - 859s autopkgtest [10:10:24]: @@@@@@@@@@@@@@@@@@@@ summary 859s command1 PASS 892s nova [W] Skipping flock in bos03-arm64 892s Creating nova instance adt-oracular-arm64-importmagic-20240608-095605-juju-7f2275-prod-proposed-migration-environment-2-fff33aed-11b4-406c-b00d-92ed39f7dc5a from image adt/ubuntu-oracular-arm64-server-20240608.img (UUID 22fa5d69-8269-442f-bb5d-fd1454f7b08f)...