0s autopkgtest [01:43:05]: starting date and time: 2024-06-08 01:43:05+0000 0s autopkgtest [01:43:05]: git checkout: 433ed4cb Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [01:43:05]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.cgmh177e/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 python-requirements-detector --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@bos02-ppc64el-9.secgroup --name adt-oracular-ppc64el-python-requirements-detector-20240608-014305-juju-7f2275-prod-proposed-migration-environment-3-bcdfb05f-91a3-406f-bc83-59b94474434f --image adt/ubuntu-oracular-ppc64el-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://ftpmaster.internal/ubuntu/ 228s autopkgtest [01:46:53]: testbed dpkg architecture: ppc64el 228s autopkgtest [01:46:53]: testbed apt version: 2.9.3 228s autopkgtest [01:46:53]: @@@@@@@@@@@@@@@@@@@@ test bed setup 229s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 229s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [44.3 kB] 230s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7972 B] 230s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [336 kB] 230s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2864 B] 230s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el Packages [54.3 kB] 230s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted ppc64el Packages [1860 B] 230s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el Packages [300 kB] 230s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse ppc64el Packages [1768 B] 230s Fetched 858 kB in 1s (1143 kB/s) 230s Reading package lists... 232s Reading package lists... 233s Building dependency tree... 233s Reading state information... 233s Calculating upgrade... 233s The following packages will be upgraded: 233s debianutils libheif-plugin-aomdec libheif-plugin-aomenc 233s libheif-plugin-libde265 libheif1 libnetplan1 netplan-generator netplan.io 233s python3-netplan 233s 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 233s Need to get 731 kB of archives. 233s After this operation, 5120 B of additional disk space will be used. 233s Get:1 http://ftpmaster.internal/ubuntu oracular/main ppc64el debianutils ppc64el 5.18 [90.5 kB] 233s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el netplan-generator ppc64el 1.0-3ubuntu1 [59.3 kB] 233s Get:3 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-netplan ppc64el 1.0-3ubuntu1 [21.8 kB] 233s Get:4 http://ftpmaster.internal/ubuntu oracular/main ppc64el netplan.io ppc64el 1.0-3ubuntu1 [66.6 kB] 234s Get:5 http://ftpmaster.internal/ubuntu oracular/main ppc64el libnetplan1 ppc64el 1.0-3ubuntu1 [138 kB] 234s Get:6 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif-plugin-aomdec ppc64el 1.17.6-3 [10.2 kB] 234s Get:7 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif-plugin-aomenc ppc64el 1.17.6-3 [16.6 kB] 234s Get:8 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif1 ppc64el 1.17.6-3 [320 kB] 234s Get:9 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif-plugin-libde265 ppc64el 1.17.6-3 [8484 B] 234s Fetched 731 kB in 0s (1500 kB/s) 234s (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.) 234s Preparing to unpack .../debianutils_5.18_ppc64el.deb ... 234s Unpacking debianutils (5.18) over (5.17build1) ... 234s Setting up debianutils (5.18) ... 234s (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.) 234s Preparing to unpack .../0-netplan-generator_1.0-3ubuntu1_ppc64el.deb ... 234s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 234s Unpacking netplan-generator (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 234s Preparing to unpack .../1-python3-netplan_1.0-3ubuntu1_ppc64el.deb ... 234s Unpacking python3-netplan (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 234s Preparing to unpack .../2-netplan.io_1.0-3ubuntu1_ppc64el.deb ... 234s Unpacking netplan.io (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 234s Preparing to unpack .../3-libnetplan1_1.0-3ubuntu1_ppc64el.deb ... 234s Unpacking libnetplan1:ppc64el (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 234s Preparing to unpack .../4-libheif-plugin-aomdec_1.17.6-3_ppc64el.deb ... 234s Unpacking libheif-plugin-aomdec:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 234s Preparing to unpack .../5-libheif-plugin-aomenc_1.17.6-3_ppc64el.deb ... 234s Unpacking libheif-plugin-aomenc:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 234s Preparing to unpack .../6-libheif1_1.17.6-3_ppc64el.deb ... 234s Unpacking libheif1:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 235s Preparing to unpack .../7-libheif-plugin-libde265_1.17.6-3_ppc64el.deb ... 235s Unpacking libheif-plugin-libde265:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 235s Setting up libnetplan1:ppc64el (1.0-3ubuntu1) ... 235s Setting up python3-netplan (1.0-3ubuntu1) ... 235s Setting up netplan-generator (1.0-3ubuntu1) ... 235s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 235s Setting up netplan.io (1.0-3ubuntu1) ... 235s Setting up libheif-plugin-aomdec:ppc64el (1.17.6-3) ... 235s Setting up libheif-plugin-libde265:ppc64el (1.17.6-3) ... 235s Setting up libheif1:ppc64el (1.17.6-3) ... 235s Setting up libheif-plugin-aomenc:ppc64el (1.17.6-3) ... 235s Processing triggers for libc-bin (2.39-0ubuntu8.1) ... 235s Processing triggers for man-db (2.12.1-1) ... 236s Processing triggers for dbus (1.14.10-4ubuntu4) ... 236s Reading package lists... 237s Building dependency tree... 237s Reading state information... 237s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 237s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 237s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 237s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 237s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 239s Reading package lists... 239s Reading package lists... 239s Building dependency tree... 239s Reading state information... 239s Calculating upgrade... 239s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 239s Reading package lists... 240s Building dependency tree... 240s Reading state information... 240s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 243s autopkgtest [01:47:08]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP Sat Apr 20 00:05:55 UTC 2024 243s autopkgtest [01:47:08]: @@@@@@@@@@@@@@@@@@@@ apt-source python-requirements-detector 244s Get:1 http://ftpmaster.internal/ubuntu oracular/universe python-requirements-detector 1.2.2-1 (dsc) [2449 B] 244s Get:2 http://ftpmaster.internal/ubuntu oracular/universe python-requirements-detector 1.2.2-1 (tar) [58.0 kB] 244s Get:3 http://ftpmaster.internal/ubuntu oracular/universe python-requirements-detector 1.2.2-1 (diff) [3996 B] 245s gpgv: Signature made Fri Apr 12 06:25:50 2024 UTC 245s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 245s gpgv: issuer "tchet@debian.org" 245s gpgv: Can't check signature: No public key 245s dpkg-source: warning: cannot verify inline signature for ./python-requirements-detector_1.2.2-1.dsc: no acceptable signature found 245s autopkgtest [01:47:10]: testing package python-requirements-detector version 1.2.2-1 245s autopkgtest [01:47:10]: build not needed 245s autopkgtest [01:47:10]: test python3-requirements-detector: preparing testbed 247s Reading package lists... 247s Building dependency tree... 247s Reading state information... 247s Starting pkgProblemResolver with broken count: 0 247s Starting 2 pkgProblemResolver with broken count: 0 247s Done 247s The following additional packages will be installed: 247s python3-all python3-astroid python3-iniconfig python3-packaging 247s python3-pluggy python3-pytest python3-requirements-detector python3-semver 247s python3-toml 247s The following NEW packages will be installed: 247s autopkgtest-satdep python3-all python3-astroid python3-iniconfig 247s python3-packaging python3-pluggy python3-pytest 247s python3-requirements-detector python3-semver python3-toml 247s 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. 247s Need to get 541 kB/542 kB of archives. 247s After this operation, 2935 kB of additional disk space will be used. 247s Get:1 /tmp/autopkgtest.8mhRUC/1-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [736 B] 247s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-all ppc64el 3.12.3-0ubuntu1 [888 B] 247s Get:3 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-astroid all 3.2.2-1 [174 kB] 248s Get:4 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-iniconfig all 1.1.1-2 [6024 B] 248s Get:5 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-packaging all 24.0-1 [41.1 kB] 248s Get:6 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-pluggy all 1.5.0-1 [21.0 kB] 248s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el python3-pytest all 8.2.2-1ubuntu1 [250 kB] 248s Get:8 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-semver all 2.10.2-3 [13.8 kB] 248s Get:9 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-toml all 0.10.2-1 [16.5 kB] 248s Get:10 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-requirements-detector all 1.2.2-1 [17.5 kB] 248s Fetched 541 kB in 1s (966 kB/s) 248s Selecting previously unselected package python3-all. 248s (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.) 248s Preparing to unpack .../0-python3-all_3.12.3-0ubuntu1_ppc64el.deb ... 248s Unpacking python3-all (3.12.3-0ubuntu1) ... 248s Selecting previously unselected package python3-astroid. 248s Preparing to unpack .../1-python3-astroid_3.2.2-1_all.deb ... 248s Unpacking python3-astroid (3.2.2-1) ... 248s Selecting previously unselected package python3-iniconfig. 248s Preparing to unpack .../2-python3-iniconfig_1.1.1-2_all.deb ... 248s Unpacking python3-iniconfig (1.1.1-2) ... 248s Selecting previously unselected package python3-packaging. 248s Preparing to unpack .../3-python3-packaging_24.0-1_all.deb ... 248s Unpacking python3-packaging (24.0-1) ... 248s Selecting previously unselected package python3-pluggy. 248s Preparing to unpack .../4-python3-pluggy_1.5.0-1_all.deb ... 248s Unpacking python3-pluggy (1.5.0-1) ... 248s Selecting previously unselected package python3-pytest. 248s Preparing to unpack .../5-python3-pytest_8.2.2-1ubuntu1_all.deb ... 248s Unpacking python3-pytest (8.2.2-1ubuntu1) ... 248s Selecting previously unselected package python3-semver. 248s Preparing to unpack .../6-python3-semver_2.10.2-3_all.deb ... 248s Unpacking python3-semver (2.10.2-3) ... 248s Selecting previously unselected package python3-toml. 248s Preparing to unpack .../7-python3-toml_0.10.2-1_all.deb ... 248s Unpacking python3-toml (0.10.2-1) ... 248s Selecting previously unselected package python3-requirements-detector. 248s Preparing to unpack .../8-python3-requirements-detector_1.2.2-1_all.deb ... 248s Unpacking python3-requirements-detector (1.2.2-1) ... 248s Selecting previously unselected package autopkgtest-satdep. 248s Preparing to unpack .../9-1-autopkgtest-satdep.deb ... 248s Unpacking autopkgtest-satdep (0) ... 248s Setting up python3-iniconfig (1.1.1-2) ... 248s Setting up python3-semver (2.10.2-3) ... 249s Setting up python3-all (3.12.3-0ubuntu1) ... 249s Setting up python3-packaging (24.0-1) ... 249s Setting up python3-toml (0.10.2-1) ... 249s Setting up python3-pluggy (1.5.0-1) ... 249s Setting up python3-astroid (3.2.2-1) ... 249s Setting up python3-pytest (8.2.2-1ubuntu1) ... 250s Setting up python3-requirements-detector (1.2.2-1) ... 250s Setting up autopkgtest-satdep (0) ... 250s Processing triggers for man-db (2.12.1-1) ... 252s (Reading database ... 72934 files and directories currently installed.) 252s Removing autopkgtest-satdep (0) ... 253s autopkgtest [01:47:18]: test python3-requirements-detector: [----------------------- 254s ============================= test session starts ============================== 254s platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 254s rootdir: /tmp/autopkgtest.8mhRUC/build.acc/src 254s configfile: pyproject.toml 254s collected 143 items 254s 254s tests/test_detection.py ............... [ 10%] 254s tests/test_failure_cases.py ... [ 12%] 254s tests/test_parsing.py .............. [ 22%] 254s tests/test_poetry_semver/test_main.py .................................. [ 46%] 254s ................................................. [ 80%] 254s tests/test_poetry_semver/test_version.py ........................ [ 97%] 254s tests/test_poetry_semver/test_version_range.py .... [100%] 254s 254s =============================== warnings summary =============================== 254s tests/test_detection.py::DependencyDetectionTest::test_callable_install_requires 254s /tmp/autopkgtest.8mhRUC/build.acc/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.8mhRUC/build.acc/src/tests/detection/test4/callable.py' mode='r' encoding='UTF-8'> 254s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 254s Enable tracemalloc to get traceback where the object was allocated. 254s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 254s 254s tests/test_detection.py::DependencyDetectionTest::test_requires_and_install_requires_setup_py 254s /tmp/autopkgtest.8mhRUC/build.acc/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.8mhRUC/build.acc/src/tests/detection/test4/uses_requires_and_install_requires.py' mode='r' encoding='UTF-8'> 254s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 254s Enable tracemalloc to get traceback where the object was allocated. 254s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 254s 254s tests/test_detection.py::DependencyDetectionTest::test_requires_setup_py 254s /tmp/autopkgtest.8mhRUC/build.acc/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.8mhRUC/build.acc/src/tests/detection/test4/uses_requires.py' mode='r' encoding='UTF-8'> 254s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 254s Enable tracemalloc to get traceback where the object was allocated. 254s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 254s 254s tests/test_detection.py::DependencyDetectionTest::test_setup_py_reqs_defined_in_file_parsing 254s /tmp/autopkgtest.8mhRUC/build.acc/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.8mhRUC/build.acc/src/tests/detection/test4/in_file.py' mode='r' encoding='UTF-8'> 254s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 254s Enable tracemalloc to get traceback where the object was allocated. 254s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 254s 254s tests/test_detection.py::DependencyDetectionTest::test_setup_py_tuple 254s /tmp/autopkgtest.8mhRUC/build.acc/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.8mhRUC/build.acc/src/tests/detection/test4/tuple.py' mode='r' encoding='UTF-8'> 254s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 254s Enable tracemalloc to get traceback where the object was allocated. 254s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 254s 254s tests/test_detection.py::DependencyDetectionTest::test_simple_setup_py_parsing 254s /tmp/autopkgtest.8mhRUC/build.acc/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.8mhRUC/build.acc/src/tests/detection/test4/simple.py' mode='r' encoding='UTF-8'> 254s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 254s Enable tracemalloc to get traceback where the object was allocated. 254s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 254s 254s tests/test_detection.py::DependencyDetectionTest::test_subscript_assign 254s /tmp/autopkgtest.8mhRUC/build.acc/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.8mhRUC/build.acc/src/tests/detection/test4/subscript_assign.py' mode='r' encoding='UTF-8'> 254s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 254s Enable tracemalloc to get traceback where the object was allocated. 254s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 254s 254s tests/test_detection.py::DependencyDetectionTest::test_utf8_setup_py 254s /tmp/autopkgtest.8mhRUC/build.acc/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.8mhRUC/build.acc/src/tests/detection/test4/utf8.py' mode='r' encoding='UTF-8'> 254s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 254s Enable tracemalloc to get traceback where the object was allocated. 254s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 254s 254s tests/test_failure_cases.py::test_setup_py_syntax_error 254s /tmp/autopkgtest.8mhRUC/build.acc/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.8mhRUC/build.acc/src/tests/detection/syntax_error/setup.py' mode='r' encoding='UTF-8'> 254s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 254s Enable tracemalloc to get traceback where the object was allocated. 254s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 254s 254s tests/test_failure_cases.py::test_setup_py_multiline_string 254s /tmp/autopkgtest.8mhRUC/build.acc/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.8mhRUC/build.acc/src/tests/detection/syntax_error/setup_multiline_string.py' mode='r' encoding='UTF-8'> 254s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 254s Enable tracemalloc to get traceback where the object was allocated. 254s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 254s 254s tests/test_failure_cases.py::test_regular_indentation 254s /tmp/autopkgtest.8mhRUC/build.acc/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.8mhRUC/build.acc/src/tests/detection/syntax_error/regular_indentation.py' mode='r' encoding='UTF-8'> 254s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 254s Enable tracemalloc to get traceback where the object was allocated. 254s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 254s 254s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 254s ======================= 143 passed, 11 warnings in 0.69s ======================= 254s autopkgtest [01:47:19]: test python3-requirements-detector: -----------------------] 255s autopkgtest [01:47:20]: test python3-requirements-detector: - - - - - - - - - - results - - - - - - - - - - 255s python3-requirements-detector PASS 255s autopkgtest [01:47:20]: test autodep8-python3: preparing testbed 422s autopkgtest [01:50:07]: testbed dpkg architecture: ppc64el 422s autopkgtest [01:50:07]: testbed apt version: 2.9.3 422s autopkgtest [01:50:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 423s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 424s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [336 kB] 424s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2864 B] 424s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [44.3 kB] 424s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7972 B] 424s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main ppc64el Packages [54.3 kB] 424s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted ppc64el Packages [1860 B] 424s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe ppc64el Packages [300 kB] 424s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse ppc64el Packages [1768 B] 424s Fetched 858 kB in 1s (1223 kB/s) 424s Reading package lists... 427s Reading package lists... 427s Building dependency tree... 427s Reading state information... 427s Calculating upgrade... 427s The following packages will be upgraded: 427s debianutils libheif-plugin-aomdec libheif-plugin-aomenc 427s libheif-plugin-libde265 libheif1 libnetplan1 netplan-generator netplan.io 427s python3-netplan 427s 9 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 427s Need to get 731 kB of archives. 427s After this operation, 5120 B of additional disk space will be used. 427s Get:1 http://ftpmaster.internal/ubuntu oracular/main ppc64el debianutils ppc64el 5.18 [90.5 kB] 427s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el netplan-generator ppc64el 1.0-3ubuntu1 [59.3 kB] 427s Get:3 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-netplan ppc64el 1.0-3ubuntu1 [21.8 kB] 427s Get:4 http://ftpmaster.internal/ubuntu oracular/main ppc64el netplan.io ppc64el 1.0-3ubuntu1 [66.6 kB] 427s Get:5 http://ftpmaster.internal/ubuntu oracular/main ppc64el libnetplan1 ppc64el 1.0-3ubuntu1 [138 kB] 427s Get:6 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif-plugin-aomdec ppc64el 1.17.6-3 [10.2 kB] 427s Get:7 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif-plugin-aomenc ppc64el 1.17.6-3 [16.6 kB] 427s Get:8 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif1 ppc64el 1.17.6-3 [320 kB] 428s Get:9 http://ftpmaster.internal/ubuntu oracular/main ppc64el libheif-plugin-libde265 ppc64el 1.17.6-3 [8484 B] 428s Fetched 731 kB in 0s (1489 kB/s) 428s (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.) 428s Preparing to unpack .../debianutils_5.18_ppc64el.deb ... 428s Unpacking debianutils (5.18) over (5.17build1) ... 428s Setting up debianutils (5.18) ... 428s (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.) 428s Preparing to unpack .../0-netplan-generator_1.0-3ubuntu1_ppc64el.deb ... 428s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 428s Unpacking netplan-generator (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 428s Preparing to unpack .../1-python3-netplan_1.0-3ubuntu1_ppc64el.deb ... 428s Unpacking python3-netplan (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 428s Preparing to unpack .../2-netplan.io_1.0-3ubuntu1_ppc64el.deb ... 428s Unpacking netplan.io (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 428s Preparing to unpack .../3-libnetplan1_1.0-3ubuntu1_ppc64el.deb ... 428s Unpacking libnetplan1:ppc64el (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 428s Preparing to unpack .../4-libheif-plugin-aomdec_1.17.6-3_ppc64el.deb ... 428s Unpacking libheif-plugin-aomdec:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 428s Preparing to unpack .../5-libheif-plugin-aomenc_1.17.6-3_ppc64el.deb ... 428s Unpacking libheif-plugin-aomenc:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 428s Preparing to unpack .../6-libheif1_1.17.6-3_ppc64el.deb ... 428s Unpacking libheif1:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 428s Preparing to unpack .../7-libheif-plugin-libde265_1.17.6-3_ppc64el.deb ... 428s Unpacking libheif-plugin-libde265:ppc64el (1.17.6-3) over (1.17.6-1ubuntu4) ... 428s Setting up libnetplan1:ppc64el (1.0-3ubuntu1) ... 428s Setting up python3-netplan (1.0-3ubuntu1) ... 428s Setting up netplan-generator (1.0-3ubuntu1) ... 428s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 428s Setting up netplan.io (1.0-3ubuntu1) ... 428s Setting up libheif-plugin-aomdec:ppc64el (1.17.6-3) ... 428s Setting up libheif-plugin-libde265:ppc64el (1.17.6-3) ... 428s Setting up libheif1:ppc64el (1.17.6-3) ... 428s Setting up libheif-plugin-aomenc:ppc64el (1.17.6-3) ... 428s Processing triggers for libc-bin (2.39-0ubuntu8.1) ... 428s Processing triggers for man-db (2.12.1-1) ... 430s Processing triggers for dbus (1.14.10-4ubuntu4) ... 430s Reading package lists... 430s Building dependency tree... 430s Reading state information... 430s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 431s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 431s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 431s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 431s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 432s Reading package lists... 432s Reading package lists... 432s Building dependency tree... 432s Reading state information... 432s Calculating upgrade... 433s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 433s Reading package lists... 433s Building dependency tree... 433s Reading state information... 433s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 437s Reading package lists... 437s Building dependency tree... 437s Reading state information... 437s Starting pkgProblemResolver with broken count: 0 437s Starting 2 pkgProblemResolver with broken count: 0 437s Done 437s The following additional packages will be installed: 437s python3-all python3-astroid python3-packaging python3-requirements-detector 437s python3-semver python3-toml 437s The following NEW packages will be installed: 437s autopkgtest-satdep python3-all python3-astroid python3-packaging 437s python3-requirements-detector python3-semver python3-toml 437s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 437s Need to get 264 kB/265 kB of archives. 437s After this operation, 1539 kB of additional disk space will be used. 437s Get:1 /tmp/autopkgtest.8mhRUC/2-autopkgtest-satdep.deb autopkgtest-satdep ppc64el 0 [724 B] 437s Get:2 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-all ppc64el 3.12.3-0ubuntu1 [888 B] 438s Get:3 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-astroid all 3.2.2-1 [174 kB] 438s Get:4 http://ftpmaster.internal/ubuntu oracular/main ppc64el python3-packaging all 24.0-1 [41.1 kB] 438s Get:5 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-semver all 2.10.2-3 [13.8 kB] 438s Get:6 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-toml all 0.10.2-1 [16.5 kB] 438s Get:7 http://ftpmaster.internal/ubuntu oracular/universe ppc64el python3-requirements-detector all 1.2.2-1 [17.5 kB] 438s Fetched 264 kB in 0s (541 kB/s) 438s Selecting previously unselected package python3-all. 438s (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.) 438s Preparing to unpack .../0-python3-all_3.12.3-0ubuntu1_ppc64el.deb ... 438s Unpacking python3-all (3.12.3-0ubuntu1) ... 438s Selecting previously unselected package python3-astroid. 438s Preparing to unpack .../1-python3-astroid_3.2.2-1_all.deb ... 438s Unpacking python3-astroid (3.2.2-1) ... 438s Selecting previously unselected package python3-packaging. 438s Preparing to unpack .../2-python3-packaging_24.0-1_all.deb ... 438s Unpacking python3-packaging (24.0-1) ... 438s Selecting previously unselected package python3-semver. 438s Preparing to unpack .../3-python3-semver_2.10.2-3_all.deb ... 438s Unpacking python3-semver (2.10.2-3) ... 438s Selecting previously unselected package python3-toml. 438s Preparing to unpack .../4-python3-toml_0.10.2-1_all.deb ... 438s Unpacking python3-toml (0.10.2-1) ... 438s Selecting previously unselected package python3-requirements-detector. 438s Preparing to unpack .../5-python3-requirements-detector_1.2.2-1_all.deb ... 438s Unpacking python3-requirements-detector (1.2.2-1) ... 438s Selecting previously unselected package autopkgtest-satdep. 438s Preparing to unpack .../6-2-autopkgtest-satdep.deb ... 438s Unpacking autopkgtest-satdep (0) ... 438s Setting up python3-semver (2.10.2-3) ... 438s Setting up python3-all (3.12.3-0ubuntu1) ... 438s Setting up python3-packaging (24.0-1) ... 439s Setting up python3-toml (0.10.2-1) ... 439s Setting up python3-astroid (3.2.2-1) ... 439s Setting up python3-requirements-detector (1.2.2-1) ... 439s Setting up autopkgtest-satdep (0) ... 439s Processing triggers for man-db (2.12.1-1) ... 442s (Reading database ... 72793 files and directories currently installed.) 442s Removing autopkgtest-satdep (0) ... 443s autopkgtest [01:50:28]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import requirements_detector; print(requirements_detector)" ; done 443s autopkgtest [01:50:28]: test autodep8-python3: [----------------------- 444s Testing with python3.12: 444s 444s autopkgtest [01:50:29]: test autodep8-python3: -----------------------] 445s autopkgtest [01:50:30]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 445s autodep8-python3 PASS (superficial) 445s autopkgtest [01:50:30]: @@@@@@@@@@@@@@@@@@@@ summary 445s python3-requirements-detector PASS 445s autodep8-python3 PASS (superficial) 458s nova [W] Using flock in scalingstack-bos02-ppc64el 458s Creating nova instance adt-oracular-ppc64el-python-requirements-detector-20240608-014305-juju-7f2275-prod-proposed-migration-environment-3-bcdfb05f-91a3-406f-bc83-59b94474434f from image adt/ubuntu-oracular-ppc64el-server-20240607.img (UUID 2e7ff4dd-25ad-4882-8618-1243d2d4ac8e)... 458s nova [W] Using flock in scalingstack-bos02-ppc64el 458s Creating nova instance adt-oracular-ppc64el-python-requirements-detector-20240608-014305-juju-7f2275-prod-proposed-migration-environment-3-bcdfb05f-91a3-406f-bc83-59b94474434f from image adt/ubuntu-oracular-ppc64el-server-20240607.img (UUID 2e7ff4dd-25ad-4882-8618-1243d2d4ac8e)...