0s autopkgtest [00:48:29]: starting date and time: 2024-06-08 00:48:29+0000 0s autopkgtest [00:48:29]: git checkout: 433ed4cb Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [00:48:29]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.14kb2tu0/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@bos02-ppc64el-11.secgroup --name adt-oracular-ppc64el-importmagic-20240608-004829-juju-7f2275-prod-proposed-migration-environment-2-9a4ea5e7-320b-4114-8634-e0e005b5fb68 --image adt/ubuntu-oracular-ppc64el-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/ 153s autopkgtest [00:51:02]: testbed dpkg architecture: ppc64el 154s autopkgtest [00:51:03]: testbed apt version: 2.9.3 154s autopkgtest [00:51:03]: @@@@@@@@@@@@@@@@@@@@ test bed setup 154s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 155s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [44.3 kB] 155s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7972 B] 155s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [339 kB] 155s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2852 B] 155s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el Packages [53.6 kB] 155s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted ppc64el Packages [1860 B] 155s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el Packages [289 kB] 155s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse ppc64el Packages [1768 B] 155s Fetched 850 kB in 1s (1092 kB/s) 155s Reading package lists... 158s Reading package lists... 158s Building dependency tree... 158s Reading state information... 158s Calculating upgrade... 159s The following packages will be upgraded: 159s debianutils libheif-plugin-aomdec libheif-plugin-aomenc 159s libheif-plugin-libde265 libheif1 libnetplan1 netplan-generator netplan.io 159s python3-netplan 159s 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 159s Need to get 731 kB of archives. 159s After this operation, 5120 B of additional disk space will be used. 159s Get:1 http://ftpmaster.internal/ubuntu oracular/main ppc64el debianutils ppc64el 5.18 [90.5 kB] 159s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el netplan-generator ppc64el 1.0-3ubuntu1 [59.3 kB] 159s Get:3 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-netplan ppc64el 1.0-3ubuntu1 [21.8 kB] 159s Get:4 http://ftpmaster.internal/ubuntu oracular/main ppc64el netplan.io ppc64el 1.0-3ubuntu1 [66.6 kB] 159s Get:5 http://ftpmaster.internal/ubuntu oracular/main ppc64el libnetplan1 ppc64el 1.0-3ubuntu1 [138 kB] 159s Get:6 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif-plugin-aomdec ppc64el 1.17.6-3 [10.2 kB] 159s Get:7 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif-plugin-aomenc ppc64el 1.17.6-3 [16.6 kB] 159s Get:8 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif1 ppc64el 1.17.6-3 [320 kB] 159s Get:9 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif-plugin-libde265 ppc64el 1.17.6-3 [8484 B] 160s Fetched 731 kB in 1s (1192 kB/s) 160s (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 ... 72602 files and directories currently installed.) 160s Preparing to unpack .../debianutils_5.18_ppc64el.deb ... 160s Unpacking debianutils (5.18) over (5.17build1) ... 160s Setting up debianutils (5.18) ... 160s (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 ... 72602 files and directories currently installed.) 160s Preparing to unpack .../0-netplan-generator_1.0-3ubuntu1_ppc64el.deb ... 160s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 160s Unpacking netplan-generator (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 160s Preparing to unpack .../1-python3-netplan_1.0-3ubuntu1_ppc64el.deb ... 160s Unpacking python3-netplan (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 160s Preparing to unpack .../2-netplan.io_1.0-3ubuntu1_ppc64el.deb ... 160s Unpacking netplan.io (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 160s Preparing to unpack .../3-libnetplan1_1.0-3ubuntu1_ppc64el.deb ... 160s Unpacking libnetplan1:ppc64el (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 160s Preparing to unpack .../4-libheif-plugin-aomdec_1.17.6-3_ppc64el.deb ... 160s Unpacking libheif-plugin-aomdec:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 160s Preparing to unpack .../5-libheif-plugin-aomenc_1.17.6-3_ppc64el.deb ... 160s Unpacking libheif-plugin-aomenc:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 160s Preparing to unpack .../6-libheif1_1.17.6-3_ppc64el.deb ... 160s Unpacking libheif1:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 160s Preparing to unpack .../7-libheif-plugin-libde265_1.17.6-3_ppc64el.deb ... 160s Unpacking libheif-plugin-libde265:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 160s Setting up libnetplan1:ppc64el (1.0-3ubuntu1) ... 160s Setting up python3-netplan (1.0-3ubuntu1) ... 160s Setting up netplan-generator (1.0-3ubuntu1) ... 160s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 160s Setting up netplan.io (1.0-3ubuntu1) ... 160s Setting up libheif-plugin-aomdec:ppc64el (1.17.6-3) ... 160s Setting up libheif-plugin-libde265:ppc64el (1.17.6-3) ... 160s Setting up libheif1:ppc64el (1.17.6-3) ... 160s Setting up libheif-plugin-aomenc:ppc64el (1.17.6-3) ... 160s Processing triggers for libc-bin (2.39-0ubuntu8.1) ... 160s Processing triggers for man-db (2.12.1-1) ... 162s Processing triggers for dbus (1.14.10-4ubuntu4) ... 162s Reading package lists... 162s Building dependency tree... 162s Reading state information... 163s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 163s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 163s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 163s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 163s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 164s Reading package lists... 165s Reading package lists... 165s Building dependency tree... 165s Reading state information... 165s Calculating upgrade... 165s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 165s Reading package lists... 166s Building dependency tree... 166s Reading state information... 166s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 168s autopkgtest [00:51:17]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP Sat Apr 20 00:05:55 UTC 2024 169s autopkgtest [00:51:18]: @@@@@@@@@@@@@@@@@@@@ apt-source importmagic 170s Get:1 http://ftpmaster.internal/ubuntu oracular/universe importmagic 0.1.7-5 (dsc) [2112 B] 170s Get:2 http://ftpmaster.internal/ubuntu oracular/universe importmagic 0.1.7-5 (tar) [392 kB] 170s Get:3 http://ftpmaster.internal/ubuntu oracular/universe importmagic 0.1.7-5 (diff) [4492 B] 171s gpgv: Signature made Tue Dec 5 03:48:32 2023 UTC 171s gpgv: using RSA key 4D055C31E4812045F9010D75990D38367334D770 171s gpgv: Can't check signature: No public key 171s dpkg-source: warning: cannot verify inline signature for ./importmagic_0.1.7-5.dsc: no acceptable signature found 171s autopkgtest [00:51:20]: testing package importmagic version 0.1.7-5 171s autopkgtest [00:51:20]: build not needed 171s autopkgtest [00:51:20]: test command1: preparing testbed 172s Reading package lists... 173s Building dependency tree... 173s Reading state information... 173s Starting pkgProblemResolver with broken count: 0 173s Starting 2 pkgProblemResolver with broken count: 0 173s Done 173s The following additional packages will be installed: 173s python3-all python3-importmagic python3-iniconfig python3-packaging 173s python3-pluggy python3-pytest 173s The following NEW packages will be installed: 173s autopkgtest-satdep python3-all python3-importmagic python3-iniconfig 173s python3-packaging python3-pluggy python3-pytest 173s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 173s Need to get 337 kB/338 kB of archives. 173s After this operation, 1688 kB of additional disk space will be used. 173s Get:1 /tmp/autopkgtest.5256KR/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [728 B] 173s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-all ppc64el 3.12.3-0ubuntu1 [888 B] 173s Get:3 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-importmagic all 0.1.7-5 [17.7 kB] 173s Get:4 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 173s Get:5 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-packaging all 24.0-1 [41.1 kB] 173s Get:6 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 174s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el python3-pytest all 8.2.2-1ubuntu1 [250 kB] 174s Fetched 337 kB in 1s (613 kB/s) 174s Selecting previously unselected package python3-all. 174s (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 ... 72602 files and directories currently installed.) 174s Preparing to unpack .../0-python3-all_3.12.3-0ubuntu1_ppc64el.deb ... 174s Unpacking python3-all (3.12.3-0ubuntu1) ... 174s Selecting previously unselected package python3-importmagic. 174s Preparing to unpack .../1-python3-importmagic_0.1.7-5_all.deb ... 174s Unpacking python3-importmagic (0.1.7-5) ... 174s Selecting previously unselected package python3-iniconfig. 174s Preparing to unpack .../2-python3-iniconfig_1.1.1-2_all.deb ... 174s Unpacking python3-iniconfig (1.1.1-2) ... 174s Selecting previously unselected package python3-packaging. 174s Preparing to unpack .../3-python3-packaging_24.0-1_all.deb ... 174s Unpacking python3-packaging (24.0-1) ... 174s Selecting previously unselected package python3-pluggy. 174s Preparing to unpack .../4-python3-pluggy_1.5.0-1_all.deb ... 174s Unpacking python3-pluggy (1.5.0-1) ... 174s Selecting previously unselected package python3-pytest. 174s Preparing to unpack .../5-python3-pytest_8.2.2-1ubuntu1_all.deb ... 174s Unpacking python3-pytest (8.2.2-1ubuntu1) ... 174s Selecting previously unselected package autopkgtest-satdep. 174s Preparing to unpack .../6-1-autopkgtest-satdep.deb ... 174s Unpacking autopkgtest-satdep (0) ... 174s Setting up python3-iniconfig (1.1.1-2) ... 174s Setting up python3-all (3.12.3-0ubuntu1) ... 174s Setting up python3-packaging (24.0-1) ... 174s Setting up python3-pluggy (1.5.0-1) ... 175s Setting up python3-importmagic (0.1.7-5) ... 175s /usr/lib/python3/dist-packages/importmagic/util.py:9: SyntaxWarning: invalid escape sequence '\s' 175s CODING_COOKIE_RE = re.compile('(^\s*#.*)coding[:=]', re.M) 175s Setting up python3-pytest (8.2.2-1ubuntu1) ... 175s Setting up autopkgtest-satdep (0) ... 175s Processing triggers for man-db (2.12.1-1) ... 178s (Reading database ... 72785 files and directories currently installed.) 178s Removing autopkgtest-satdep (0) ... 178s autopkgtest [00:51:27]: 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 178s autopkgtest [00:51:27]: test command1: [----------------------- 179s Testing with python3.12 in :/tmp/autopkgtest.5256KR/autopkgtest_tmp 179s ============================= test session starts ============================== 179s platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 -- /usr/bin/python3.12 179s cachedir: .pytest_cache 179s rootdir: /tmp/autopkgtest.5256KR/autopkgtest_tmp 179s collecting ... collected 66 items 179s 179s importer_test.py::test_get_update PASSED [ 1%] 179s importer_test.py::test_deep_import_of_unknown_symbol PASSED [ 3%] 179s importer_test.py::test_import_future_preserved PASSED [ 4%] 179s importer_test.py::test_update_imports_inserts_initial_imports PASSED [ 6%] 179s importer_test.py::test_update_imports_inserts_imports PASSED [ 7%] 179s importer_test.py::test_update_imports_correctly_aliases PASSED [ 9%] 179s importer_test.py::test_parse_imports PASSED [ 10%] 179s importer_test.py::test_imports_inserted_after_preamble PASSED [ 12%] 179s importer_test.py::test_imports_dont_delete_trailing_comments PASSED [ 13%] 179s importer_test.py::test_imports_dont_delete_imports_after_middle_comments PASSED [ 15%] 179s importer_test.py::test_imports_removes_unused PASSED [ 16%] 179s importer_test.py::test_imports_module_assignment PASSED [ 18%] 179s importer_test.py::test_import_as_kept PASSED [ 19%] 179s importer_test.py::test_from_import_as PASSED [ 21%] 179s importer_test.py::test_importer_wrapping_escaped PASSED [ 22%] 179s importer_test.py::test_importer_wrapping_escaped_longer PASSED [ 24%] 179s importer_test.py::test_importer_wrapping_parentheses PASSED [ 25%] 179s importer_test.py::test_importer_wrapping_parentheses_longer PASSED [ 27%] 179s importer_test.py::test_importer_wrapping_colums PASSED [ 28%] 179s importer_test.py::test_importer_directives_referenced PASSED [ 30%] 179s importer_test.py::test_importer_directives_not_referenced PASSED [ 31%] 179s importer_test.py::test_imports_partial_file PASSED [ 33%] 179s index_test.py::test_index_basic_api PASSED [ 34%] 179s index_test.py::test_index_filesystem PASSED [ 36%] 179s index_test.py::test_index_file_with_all PASSED [ 37%] 179s index_test.py::test_index_if_name_main PASSED [ 39%] 179s index_test.py::test_index_symbol_scores PASSED [ 40%] 179s index_test.py::test_index_score_deep_unknown_attribute PASSED [ 42%] 179s index_test.py::test_index_score_deep_reference PASSED [ 43%] 179s index_test.py::test_index_score_missing_symbol PASSED [ 45%] 179s index_test.py::test_index_score_sys_path PASSED [ 46%] 179s index_test.py::test_encoding_score PASSED [ 48%] 179s index_test.py::test_score_boosts_apply_to_scopes PASSED [ 50%] 179s symbols_test.py::test_parser_symbol_in_global_function PASSED [ 51%] 179s symbols_test.py::test_deep_package_reference_with_function_call PASSED [ 53%] 179s symbols_test.py::test_deep_package_reference_with_subscript PASSED [ 54%] 179s symbols_test.py::test_parser_class_methods_namespace_correctly PASSED [ 56%] 179s symbols_test.py::test_path_from_node_function PASSED [ 57%] 179s symbols_test.py::test_symbol_from_assignment PASSED [ 59%] 179s symbols_test.py::test_path_from_node_subscript PASSED [ 60%] 179s symbols_test.py::test_symbol_series PASSED [ 62%] 179s symbols_test.py::test_symbol_in_expression PASSED [ 63%] 179s symbols_test.py::test_symbol_from_nested_tuples PASSED [ 65%] 179s symbols_test.py::test_symbol_from_argument_defaults PASSED [ 66%] 179s symbols_test.py::test_symbol_from_decorator PASSED [ 68%] 179s symbols_test.py::test_referenced_symbols_from_decorated_function PASSED [ 69%] 179s symbols_test.py::test_find_unresolved_and_unreferenced_symbols PASSED [ 71%] 179s symbols_test.py::test_accepts_unicode_strings PASSED [ 72%] 179s symbols_test.py::TestSymbolCollection::test_attribute PASSED [ 74%] 179s symbols_test.py::TestSymbolCollection::test_tuple PASSED [ 75%] 179s symbols_test.py::TestSymbolCollection::test_chained_calls PASSED [ 77%] 179s symbols_test.py::TestSymbolCollection::test_chained_subscript PASSED [ 78%] 179s symbols_test.py::TestSymbolCollection::test_attribute_then_call PASSED [ 80%] 179s symbols_test.py::TestSymbolCollection::test_deep_attributes PASSED [ 81%] 179s symbols_test.py::TestSymbolCollection::test_generator PASSED [ 83%] 179s symbols_test.py::TestSymbolCollection::test_comprehension PASSED [ 84%] 179s symbols_test.py::TestSymbolCollection::test_class_attribute PASSED [ 86%] 179s symbols_test.py::TestSymbolCollection::test_with PASSED [ 87%] 179s symbols_test.py::TestSymbolCollection::test_with_variables PASSED [ 89%] 179s symbols_test.py::TestSymbolCollection::test_assignment_in_for PASSED [ 90%] 179s symbols_test.py::TestSymbolCollection::test_assignment_to_subscript PASSED [ 92%] 179s symbols_test.py::TestSymbolCollection::test_attribute_calls PASSED [ 93%] 179s symbols_test.py::TestSymbolCollection::test_attribute_calls_with_args PASSED [ 95%] 179s symbols_test.py::TestSymbolCollection::test_subscript_with_attrs PASSED [ 96%] 179s symbols_test.py::TestSymbolCollection::test_multiple_names PASSED [ 98%] 179s symbols_test.py::TestSymbolCollection::test_multiple_attributes PASSED [100%] 179s 179s =============================== warnings summary =============================== 179s index_test.py::test_index_filesystem 179s /usr/lib/python3/dist-packages/importmagic/index.py:186: DeprecationWarning: 'spwd' is deprecated and slated for removal in Python 3.13 179s module = __import__(name, fromlist=['.']) 179s 179s index_test.py::test_index_file_with_all 179s index_test.py::test_index_file_with_all 179s /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 179s if isinstance(subnode, ast.Str): 179s 179s index_test.py::test_index_file_with_all 179s /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 179s self._tree.add_explicit_export(subnode.s, 1.2) 179s 179s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 179s ======================== 66 passed, 4 warnings in 0.28s ======================== 179s autopkgtest [00:51:28]: test command1: -----------------------] 180s autopkgtest [00:51:29]: test command1: - - - - - - - - - - results - - - - - - - - - - 180s command1 PASS 180s autopkgtest [00:51:29]: @@@@@@@@@@@@@@@@@@@@ summary 180s command1 PASS 192s nova [W] Using flock in scalingstack-bos02-ppc64el 192s Creating nova instance adt-oracular-ppc64el-importmagic-20240608-004829-juju-7f2275-prod-proposed-migration-environment-2-9a4ea5e7-320b-4114-8634-e0e005b5fb68 from image adt/ubuntu-oracular-ppc64el-server-20240607.img (UUID 2e7ff4dd-25ad-4882-8618-1243d2d4ac8e)...