0s autopkgtest [02:39:34]: starting date and time: 2024-06-08 02:39:34+0000 0s autopkgtest [02:39:34]: git checkout: 433ed4cb Merge branch 'skia/nova_flock' into 'ubuntu/5.34+prod' 0s autopkgtest [02:39:34]: host juju-7f2275-prod-proposed-migration-environment-3; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work._wa4oiq2/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@bos01-s390x-21.secgroup --name adt-oracular-s390x-python-requirements-detector-20240608-023934-juju-7f2275-prod-proposed-migration-environment-3-d19a441b-a548-4eeb-8960-0385858b95b8 --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/ 150s autopkgtest [02:42:04]: testbed dpkg architecture: s390x 151s autopkgtest [02:42:05]: testbed apt version: 2.9.3 151s autopkgtest [02:42:05]: @@@@@@@@@@@@@@@@@@@@ test bed setup 152s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 152s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7972 B] 152s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [44.3 kB] 152s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2864 B] 152s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [333 kB] 152s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main s390x Packages [47.8 kB] 152s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted s390x Packages [1860 B] 152s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe s390x Packages [258 kB] 152s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse s390x Packages [1768 B] 153s Fetched 808 kB in 1s (779 kB/s) 153s Reading package lists... 155s Reading package lists... 155s Building dependency tree... 155s Reading state information... 156s Calculating upgrade... 156s The following packages will be upgraded: 156s debianutils libheif-plugin-aomdec libheif-plugin-aomenc 156s libheif-plugin-libde265 libheif1 libnetplan1 liburcu8t64 netplan-generator 156s netplan.io python3-netplan 156s 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 156s Need to get 758 kB of archives. 156s After this operation, 48.1 kB disk space will be freed. 156s Get:1 http://ftpmaster.internal/ubuntu oracular/main s390x debianutils s390x 5.18 [90.2 kB] 157s Get:2 http://ftpmaster.internal/ubuntu oracular/main s390x netplan-generator s390x 1.0-3ubuntu1 [59.2 kB] 157s Get:3 http://ftpmaster.internal/ubuntu oracular/main s390x python3-netplan s390x 1.0-3ubuntu1 [22.9 kB] 157s Get:4 http://ftpmaster.internal/ubuntu oracular/main s390x netplan.io s390x 1.0-3ubuntu1 [65.8 kB] 157s Get:5 http://ftpmaster.internal/ubuntu oracular/main s390x libnetplan1 s390x 1.0-3ubuntu1 [125 kB] 157s Get:6 http://ftpmaster.internal/ubuntu oracular/main s390x libheif-plugin-aomdec s390x 1.17.6-3 [10.1 kB] 157s Get:7 http://ftpmaster.internal/ubuntu oracular/main s390x libheif-plugin-aomenc s390x 1.17.6-3 [15.1 kB] 157s Get:8 http://ftpmaster.internal/ubuntu oracular/main s390x libheif1 s390x 1.17.6-3 [295 kB] 157s Get:9 http://ftpmaster.internal/ubuntu oracular/main s390x libheif-plugin-libde265 s390x 1.17.6-3 [8172 B] 157s Get:10 http://ftpmaster.internal/ubuntu oracular/main s390x liburcu8t64 s390x 0.14.0-4 [66.5 kB] 157s Fetched 758 kB in 1s (1341 kB/s) 157s (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.) 157s Preparing to unpack .../debianutils_5.18_s390x.deb ... 157s Unpacking debianutils (5.18) over (5.17build1) ... 157s Setting up debianutils (5.18) ... 157s (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.) 157s Preparing to unpack .../0-netplan-generator_1.0-3ubuntu1_s390x.deb ... 157s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 157s Unpacking netplan-generator (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 158s Preparing to unpack .../1-python3-netplan_1.0-3ubuntu1_s390x.deb ... 158s Unpacking python3-netplan (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 158s Preparing to unpack .../2-netplan.io_1.0-3ubuntu1_s390x.deb ... 158s Unpacking netplan.io (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 158s Preparing to unpack .../3-libnetplan1_1.0-3ubuntu1_s390x.deb ... 158s Unpacking libnetplan1:s390x (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 158s Preparing to unpack .../4-libheif-plugin-aomdec_1.17.6-3_s390x.deb ... 158s Unpacking libheif-plugin-aomdec:s390x (1.17.6-3) over (1.17.6-1ubuntu4) ... 158s Preparing to unpack .../5-libheif-plugin-aomenc_1.17.6-3_s390x.deb ... 158s Unpacking libheif-plugin-aomenc:s390x (1.17.6-3) over (1.17.6-1ubuntu4) ... 158s Preparing to unpack .../6-libheif1_1.17.6-3_s390x.deb ... 158s Unpacking libheif1:s390x (1.17.6-3) over (1.17.6-1ubuntu4) ... 158s Preparing to unpack .../7-libheif-plugin-libde265_1.17.6-3_s390x.deb ... 158s Unpacking libheif-plugin-libde265:s390x (1.17.6-3) over (1.17.6-1ubuntu4) ... 158s Preparing to unpack .../8-liburcu8t64_0.14.0-4_s390x.deb ... 158s Unpacking liburcu8t64:s390x (0.14.0-4) over (0.14.0-3.1build1) ... 158s Setting up liburcu8t64:s390x (0.14.0-4) ... 158s Setting up libnetplan1:s390x (1.0-3ubuntu1) ... 158s Setting up python3-netplan (1.0-3ubuntu1) ... 158s Setting up netplan-generator (1.0-3ubuntu1) ... 158s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 158s Setting up netplan.io (1.0-3ubuntu1) ... 158s Setting up libheif-plugin-aomdec:s390x (1.17.6-3) ... 158s Setting up libheif-plugin-libde265:s390x (1.17.6-3) ... 158s Setting up libheif1:s390x (1.17.6-3) ... 158s Setting up libheif-plugin-aomenc:s390x (1.17.6-3) ... 158s Processing triggers for libc-bin (2.39-0ubuntu8.1) ... 158s Processing triggers for man-db (2.12.1-1) ... 159s Processing triggers for dbus (1.14.10-4ubuntu4) ... 159s Reading package lists... 160s Building dependency tree... 160s Reading state information... 160s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 160s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 161s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 161s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 161s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 162s Reading package lists... 162s Reading package lists... 162s Building dependency tree... 162s Reading state information... 163s Calculating upgrade... 163s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 163s Reading package lists... 163s Building dependency tree... 163s Reading state information... 163s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 166s autopkgtest [02:42:20]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP Sat Apr 20 00:14:26 UTC 2024 166s autopkgtest [02:42:20]: @@@@@@@@@@@@@@@@@@@@ apt-source python-requirements-detector 168s Get:1 http://ftpmaster.internal/ubuntu oracular/universe python-requirements-detector 1.2.2-1 (dsc) [2449 B] 168s Get:2 http://ftpmaster.internal/ubuntu oracular/universe python-requirements-detector 1.2.2-1 (tar) [58.0 kB] 168s Get:3 http://ftpmaster.internal/ubuntu oracular/universe python-requirements-detector 1.2.2-1 (diff) [3996 B] 168s gpgv: Signature made Fri Apr 12 06:25:50 2024 UTC 168s gpgv: using RSA key 8F6DE104377F3B11E741748731F3144544A1741A 168s gpgv: issuer "tchet@debian.org" 168s gpgv: Can't check signature: No public key 168s dpkg-source: warning: cannot verify inline signature for ./python-requirements-detector_1.2.2-1.dsc: no acceptable signature found 168s autopkgtest [02:42:22]: testing package python-requirements-detector version 1.2.2-1 169s autopkgtest [02:42:23]: build not needed 169s autopkgtest [02:42:23]: test python3-requirements-detector: preparing testbed 171s Reading package lists... 171s Building dependency tree... 171s Reading state information... 171s Starting pkgProblemResolver with broken count: 0 171s Starting 2 pkgProblemResolver with broken count: 0 171s Done 171s The following additional packages will be installed: 171s python3-all python3-astroid python3-iniconfig python3-packaging 171s python3-pluggy python3-pytest python3-requirements-detector python3-semver 171s python3-toml 171s The following NEW packages will be installed: 171s autopkgtest-satdep python3-all python3-astroid python3-iniconfig 171s python3-packaging python3-pluggy python3-pytest 171s python3-requirements-detector python3-semver python3-toml 171s 0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded. 171s Need to get 541 kB/542 kB of archives. 171s After this operation, 2935 kB of additional disk space will be used. 171s Get:1 /tmp/autopkgtest.AxtZ7C/1-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [736 B] 172s Get:2 http://ftpmaster.internal/ubuntu oracular/main s390x python3-all s390x 3.12.3-0ubuntu1 [890 B] 172s Get:3 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-astroid all 3.2.2-1 [174 kB] 172s Get:4 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-iniconfig all 1.1.1-2 [6024 B] 172s Get:5 http://ftpmaster.internal/ubuntu oracular/main s390x python3-packaging all 24.0-1 [41.1 kB] 172s Get:6 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-pluggy all 1.5.0-1 [21.0 kB] 172s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/universe s390x python3-pytest all 8.2.2-1ubuntu1 [250 kB] 172s Get:8 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-semver all 2.10.2-3 [13.8 kB] 172s Get:9 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-toml all 0.10.2-1 [16.5 kB] 172s Get:10 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-requirements-detector all 1.2.2-1 [17.5 kB] 173s Fetched 541 kB in 1s (765 kB/s) 173s Selecting previously unselected package python3-all. 173s (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.) 173s Preparing to unpack .../0-python3-all_3.12.3-0ubuntu1_s390x.deb ... 173s Unpacking python3-all (3.12.3-0ubuntu1) ... 173s Selecting previously unselected package python3-astroid. 173s Preparing to unpack .../1-python3-astroid_3.2.2-1_all.deb ... 173s Unpacking python3-astroid (3.2.2-1) ... 173s Selecting previously unselected package python3-iniconfig. 173s Preparing to unpack .../2-python3-iniconfig_1.1.1-2_all.deb ... 173s Unpacking python3-iniconfig (1.1.1-2) ... 173s Selecting previously unselected package python3-packaging. 173s Preparing to unpack .../3-python3-packaging_24.0-1_all.deb ... 173s Unpacking python3-packaging (24.0-1) ... 173s Selecting previously unselected package python3-pluggy. 173s Preparing to unpack .../4-python3-pluggy_1.5.0-1_all.deb ... 173s Unpacking python3-pluggy (1.5.0-1) ... 173s Selecting previously unselected package python3-pytest. 173s Preparing to unpack .../5-python3-pytest_8.2.2-1ubuntu1_all.deb ... 173s Unpacking python3-pytest (8.2.2-1ubuntu1) ... 173s Selecting previously unselected package python3-semver. 173s Preparing to unpack .../6-python3-semver_2.10.2-3_all.deb ... 173s Unpacking python3-semver (2.10.2-3) ... 173s Selecting previously unselected package python3-toml. 173s Preparing to unpack .../7-python3-toml_0.10.2-1_all.deb ... 173s Unpacking python3-toml (0.10.2-1) ... 173s Selecting previously unselected package python3-requirements-detector. 173s Preparing to unpack .../8-python3-requirements-detector_1.2.2-1_all.deb ... 173s Unpacking python3-requirements-detector (1.2.2-1) ... 173s Selecting previously unselected package autopkgtest-satdep. 173s Preparing to unpack .../9-1-autopkgtest-satdep.deb ... 173s Unpacking autopkgtest-satdep (0) ... 173s Setting up python3-iniconfig (1.1.1-2) ... 173s Setting up python3-semver (2.10.2-3) ... 174s Setting up python3-all (3.12.3-0ubuntu1) ... 174s Setting up python3-packaging (24.0-1) ... 174s Setting up python3-toml (0.10.2-1) ... 174s Setting up python3-pluggy (1.5.0-1) ... 175s Setting up python3-astroid (3.2.2-1) ... 175s Setting up python3-pytest (8.2.2-1ubuntu1) ... 176s Setting up python3-requirements-detector (1.2.2-1) ... 176s Setting up autopkgtest-satdep (0) ... 176s Processing triggers for man-db (2.12.1-1) ... 180s (Reading database ... 54939 files and directories currently installed.) 180s Removing autopkgtest-satdep (0) ... 180s autopkgtest [02:42:34]: test python3-requirements-detector: [----------------------- 182s ============================= test session starts ============================== 182s platform linux -- Python 3.12.3, pytest-8.2.2, pluggy-1.5.0 182s rootdir: /tmp/autopkgtest.AxtZ7C/build.acM/src 182s configfile: pyproject.toml 182s collected 143 items 182s 182s tests/test_detection.py ............... [ 10%] 182s tests/test_failure_cases.py ... [ 12%] 182s tests/test_parsing.py .............. [ 22%] 182s tests/test_poetry_semver/test_main.py .................................. [ 46%] 182s ................................................. [ 80%] 182s tests/test_poetry_semver/test_version.py ........................ [ 97%] 182s tests/test_poetry_semver/test_version_range.py .... [100%] 182s 182s =============================== warnings summary =============================== 182s tests/test_detection.py::DependencyDetectionTest::test_callable_install_requires 182s /tmp/autopkgtest.AxtZ7C/build.acM/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.AxtZ7C/build.acM/src/tests/detection/test4/callable.py' mode='r' encoding='UTF-8'> 182s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 182s Enable tracemalloc to get traceback where the object was allocated. 182s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 182s 182s tests/test_detection.py::DependencyDetectionTest::test_requires_and_install_requires_setup_py 182s /tmp/autopkgtest.AxtZ7C/build.acM/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.AxtZ7C/build.acM/src/tests/detection/test4/uses_requires_and_install_requires.py' mode='r' encoding='UTF-8'> 182s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 182s Enable tracemalloc to get traceback where the object was allocated. 182s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 182s 182s tests/test_detection.py::DependencyDetectionTest::test_requires_setup_py 182s /tmp/autopkgtest.AxtZ7C/build.acM/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.AxtZ7C/build.acM/src/tests/detection/test4/uses_requires.py' mode='r' encoding='UTF-8'> 182s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 182s Enable tracemalloc to get traceback where the object was allocated. 182s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 182s 182s tests/test_detection.py::DependencyDetectionTest::test_setup_py_reqs_defined_in_file_parsing 182s /tmp/autopkgtest.AxtZ7C/build.acM/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.AxtZ7C/build.acM/src/tests/detection/test4/in_file.py' mode='r' encoding='UTF-8'> 182s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 182s Enable tracemalloc to get traceback where the object was allocated. 182s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 182s 182s tests/test_detection.py::DependencyDetectionTest::test_setup_py_tuple 182s /tmp/autopkgtest.AxtZ7C/build.acM/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.AxtZ7C/build.acM/src/tests/detection/test4/tuple.py' mode='r' encoding='UTF-8'> 182s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 182s Enable tracemalloc to get traceback where the object was allocated. 182s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 182s 182s tests/test_detection.py::DependencyDetectionTest::test_simple_setup_py_parsing 182s /tmp/autopkgtest.AxtZ7C/build.acM/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.AxtZ7C/build.acM/src/tests/detection/test4/simple.py' mode='r' encoding='UTF-8'> 182s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 182s Enable tracemalloc to get traceback where the object was allocated. 182s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 182s 182s tests/test_detection.py::DependencyDetectionTest::test_subscript_assign 182s /tmp/autopkgtest.AxtZ7C/build.acM/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.AxtZ7C/build.acM/src/tests/detection/test4/subscript_assign.py' mode='r' encoding='UTF-8'> 182s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 182s Enable tracemalloc to get traceback where the object was allocated. 182s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 182s 182s tests/test_detection.py::DependencyDetectionTest::test_utf8_setup_py 182s /tmp/autopkgtest.AxtZ7C/build.acM/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.AxtZ7C/build.acM/src/tests/detection/test4/utf8.py' mode='r' encoding='UTF-8'> 182s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 182s Enable tracemalloc to get traceback where the object was allocated. 182s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 182s 182s tests/test_failure_cases.py::test_setup_py_syntax_error 182s /tmp/autopkgtest.AxtZ7C/build.acM/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.AxtZ7C/build.acM/src/tests/detection/syntax_error/setup.py' mode='r' encoding='UTF-8'> 182s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 182s Enable tracemalloc to get traceback where the object was allocated. 182s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 182s 182s tests/test_failure_cases.py::test_setup_py_multiline_string 182s /tmp/autopkgtest.AxtZ7C/build.acM/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.AxtZ7C/build.acM/src/tests/detection/syntax_error/setup_multiline_string.py' mode='r' encoding='UTF-8'> 182s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 182s Enable tracemalloc to get traceback where the object was allocated. 182s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 182s 182s tests/test_failure_cases.py::test_regular_indentation 182s /tmp/autopkgtest.AxtZ7C/build.acM/src/requirements_detector/handle_setup.py:95: ResourceWarning: unclosed file <_io.TextIOWrapper name='/tmp/autopkgtest.AxtZ7C/build.acM/src/tests/detection/syntax_error/regular_indentation.py' mode='r' encoding='UTF-8'> 182s ast = AstroidBuilder(MANAGER).string_build(setup_file.open().read()) 182s Enable tracemalloc to get traceback where the object was allocated. 182s See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. 182s 182s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 182s ======================= 143 passed, 11 warnings in 1.08s ======================= 183s autopkgtest [02:42:37]: test python3-requirements-detector: -----------------------] 183s python3-requirements-detector PASS 183s autopkgtest [02:42:37]: test python3-requirements-detector: - - - - - - - - - - results - - - - - - - - - - 184s autopkgtest [02:42:38]: test autodep8-python3: preparing testbed 328s autopkgtest [02:45:02]: testbed dpkg architecture: s390x 328s autopkgtest [02:45:02]: testbed apt version: 2.9.3 328s autopkgtest [02:45:02]: @@@@@@@@@@@@@@@@@@@@ test bed setup 329s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [110 kB] 329s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [333 kB] 330s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [7972 B] 330s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [44.3 kB] 330s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [2864 B] 330s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main s390x Packages [47.8 kB] 330s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/restricted s390x Packages [1860 B] 330s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/universe s390x Packages [258 kB] 330s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse s390x Packages [1768 B] 330s Fetched 808 kB in 1s (1048 kB/s) 330s Reading package lists... 333s Reading package lists... 333s Building dependency tree... 333s Reading state information... 333s Calculating upgrade... 333s The following packages will be upgraded: 333s debianutils libheif-plugin-aomdec libheif-plugin-aomenc 333s libheif-plugin-libde265 libheif1 libnetplan1 liburcu8t64 netplan-generator 333s netplan.io python3-netplan 334s 10 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 334s Need to get 758 kB of archives. 334s After this operation, 48.1 kB disk space will be freed. 334s Get:1 http://ftpmaster.internal/ubuntu oracular/main s390x debianutils s390x 5.18 [90.2 kB] 334s Get:2 http://ftpmaster.internal/ubuntu oracular/main s390x netplan-generator s390x 1.0-3ubuntu1 [59.2 kB] 334s Get:3 http://ftpmaster.internal/ubuntu oracular/main s390x python3-netplan s390x 1.0-3ubuntu1 [22.9 kB] 334s Get:4 http://ftpmaster.internal/ubuntu oracular/main s390x netplan.io s390x 1.0-3ubuntu1 [65.8 kB] 334s Get:5 http://ftpmaster.internal/ubuntu oracular/main s390x libnetplan1 s390x 1.0-3ubuntu1 [125 kB] 334s Get:6 http://ftpmaster.internal/ubuntu oracular/main s390x libheif-plugin-aomdec s390x 1.17.6-3 [10.1 kB] 334s Get:7 http://ftpmaster.internal/ubuntu oracular/main s390x libheif-plugin-aomenc s390x 1.17.6-3 [15.1 kB] 334s Get:8 http://ftpmaster.internal/ubuntu oracular/main s390x libheif1 s390x 1.17.6-3 [295 kB] 334s Get:9 http://ftpmaster.internal/ubuntu oracular/main s390x libheif-plugin-libde265 s390x 1.17.6-3 [8172 B] 334s Get:10 http://ftpmaster.internal/ubuntu oracular/main s390x liburcu8t64 s390x 0.14.0-4 [66.5 kB] 335s Fetched 758 kB in 1s (977 kB/s) 335s (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.) 335s Preparing to unpack .../debianutils_5.18_s390x.deb ... 335s Unpacking debianutils (5.18) over (5.17build1) ... 335s Setting up debianutils (5.18) ... 335s (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.) 335s Preparing to unpack .../0-netplan-generator_1.0-3ubuntu1_s390x.deb ... 335s Adding 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 335s Unpacking netplan-generator (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 335s Preparing to unpack .../1-python3-netplan_1.0-3ubuntu1_s390x.deb ... 335s Unpacking python3-netplan (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 335s Preparing to unpack .../2-netplan.io_1.0-3ubuntu1_s390x.deb ... 335s Unpacking netplan.io (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 335s Preparing to unpack .../3-libnetplan1_1.0-3ubuntu1_s390x.deb ... 335s Unpacking libnetplan1:s390x (1.0-3ubuntu1) over (1.0-2ubuntu1) ... 335s Preparing to unpack .../4-libheif-plugin-aomdec_1.17.6-3_s390x.deb ... 335s Unpacking libheif-plugin-aomdec:s390x (1.17.6-3) over (1.17.6-1ubuntu4) ... 335s Preparing to unpack .../5-libheif-plugin-aomenc_1.17.6-3_s390x.deb ... 335s Unpacking libheif-plugin-aomenc:s390x (1.17.6-3) over (1.17.6-1ubuntu4) ... 335s Preparing to unpack .../6-libheif1_1.17.6-3_s390x.deb ... 335s Unpacking libheif1:s390x (1.17.6-3) over (1.17.6-1ubuntu4) ... 335s Preparing to unpack .../7-libheif-plugin-libde265_1.17.6-3_s390x.deb ... 335s Unpacking libheif-plugin-libde265:s390x (1.17.6-3) over (1.17.6-1ubuntu4) ... 335s Preparing to unpack .../8-liburcu8t64_0.14.0-4_s390x.deb ... 335s Unpacking liburcu8t64:s390x (0.14.0-4) over (0.14.0-3.1build1) ... 335s Setting up liburcu8t64:s390x (0.14.0-4) ... 335s Setting up libnetplan1:s390x (1.0-3ubuntu1) ... 335s Setting up python3-netplan (1.0-3ubuntu1) ... 335s Setting up netplan-generator (1.0-3ubuntu1) ... 335s Removing 'diversion of /lib/systemd/system-generators/netplan to /lib/systemd/system-generators/netplan.usr-is-merged by netplan-generator' 335s Setting up netplan.io (1.0-3ubuntu1) ... 335s Setting up libheif-plugin-aomdec:s390x (1.17.6-3) ... 335s Setting up libheif-plugin-libde265:s390x (1.17.6-3) ... 335s Setting up libheif1:s390x (1.17.6-3) ... 335s Setting up libheif-plugin-aomenc:s390x (1.17.6-3) ... 335s Processing triggers for libc-bin (2.39-0ubuntu8.1) ... 335s Processing triggers for man-db (2.12.1-1) ... 337s Processing triggers for dbus (1.14.10-4ubuntu4) ... 337s Reading package lists... 337s Building dependency tree... 337s Reading state information... 338s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 338s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 338s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 338s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 339s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 340s Reading package lists... 340s Reading package lists... 340s Building dependency tree... 340s Reading state information... 341s Calculating upgrade... 341s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 341s Reading package lists... 341s Building dependency tree... 341s Reading state information... 342s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 346s Reading package lists... 346s Building dependency tree... 346s Reading state information... 346s Starting pkgProblemResolver with broken count: 0 346s Starting 2 pkgProblemResolver with broken count: 0 346s Done 346s The following additional packages will be installed: 346s python3-all python3-astroid python3-packaging python3-requirements-detector 346s python3-semver python3-toml 346s The following NEW packages will be installed: 346s autopkgtest-satdep python3-all python3-astroid python3-packaging 346s python3-requirements-detector python3-semver python3-toml 346s 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. 346s Need to get 264 kB/265 kB of archives. 346s After this operation, 1539 kB of additional disk space will be used. 346s Get:1 /tmp/autopkgtest.AxtZ7C/2-autopkgtest-satdep.deb autopkgtest-satdep s390x 0 [728 B] 346s Get:2 http://ftpmaster.internal/ubuntu oracular/main s390x python3-all s390x 3.12.3-0ubuntu1 [890 B] 347s Get:3 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-astroid all 3.2.2-1 [174 kB] 347s Get:4 http://ftpmaster.internal/ubuntu oracular/main s390x python3-packaging all 24.0-1 [41.1 kB] 347s Get:5 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-semver all 2.10.2-3 [13.8 kB] 347s Get:6 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-toml all 0.10.2-1 [16.5 kB] 347s Get:7 http://ftpmaster.internal/ubuntu oracular/universe s390x python3-requirements-detector all 1.2.2-1 [17.5 kB] 347s Fetched 264 kB in 0s (531 kB/s) 347s Selecting previously unselected package python3-all. 347s (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.) 347s Preparing to unpack .../0-python3-all_3.12.3-0ubuntu1_s390x.deb ... 347s Unpacking python3-all (3.12.3-0ubuntu1) ... 347s Selecting previously unselected package python3-astroid. 347s Preparing to unpack .../1-python3-astroid_3.2.2-1_all.deb ... 347s Unpacking python3-astroid (3.2.2-1) ... 347s Selecting previously unselected package python3-packaging. 347s Preparing to unpack .../2-python3-packaging_24.0-1_all.deb ... 347s Unpacking python3-packaging (24.0-1) ... 347s Selecting previously unselected package python3-semver. 347s Preparing to unpack .../3-python3-semver_2.10.2-3_all.deb ... 347s Unpacking python3-semver (2.10.2-3) ... 347s Selecting previously unselected package python3-toml. 347s Preparing to unpack .../4-python3-toml_0.10.2-1_all.deb ... 347s Unpacking python3-toml (0.10.2-1) ... 347s Selecting previously unselected package python3-requirements-detector. 347s Preparing to unpack .../5-python3-requirements-detector_1.2.2-1_all.deb ... 347s Unpacking python3-requirements-detector (1.2.2-1) ... 347s Selecting previously unselected package autopkgtest-satdep. 347s Preparing to unpack .../6-2-autopkgtest-satdep.deb ... 347s Unpacking autopkgtest-satdep (0) ... 347s Setting up python3-semver (2.10.2-3) ... 348s Setting up python3-all (3.12.3-0ubuntu1) ... 348s Setting up python3-packaging (24.0-1) ... 348s Setting up python3-toml (0.10.2-1) ... 348s Setting up python3-astroid (3.2.2-1) ... 348s Setting up python3-requirements-detector (1.2.2-1) ... 349s Setting up autopkgtest-satdep (0) ... 349s Processing triggers for man-db (2.12.1-1) ... 351s (Reading database ... 54798 files and directories currently installed.) 351s Removing autopkgtest-satdep (0) ... 354s autopkgtest [02:45: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 354s autopkgtest [02:45:28]: test autodep8-python3: [----------------------- 354s Testing with python3.12: 354s 354s autopkgtest [02:45:28]: test autodep8-python3: -----------------------] 355s autodep8-python3 PASS (superficial) 355s autopkgtest [02:45:29]: test autodep8-python3: - - - - - - - - - - results - - - - - - - - - - 355s autopkgtest [02:45:29]: @@@@@@@@@@@@@@@@@@@@ summary 355s python3-requirements-detector PASS 355s autodep8-python3 PASS (superficial) 372s nova [W] Using flock in scalingstack-bos01-s390x 372s Creating nova instance adt-oracular-s390x-python-requirements-detector-20240608-023934-juju-7f2275-prod-proposed-migration-environment-3-d19a441b-a548-4eeb-8960-0385858b95b8 from image adt/ubuntu-oracular-s390x-server-20240607.img (UUID 7eeb2415-a1eb-49f2-b205-8690074843ed)... 372s nova [W] Using flock in scalingstack-bos01-s390x 372s Creating nova instance adt-oracular-s390x-python-requirements-detector-20240608-023934-juju-7f2275-prod-proposed-migration-environment-3-d19a441b-a548-4eeb-8960-0385858b95b8 from image adt/ubuntu-oracular-s390x-server-20240607.img (UUID 7eeb2415-a1eb-49f2-b205-8690074843ed)...