0s autopkgtest [01:16:37]: starting date and time: 2024-06-08 01:16:37+0000 0s autopkgtest [01:16:37]: git checkout: 433ed4cb Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [01:16:37]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.bum5h78_/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-3@bos01-s390x-13.secgroup --name adt-oracular-s390x-importmagic-20240608-011637-juju-7f2275-prod-proposed-migration-environment-3-376ee0b2-7705-47b6-b5b8-089bc849e799 --image adt/ubuntu-oracular-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-3 --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://us.ports.ubuntu.com/ubuntu-ports/ 299s autopkgtest [01:21:36]: testbed dpkg architecture: s390x 299s autopkgtest [01:21:36]: testbed apt version: 2.9.3 299s autopkgtest [01:21:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 300s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 300s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [44.3 kB] 300s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2864 B] 300s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [339 kB] 300s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7972 B] 300s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main s390x Packages [47.8 kB] 301s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted s390x Packages [1860 B] 301s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe s390x Packages [264 kB] 301s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse s390x Packages [1768 B] 301s Fetched 820 kB in 1s (1132 kB/s) 301s Reading package lists... 303s Reading package lists... 303s Building dependency tree... 303s Reading state information... 303s Calculating upgrade... 304s The following packages will be upgraded: 304s debianutils libheif-plugin-aomdec libheif-plugin-aomenc 304s libheif-plugin-libde265 libheif1 libnetplan1 liburcu8t64 netplan-generator 304s netplan.io python3-netplan 304s 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 304s Need to get 758 kB of archives. 304s After this operation, 48.1 kB disk space will be freed. 304s Get:1 http://ftpmaster.internal/ubuntu oracular/main s390x debianutils s390x 5.18 [90.2 kB] 304s Get:2 http://ftpmaster.internal/ubuntu oracular/main s390x netplan-generator s390x 1.0-3ubuntu1 [59.2 kB] 304s Get:3 http://ftpmaster.internal/ubuntu oracular/main s390x python3-netplan s390x 1.0-3ubuntu1 [22.9 kB] 304s Get:4 http://ftpmaster.internal/ubuntu oracular/main s390x netplan.io s390x 1.0-3ubuntu1 [65.8 kB] 304s Get:5 http://ftpmaster.internal/ubuntu oracular/main s390x libnetplan1 s390x 1.0-3ubuntu1 [125 kB] 304s Get:6 http://ftpmaster.internal/ubuntu oracular/main s390x libheif-plugin-aomdec s390x 1.17.6-3 [10.1 kB] 304s Get:7 http://ftpmaster.internal/ubuntu oracular/main s390x libheif-plugin-aomenc s390x 1.17.6-3 [15.1 kB] 304s Get:8 http://ftpmaster.internal/ubuntu oracular/main s390x libheif1 s390x 1.17.6-3 [295 kB] 304s Get:9 http://ftpmaster.internal/ubuntu oracular/main s390x libheif-plugin-libde265 s390x 1.17.6-3 [8172 B] 304s Get:10 http://ftpmaster.internal/ubuntu oracular/main s390x liburcu8t64 s390x 0.14.0-4 [66.5 kB] 304s Fetched 758 kB in 0s (1524 kB/s) 305s (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 ... 54607 files and directories currently installed.) 305s Preparing to unpack .../debianutils_5.18_s390x.deb ... 305s Unpacking debianutils (5.18) over (5.17build1) ... 305s Setting up debianutils (5.18) ... 305s (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 ... 54607 files and directories currently installed.) 305s Preparing to unpack .../0-netplan-generator_1.0-3ubuntu1_s390x.deb ... 305s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 305s Unpacking netplan-generator (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 305s Preparing to unpack .../1-python3-netplan_1.0-3ubuntu1_s390x.deb ... 305s Unpacking python3-netplan (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 305s Preparing to unpack .../2-netplan.io_1.0-3ubuntu1_s390x.deb ... 305s Unpacking netplan.io (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 305s Preparing to unpack .../3-libnetplan1_1.0-3ubuntu1_s390x.deb ... 305s Unpacking libnetplan1:s390x (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 305s Preparing to unpack .../4-libheif-plugin-aomdec_1.17.6-3_s390x.deb ... 305s Unpacking libheif-plugin-aomdec:s390x (1.17.6-3) over (1.17.6-1ubuntu4) ... 305s Preparing to unpack .../5-libheif-plugin-aomenc_1.17.6-3_s390x.deb ... 305s Unpacking libheif-plugin-aomenc:s390x (1.17.6-3) over (1.17.6-1ubuntu4) ... 305s Preparing to unpack .../6-libheif1_1.17.6-3_s390x.deb ... 305s Unpacking libheif1:s390x (1.17.6-3) over (1.17.6-1ubuntu4) ... 305s Preparing to unpack .../7-libheif-plugin-libde265_1.17.6-3_s390x.deb ... 305s Unpacking libheif-plugin-libde265:s390x (1.17.6-3) over (1.17.6-1ubuntu4) ... 305s Preparing to unpack .../8-liburcu8t64_0.14.0-4_s390x.deb ... 305s Unpacking liburcu8t64:s390x (0.14.0-4) over (0.14.0-3.1build1) ... 305s Setting up liburcu8t64:s390x (0.14.0-4) ... 305s Setting up libnetplan1:s390x (1.0-3ubuntu1) ... 305s Setting up python3-netplan (1.0-3ubuntu1) ... 305s Setting up netplan-generator (1.0-3ubuntu1) ... 305s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 305s Setting up netplan.io (1.0-3ubuntu1) ... 305s Setting up libheif-plugin-aomdec:s390x (1.17.6-3) ... 305s Setting up libheif-plugin-libde265:s390x (1.17.6-3) ... 305s Setting up libheif1:s390x (1.17.6-3) ... 305s Setting up libheif-plugin-aomenc:s390x (1.17.6-3) ... 305s Processing triggers for libc-bin (2.39-0ubuntu8.1) ... 305s Processing triggers for man-db (2.12.1-1) ... 306s Processing triggers for dbus (1.14.10-4ubuntu4) ... 306s Reading package lists... 306s Building dependency tree... 306s Reading state information... 307s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 307s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 307s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 307s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 307s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 309s Reading package lists... 309s Reading package lists... 309s Building dependency tree... 309s Reading state information... 310s Calculating upgrade... 310s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 310s Reading package lists... 310s Building dependency tree... 310s Reading state information... 311s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 314s autopkgtest [01:21:51]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP Sat Apr 20 00:14:26 UTC 2024 314s autopkgtest [01:21:51]: @@@@@@@@@@@@@@@@@@@@ apt-source importmagic 316s Get:1 http://ftpmaster.internal/ubuntu oracular/universe importmagic 0.1.7-5 (dsc) [2112 B] 316s Get:2 http://ftpmaster.internal/ubuntu oracular/universe importmagic 0.1.7-5 (tar) [392 kB] 316s Get:3 http://ftpmaster.internal/ubuntu oracular/universe importmagic 0.1.7-5 (diff) [4492 B] 316s gpgv: Signature made Tue Dec 5 03:48:32 2023 UTC 316s gpgv: using RSA key 4D055C31E4812045F9010D75990D38367334D770 316s gpgv: Can't check signature: No public key 316s dpkg-source: warning: cannot verify inline signature for ./importmagic_0.1.7-5.dsc: no acceptable signature found 316s autopkgtest [01:21:53]: testing package importmagic version 0.1.7-5 316s autopkgtest [01:21:53]: build not needed 318s autopkgtest [01:21:55]: test command1: preparing testbed 319s Reading package lists... 319s Building dependency tree... 319s Reading state information... 319s Starting pkgProblemResolver with broken count: 0 319s Starting 2 pkgProblemResolver with broken count: 0 319s Done 320s The following additional packages will be installed: 320s python3-all python3-importmagic python3-iniconfig python3-packaging 320s python3-pluggy python3-pytest 320s The following NEW packages will be installed: 320s autopkgtest-satdep python3-all python3-importmagic python3-iniconfig 320s python3-packaging python3-pluggy python3-pytest 320s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 320s Need to get 337 kB/338 kB of archives. 320s After this operation, 1688 kB of additional disk space will be used. 320s Get:1 /tmp/autopkgtest.7zLkhz/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [728 B] 320s Get:2 http://ftpmaster.internal/ubuntu oracular/main s390x python3-all s390x 3.12.3-0ubuntu1 [890 B] 320s Get:3 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-importmagic all 0.1.7-5 [17.7 kB] 320s Get:4 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 320s Get:5 http://ftpmaster.internal/ubuntu oracular/main s390x python3-packaging all 24.0-1 [41.1 kB] 320s Get:6 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 320s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/universe s390x python3-pytest all 8.2.2-1ubuntu1 [250 kB] 320s Fetched 337 kB in 0s (687 kB/s) 321s Selecting previously unselected package python3-all. 321s (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 ... 54607 files and directories currently installed.) 321s Preparing to unpack .../0-python3-all_3.12.3-0ubuntu1_s390x.deb ... 321s Unpacking python3-all (3.12.3-0ubuntu1) ... 321s Selecting previously unselected package python3-importmagic. 321s Preparing to unpack .../1-python3-importmagic_0.1.7-5_all.deb ... 321s Unpacking python3-importmagic (0.1.7-5) ... 321s Selecting previously unselected package python3-iniconfig. 321s Preparing to unpack .../2-python3-iniconfig_1.1.1-2_all.deb ... 321s Unpacking python3-iniconfig (1.1.1-2) ... 321s Selecting previously unselected package python3-packaging. 321s Preparing to unpack .../3-python3-packaging_24.0-1_all.deb ... 321s Unpacking python3-packaging (24.0-1) ... 321s Selecting previously unselected package python3-pluggy. 321s Preparing to unpack .../4-python3-pluggy_1.5.0-1_all.deb ... 321s Unpacking python3-pluggy (1.5.0-1) ... 321s Selecting previously unselected package python3-pytest. 321s Preparing to unpack .../5-python3-pytest_8.2.2-1ubuntu1_all.deb ... 321s Unpacking python3-pytest (8.2.2-1ubuntu1) ... 321s Selecting previously unselected package autopkgtest-satdep. 321s Preparing to unpack .../6-1-autopkgtest-satdep.deb ... 321s Unpacking autopkgtest-satdep (0) ... 321s Setting up python3-iniconfig (1.1.1-2) ... 321s Setting up python3-all (3.12.3-0ubuntu1) ... 321s Setting up python3-packaging (24.0-1) ... 321s Setting up python3-pluggy (1.5.0-1) ... 321s Setting up python3-importmagic (0.1.7-5) ... 321s /usr/lib/python3/dist-packages/importmagic/util.py:9: SyntaxWarning: invalid escape sequence '\s' 321s CODING_COOKIE_RE = re.compile('(^\s*#.*)coding[:=]', re.M) 321s Setting up python3-pytest (8.2.2-1ubuntu1) ... 322s Setting up autopkgtest-satdep (0) ... 322s Processing triggers for man-db (2.12.1-1) ... 325s (Reading database ... 54790 files and directories currently installed.) 325s Removing autopkgtest-satdep (0) ... 325s autopkgtest [01:22:02]: 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 325s autopkgtest [01:22:02]: test command1: [----------------------- 326s Testing with python3.12 in :/tmp/autopkgtest.7zLkhz/autopkgtest_tmp 326s ============================= test session starts ============================== 326s platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 -- /usr/bin/python3.12 326s cachedir: .pytest_cache 326s rootdir: /tmp/autopkgtest.7zLkhz/autopkgtest_tmp 326s collecting ... collected 66 items 326s 326s importer_test.py::test_get_update PASSED [ 1%] 326s importer_test.py::test_deep_import_of_unknown_symbol PASSED [ 3%] 326s importer_test.py::test_import_future_preserved PASSED [ 4%] 326s importer_test.py::test_update_imports_inserts_initial_imports PASSED [ 6%] 326s importer_test.py::test_update_imports_inserts_imports PASSED [ 7%] 326s importer_test.py::test_update_imports_correctly_aliases PASSED [ 9%] 326s importer_test.py::test_parse_imports PASSED [ 10%] 326s importer_test.py::test_imports_inserted_after_preamble PASSED [ 12%] 326s importer_test.py::test_imports_dont_delete_trailing_comments PASSED [ 13%] 326s importer_test.py::test_imports_dont_delete_imports_after_middle_comments PASSED [ 15%] 326s importer_test.py::test_imports_removes_unused PASSED [ 16%] 326s importer_test.py::test_imports_module_assignment PASSED [ 18%] 326s importer_test.py::test_import_as_kept PASSED [ 19%] 326s importer_test.py::test_from_import_as PASSED [ 21%] 326s importer_test.py::test_importer_wrapping_escaped PASSED [ 22%] 326s importer_test.py::test_importer_wrapping_escaped_longer PASSED [ 24%] 326s importer_test.py::test_importer_wrapping_parentheses PASSED [ 25%] 326s importer_test.py::test_importer_wrapping_parentheses_longer PASSED [ 27%] 326s importer_test.py::test_importer_wrapping_colums PASSED [ 28%] 326s importer_test.py::test_importer_directives_referenced PASSED [ 30%] 326s importer_test.py::test_importer_directives_not_referenced PASSED [ 31%] 326s importer_test.py::test_imports_partial_file PASSED [ 33%] 326s index_test.py::test_index_basic_api PASSED [ 34%] 326s index_test.py::test_index_filesystem PASSED [ 36%] 326s index_test.py::test_index_file_with_all PASSED [ 37%] 326s index_test.py::test_index_if_name_main PASSED [ 39%] 326s index_test.py::test_index_symbol_scores PASSED [ 40%] 326s index_test.py::test_index_score_deep_unknown_attribute PASSED [ 42%] 326s index_test.py::test_index_score_deep_reference PASSED [ 43%] 326s index_test.py::test_index_score_missing_symbol PASSED [ 45%] 326s index_test.py::test_index_score_sys_path PASSED [ 46%] 326s index_test.py::test_encoding_score PASSED [ 48%] 326s index_test.py::test_score_boosts_apply_to_scopes PASSED [ 50%] 326s symbols_test.py::test_parser_symbol_in_global_function PASSED [ 51%] 326s symbols_test.py::test_deep_package_reference_with_function_call PASSED [ 53%] 326s symbols_test.py::test_deep_package_reference_with_subscript PASSED [ 54%] 326s symbols_test.py::test_parser_class_methods_namespace_correctly PASSED [ 56%] 326s symbols_test.py::test_path_from_node_function PASSED [ 57%] 326s symbols_test.py::test_symbol_from_assignment PASSED [ 59%] 326s symbols_test.py::test_path_from_node_subscript PASSED [ 60%] 326s symbols_test.py::test_symbol_series PASSED [ 62%] 326s symbols_test.py::test_symbol_in_expression PASSED [ 63%] 326s symbols_test.py::test_symbol_from_nested_tuples PASSED [ 65%] 326s symbols_test.py::test_symbol_from_argument_defaults PASSED [ 66%] 326s symbols_test.py::test_symbol_from_decorator PASSED [ 68%] 326s symbols_test.py::test_referenced_symbols_from_decorated_function PASSED [ 69%] 326s symbols_test.py::test_find_unresolved_and_unreferenced_symbols PASSED [ 71%] 326s symbols_test.py::test_accepts_unicode_strings PASSED [ 72%] 326s symbols_test.py::TestSymbolCollection::test_attribute PASSED [ 74%] 326s symbols_test.py::TestSymbolCollection::test_tuple PASSED [ 75%] 326s symbols_test.py::TestSymbolCollection::test_chained_calls PASSED [ 77%] 326s symbols_test.py::TestSymbolCollection::test_chained_subscript PASSED [ 78%] 326s symbols_test.py::TestSymbolCollection::test_attribute_then_call PASSED [ 80%] 326s symbols_test.py::TestSymbolCollection::test_deep_attributes PASSED [ 81%] 326s symbols_test.py::TestSymbolCollection::test_generator PASSED [ 83%] 326s symbols_test.py::TestSymbolCollection::test_comprehension PASSED [ 84%] 326s symbols_test.py::TestSymbolCollection::test_class_attribute PASSED [ 86%] 326s symbols_test.py::TestSymbolCollection::test_with PASSED [ 87%] 326s symbols_test.py::TestSymbolCollection::test_with_variables PASSED [ 89%] 326s symbols_test.py::TestSymbolCollection::test_assignment_in_for PASSED [ 90%] 326s symbols_test.py::TestSymbolCollection::test_assignment_to_subscript PASSED [ 92%] 326s symbols_test.py::TestSymbolCollection::test_attribute_calls PASSED [ 93%] 326s symbols_test.py::TestSymbolCollection::test_attribute_calls_with_args PASSED [ 95%] 326s symbols_test.py::TestSymbolCollection::test_subscript_with_attrs PASSED [ 96%] 326s symbols_test.py::TestSymbolCollection::test_multiple_names PASSED [ 98%] 326s symbols_test.py::TestSymbolCollection::test_multiple_attributes PASSED [100%] 326s 326s =============================== warnings summary =============================== 326s index_test.py::test_index_filesystem 326s /usr/lib/python3/dist-packages/importmagic/index.py:186: DeprecationWarning: 'spwd' is deprecated and slated for removal in Python 3.13 326s module = __import__(name, fromlist=['.']) 326s 326s index_test.py::test_index_file_with_all 326s index_test.py::test_index_file_with_all 326s /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 326s if isinstance(subnode, ast.Str): 326s 326s index_test.py::test_index_file_with_all 326s /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 326s self._tree.add_explicit_export(subnode.s, 1.2) 326s 326s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 326s ======================== 66 passed, 4 warnings in 0.27s ======================== 326s autopkgtest [01:22:03]: test command1: -----------------------] 327s autopkgtest [01:22:04]: test command1: - - - - - - - - - - results - - - - - - - - - - 327s command1 PASS 327s autopkgtest [01:22:04]: @@@@@@@@@@@@@@@@@@@@ summary 327s command1 PASS 342s nova [W] Using flock in scalingstack-bos01-s390x 342s Creating nova instance adt-oracular-s390x-importmagic-20240608-011637-juju-7f2275-prod-proposed-migration-environment-3-376ee0b2-7705-47b6-b5b8-089bc849e799 from image adt/ubuntu-oracular-s390x-server-20240607.img (UUID 7eeb2415-a1eb-49f2-b205-8690074843ed)...