0s autopkgtest [09:10:51]: starting date and time: 2024-05-19 09:10:51+0000 0s autopkgtest [09:10:51]: git checkout: 699e7f9f ssh-setup/nova: explicitely set 'fqdn' in cloud-init 0s autopkgtest [09:10:51]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.c9ptgrgo/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:ruamel.yaml --apt-upgrade ionit --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=ruamel.yaml/0.18.6+ds-3 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-2@lcy02-10.secgroup --name adt-oracular-amd64-ionit-20240519-091050-juju-7f2275-prod-proposed-migration-environment-2-8dc926b2-e1dc-467b-8d91-e828d7359a2f --image adt/ubuntu-oracular-amd64-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/ 136s autopkgtest [09:13:07]: testbed dpkg architecture: amd64 136s autopkgtest [09:13:07]: testbed apt version: 2.7.14build2 136s autopkgtest [09:13:07]: @@@@@@@@@@@@@@@@@@@@ test bed setup 136s Get:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease [73.9 kB] 137s Get:2 http://ftpmaster.internal/ubuntu oracular-proposed/restricted Sources [1964 B] 137s Get:3 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse Sources [8668 B] 137s Get:4 http://ftpmaster.internal/ubuntu oracular-proposed/main Sources [124 kB] 137s Get:5 http://ftpmaster.internal/ubuntu oracular-proposed/universe Sources [1575 kB] 137s Get:6 http://ftpmaster.internal/ubuntu oracular-proposed/main i386 Packages [173 kB] 137s Get:7 http://ftpmaster.internal/ubuntu oracular-proposed/main amd64 Packages [219 kB] 137s Get:8 http://ftpmaster.internal/ubuntu oracular-proposed/restricted amd64 Packages [7700 B] 137s Get:9 http://ftpmaster.internal/ubuntu oracular-proposed/universe amd64 Packages [1862 kB] 137s Get:10 http://ftpmaster.internal/ubuntu oracular-proposed/universe i386 Packages [821 kB] 137s Get:11 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse i386 Packages [6036 B] 137s Get:12 http://ftpmaster.internal/ubuntu oracular-proposed/multiverse amd64 Packages [18.5 kB] 137s Fetched 4891 kB in 1s (6770 kB/s) 137s Reading package lists... 139s Reading package lists... 139s Building dependency tree... 139s Reading state information... 140s Calculating upgrade... 140s The following packages will be upgraded: 140s dhcpcd-base eatmydata intel-microcode libbpf1 libeatmydata1 libslang2 140s libxcb1 python-babel-localedata python3-babel ubuntu-pro-client 140s ubuntu-pro-client-l10n 140s 11 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 140s Need to get 14.5 MB of archives. 140s After this operation, 658 kB disk space will be freed. 140s Get:1 http://ftpmaster.internal/ubuntu oracular/main amd64 dhcpcd-base amd64 1:10.0.6-4 [215 kB] 140s Get:2 http://ftpmaster.internal/ubuntu oracular/main amd64 libbpf1 amd64 1:1.4.1-1 [172 kB] 140s Get:3 http://ftpmaster.internal/ubuntu oracular/main amd64 libslang2 amd64 2.3.3-5 [506 kB] 140s Get:4 http://ftpmaster.internal/ubuntu oracular/main amd64 ubuntu-pro-client-l10n amd64 32.1 [19.4 kB] 140s Get:5 http://ftpmaster.internal/ubuntu oracular/main amd64 ubuntu-pro-client amd64 32.1 [229 kB] 140s Get:6 http://ftpmaster.internal/ubuntu oracular/main amd64 libxcb1 amd64 1.17.0-1 [48.8 kB] 140s Get:7 http://ftpmaster.internal/ubuntu oracular/main amd64 libeatmydata1 amd64 131-2 [7376 B] 140s Get:8 http://ftpmaster.internal/ubuntu oracular/main amd64 eatmydata all 131-2 [5576 B] 140s Get:9 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-babel all 2.14.0-1 [96.4 kB] 140s Get:10 http://ftpmaster.internal/ubuntu oracular/main amd64 python-babel-localedata all 2.14.0-1 [6385 kB] 140s Get:11 http://ftpmaster.internal/ubuntu oracular/main amd64 intel-microcode amd64 3.20240514.1 [6861 kB] 140s Fetched 14.5 MB in 0s (50.0 MB/s) 141s (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 ... 73899 files and directories currently installed.) 141s Preparing to unpack .../00-dhcpcd-base_1%3a10.0.6-4_amd64.deb ... 141s Unpacking dhcpcd-base (1:10.0.6-4) over (1:10.0.6-1ubuntu3) ... 141s Preparing to unpack .../01-libbpf1_1%3a1.4.1-1_amd64.deb ... 141s Unpacking libbpf1:amd64 (1:1.4.1-1) over (1:1.3.0-2build2) ... 141s Preparing to unpack .../02-libslang2_2.3.3-5_amd64.deb ... 141s Unpacking libslang2:amd64 (2.3.3-5) over (2.3.3-3build2) ... 141s Preparing to unpack .../03-ubuntu-pro-client-l10n_32.1_amd64.deb ... 141s Unpacking ubuntu-pro-client-l10n (32.1) over (31.2.3) ... 141s Preparing to unpack .../04-ubuntu-pro-client_32.1_amd64.deb ... 141s Unpacking ubuntu-pro-client (32.1) over (31.2.3) ... 141s Preparing to unpack .../05-libxcb1_1.17.0-1_amd64.deb ... 141s Unpacking libxcb1:amd64 (1.17.0-1) over (1.15-1ubuntu2) ... 141s Preparing to unpack .../06-libeatmydata1_131-2_amd64.deb ... 141s Unpacking libeatmydata1:amd64 (131-2) over (131-1ubuntu1) ... 141s Preparing to unpack .../07-eatmydata_131-2_all.deb ... 141s Unpacking eatmydata (131-2) over (131-1ubuntu1) ... 141s Preparing to unpack .../08-python3-babel_2.14.0-1_all.deb ... 141s Unpacking python3-babel (2.14.0-1) over (2.10.3-3build1) ... 141s Preparing to unpack .../09-python-babel-localedata_2.14.0-1_all.deb ... 141s Unpacking python-babel-localedata (2.14.0-1) over (2.10.3-3build1) ... 142s Preparing to unpack .../10-intel-microcode_3.20240514.1_amd64.deb ... 142s Unpacking intel-microcode (3.20240514.1) over (3.20240312.1build1) ... 142s Setting up libxcb1:amd64 (1.17.0-1) ... 142s Setting up intel-microcode (3.20240514.1) ... 142s update-initramfs: deferring update (trigger activated) 142s intel-microcode: microcode will be updated at next boot 142s Setting up python-babel-localedata (2.14.0-1) ... 142s Setting up libslang2:amd64 (2.3.3-5) ... 142s Setting up dhcpcd-base (1:10.0.6-4) ... 142s Setting up libeatmydata1:amd64 (131-2) ... 142s Setting up ubuntu-pro-client (32.1) ... 142s Installing new version of config file /etc/apparmor.d/ubuntu_pro_apt_news ... 144s Setting up libbpf1:amd64 (1:1.4.1-1) ... 144s Setting up ubuntu-pro-client-l10n (32.1) ... 144s Setting up eatmydata (131-2) ... 144s Setting up python3-babel (2.14.0-1) ... 144s Processing triggers for man-db (2.12.0-4build2) ... 145s Processing triggers for libc-bin (2.39-0ubuntu8) ... 145s Processing triggers for initramfs-tools (0.142ubuntu25) ... 145s update-initramfs: Generating /boot/initrd.img-6.8.0-31-generic 145s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 154s Reading package lists... 154s Building dependency tree... 154s Reading state information... 155s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 155s Hit:1 http://ftpmaster.internal/ubuntu oracular-proposed InRelease 155s Hit:2 http://ftpmaster.internal/ubuntu oracular InRelease 155s Hit:3 http://ftpmaster.internal/ubuntu oracular-updates InRelease 155s Hit:4 http://ftpmaster.internal/ubuntu oracular-security InRelease 156s Reading package lists... 156s Reading package lists... 156s Building dependency tree... 156s Reading state information... 157s Calculating upgrade... 157s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 157s Reading package lists... 157s Building dependency tree... 157s Reading state information... 158s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 158s autopkgtest [09:13:29]: rebooting testbed after setup commands that affected boot 161s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 172s autopkgtest [09:13:43]: testbed running kernel: Linux 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 173s autopkgtest [09:13:44]: @@@@@@@@@@@@@@@@@@@@ apt-source ionit 174s Get:1 http://ftpmaster.internal/ubuntu oracular/universe ionit 0.5.0-1.1 (dsc) [2337 B] 174s Get:2 http://ftpmaster.internal/ubuntu oracular/universe ionit 0.5.0-1.1 (tar) [14.8 kB] 174s Get:3 http://ftpmaster.internal/ubuntu oracular/universe ionit 0.5.0-1.1 (asc) [833 B] 174s Get:4 http://ftpmaster.internal/ubuntu oracular/universe ionit 0.5.0-1.1 (diff) [10.4 kB] 174s gpgv: Signature made Sat Oct 15 10:10:28 2022 UTC 174s gpgv: using RSA key 09B3AC2ECB169C904345CC546AE1DF0D608F22DC 174s gpgv: issuer "biebl@debian.org" 174s gpgv: Can't check signature: No public key 174s dpkg-source: warning: cannot verify inline signature for ./ionit_0.5.0-1.1.dsc: no acceptable signature found 174s autopkgtest [09:13:45]: testing package ionit version 0.5.0-1.1 174s autopkgtest [09:13:45]: build not needed 174s autopkgtest [09:13:45]: test unittest: preparing testbed 175s Reading package lists... 175s Building dependency tree... 175s Reading state information... 175s Starting pkgProblemResolver with broken count: 0 175s Starting 2 pkgProblemResolver with broken count: 0 175s Done 176s The following additional packages will be installed: 176s black ionit isort libjs-jquery libjs-sphinxdoc libjs-underscore pylint 176s python3-astroid python3-click python3-colorama python3-dill python3-flake8 176s python3-isort python3-logilab-common python3-mccabe python3-mypy-extensions 176s python3-packaging python3-pathspec python3-platformdirs python3-pycodestyle 176s python3-pyflakes python3-toml python3-tomlkit 176s Suggested packages: 176s python-black-doc python3-objgraph 176s Recommended packages: 176s javascript-common python3-tk pyflakes3 176s The following NEW packages will be installed: 176s autopkgtest-satdep black ionit isort libjs-jquery libjs-sphinxdoc 176s libjs-underscore pylint python3-astroid python3-click python3-colorama 176s python3-dill python3-flake8 python3-isort python3-logilab-common 176s python3-mccabe python3-mypy-extensions python3-packaging python3-pathspec 176s python3-platformdirs python3-pycodestyle python3-pyflakes python3-toml 176s python3-tomlkit 176s 0 upgraded, 24 newly installed, 0 to remove and 0 not upgraded. 176s Need to get 2080 kB/2081 kB of archives. 176s After this operation, 11.7 MB of additional disk space will be used. 176s Get:1 /tmp/autopkgtest.30ZOlL/1-autopkgtest-satdep.deb autopkgtest-satdep amd64 0 [744 B] 176s Get:2 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-colorama all 0.4.6-4 [32.1 kB] 176s Get:3 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-click all 8.1.6-2 [79.0 kB] 176s Get:4 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-mypy-extensions all 1.0.0-1 [6148 B] 176s Get:5 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-packaging all 24.0-1 [41.1 kB] 176s Get:6 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pathspec all 0.12.1-1 [24.5 kB] 176s Get:7 http://ftpmaster.internal/ubuntu oracular/main amd64 python3-platformdirs all 4.2.0-1 [16.1 kB] 176s Get:8 http://ftpmaster.internal/ubuntu oracular/universe amd64 black all 24.4.2-1 [143 kB] 176s Get:9 http://ftpmaster.internal/ubuntu oracular/universe amd64 ionit all 0.5.0-1.1 [11.7 kB] 176s Get:10 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-toml all 0.10.2-1 [16.5 kB] 176s Get:11 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-isort all 5.6.4-1 [63.1 kB] 176s Get:12 http://ftpmaster.internal/ubuntu oracular/universe amd64 isort all 5.6.4-1 [4240 B] 176s Get:13 http://ftpmaster.internal/ubuntu oracular/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 176s Get:14 http://ftpmaster.internal/ubuntu oracular/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 176s Get:15 http://ftpmaster.internal/ubuntu oracular/main amd64 libjs-sphinxdoc all 7.2.6-6 [149 kB] 176s Get:16 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-astroid all 3.0.2-2 [174 kB] 176s Get:17 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-logilab-common all 2.0.0-1 [281 kB] 176s Get:18 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-dill all 0.3.8-1 [83.0 kB] 176s Get:19 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-mccabe all 0.7.0-1 [8678 B] 176s Get:20 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-tomlkit all 0.12.4-1 [37.5 kB] 176s Get:21 http://ftpmaster.internal/ubuntu oracular/universe amd64 pylint all 3.0.3-2 [337 kB] 176s Get:22 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pycodestyle all 2.11.1-1 [29.9 kB] 176s Get:23 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-pyflakes all 3.2.0-1 [52.8 kB] 176s Get:24 http://ftpmaster.internal/ubuntu oracular/universe amd64 python3-flake8 all 7.0.0-1 [43.7 kB] 176s Fetched 2080 kB in 0s (24.2 MB/s) 176s Selecting previously unselected package python3-colorama. 176s (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 ... 74171 files and directories currently installed.) 176s Preparing to unpack .../00-python3-colorama_0.4.6-4_all.deb ... 176s Unpacking python3-colorama (0.4.6-4) ... 176s Selecting previously unselected package python3-click. 176s Preparing to unpack .../01-python3-click_8.1.6-2_all.deb ... 176s Unpacking python3-click (8.1.6-2) ... 177s Selecting previously unselected package python3-mypy-extensions. 177s Preparing to unpack .../02-python3-mypy-extensions_1.0.0-1_all.deb ... 177s Unpacking python3-mypy-extensions (1.0.0-1) ... 177s Selecting previously unselected package python3-packaging. 177s Preparing to unpack .../03-python3-packaging_24.0-1_all.deb ... 177s Unpacking python3-packaging (24.0-1) ... 177s Selecting previously unselected package python3-pathspec. 177s Preparing to unpack .../04-python3-pathspec_0.12.1-1_all.deb ... 177s Unpacking python3-pathspec (0.12.1-1) ... 177s Selecting previously unselected package python3-platformdirs. 177s Preparing to unpack .../05-python3-platformdirs_4.2.0-1_all.deb ... 177s Unpacking python3-platformdirs (4.2.0-1) ... 177s Selecting previously unselected package black. 177s Preparing to unpack .../06-black_24.4.2-1_all.deb ... 177s Unpacking black (24.4.2-1) ... 177s Selecting previously unselected package ionit. 177s Preparing to unpack .../07-ionit_0.5.0-1.1_all.deb ... 177s Unpacking ionit (0.5.0-1.1) ... 177s Selecting previously unselected package python3-toml. 177s Preparing to unpack .../08-python3-toml_0.10.2-1_all.deb ... 177s Unpacking python3-toml (0.10.2-1) ... 177s Selecting previously unselected package python3-isort. 177s Preparing to unpack .../09-python3-isort_5.6.4-1_all.deb ... 177s Unpacking python3-isort (5.6.4-1) ... 177s Selecting previously unselected package isort. 177s Preparing to unpack .../10-isort_5.6.4-1_all.deb ... 177s Unpacking isort (5.6.4-1) ... 177s Selecting previously unselected package libjs-jquery. 177s Preparing to unpack .../11-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 177s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 177s Selecting previously unselected package libjs-underscore. 177s Preparing to unpack .../12-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 177s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 177s Selecting previously unselected package libjs-sphinxdoc. 177s Preparing to unpack .../13-libjs-sphinxdoc_7.2.6-6_all.deb ... 177s Unpacking libjs-sphinxdoc (7.2.6-6) ... 177s Selecting previously unselected package python3-astroid. 177s Preparing to unpack .../14-python3-astroid_3.0.2-2_all.deb ... 177s Unpacking python3-astroid (3.0.2-2) ... 177s Selecting previously unselected package python3-logilab-common. 177s Preparing to unpack .../15-python3-logilab-common_2.0.0-1_all.deb ... 177s Unpacking python3-logilab-common (2.0.0-1) ... 177s Selecting previously unselected package python3-dill. 177s Preparing to unpack .../16-python3-dill_0.3.8-1_all.deb ... 177s Unpacking python3-dill (0.3.8-1) ... 177s Selecting previously unselected package python3-mccabe. 177s Preparing to unpack .../17-python3-mccabe_0.7.0-1_all.deb ... 177s Unpacking python3-mccabe (0.7.0-1) ... 177s Selecting previously unselected package python3-tomlkit. 177s Preparing to unpack .../18-python3-tomlkit_0.12.4-1_all.deb ... 177s Unpacking python3-tomlkit (0.12.4-1) ... 177s Selecting previously unselected package pylint. 177s Preparing to unpack .../19-pylint_3.0.3-2_all.deb ... 177s Unpacking pylint (3.0.3-2) ... 177s Selecting previously unselected package python3-pycodestyle. 177s Preparing to unpack .../20-python3-pycodestyle_2.11.1-1_all.deb ... 177s Unpacking python3-pycodestyle (2.11.1-1) ... 177s Selecting previously unselected package python3-pyflakes. 177s Preparing to unpack .../21-python3-pyflakes_3.2.0-1_all.deb ... 177s Unpacking python3-pyflakes (3.2.0-1) ... 177s Selecting previously unselected package python3-flake8. 177s Preparing to unpack .../22-python3-flake8_7.0.0-1_all.deb ... 177s Unpacking python3-flake8 (7.0.0-1) ... 177s Selecting previously unselected package autopkgtest-satdep. 177s Preparing to unpack .../23-1-autopkgtest-satdep.deb ... 177s Unpacking autopkgtest-satdep (0) ... 177s Setting up python3-colorama (0.4.6-4) ... 177s Setting up python3-mypy-extensions (1.0.0-1) ... 177s Setting up python3-pyflakes (3.2.0-1) ... 178s Setting up python3-click (8.1.6-2) ... 178s Setting up python3-platformdirs (4.2.0-1) ... 178s Setting up ionit (0.5.0-1.1) ... 178s Created symlink /etc/systemd/system/multi-user.target.wants/ionit.service → /usr/lib/systemd/system/ionit.service. 179s Setting up python3-pycodestyle (2.11.1-1) ... 179s Setting up python3-packaging (24.0-1) ... 179s Setting up python3-dill (0.3.8-1) ... 179s Setting up python3-toml (0.10.2-1) ... 179s Setting up python3-isort (5.6.4-1) ... 179s Setting up python3-astroid (3.0.2-2) ... 180s Setting up python3-mccabe (0.7.0-1) ... 180s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 180s Setting up python3-tomlkit (0.12.4-1) ... 180s Setting up python3-pathspec (0.12.1-1) ... 180s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 180s Setting up black (24.4.2-1) ... 180s Setting up isort (5.6.4-1) ... 180s Setting up python3-flake8 (7.0.0-1) ... 181s Setting up libjs-sphinxdoc (7.2.6-6) ... 181s Setting up python3-logilab-common (2.0.0-1) ... 181s Setting up pylint (3.0.3-2) ... 181s Setting up autopkgtest-satdep (0) ... 181s Processing triggers for man-db (2.12.0-4build2) ... 184s (Reading database ... 75131 files and directories currently installed.) 184s Removing autopkgtest-satdep (0) ... 185s autopkgtest [09:13:56]: test unittest: [----------------------- 185s test_black (tests.test_black.BlackTestCase.test_black) 185s Test: Run black code formatter on Python source code. ... Running following command: 185s black --check --diff -l 99 /usr/bin/ionit tests /usr/lib/python3/dist-packages/ionit_plugin.py setup.py 185s ok 185s test_flake8 (tests.test_flake8.Flake8TestCase.test_flake8) 185s Test: Run flake8 on Python source code. ... Running following command: 185s /usr/bin/python3 -m flake8 --max-line-length=99 /usr/bin/ionit tests /usr/lib/python3/dist-packages/ionit_plugin.py setup.py 186s ok 186s test_collect_function (tests.test_ionit.TestCollectContext.test_collect_function) 186s Test: Run collect_context(["tests/config/function"]) ... ok 186s test_collect_static_context (tests.test_ionit.TestCollectContext.test_collect_static_context) 186s Test: Run collect_context(["tests/config/static"]) ... ok 186s test_configuration_file (tests.test_ionit.TestCollectContext.test_configuration_file) 186s Test: Run collect_context(["tests/config/static/second.yaml"]) ... ok 186s test_context_stacking (tests.test_ionit.TestCollectContext.test_context_stacking) 186s Test: Run collect_context(["tests/config/stacking"]) ... ok 186s test_empty_context (tests.test_ionit.TestCollectContext.test_empty_context) 186s Test: Run collect_context(["tests/config/empty-context"]) ... ok 186s test_empty_python_file (tests.test_ionit.TestCollectContext.test_empty_python_file) 186s Test: Run collect_context(["tests/config/empty"]) ... ok 186s test_ignoring_additional_files (tests.test_ionit.TestCollectContext.test_ignoring_additional_files) 186s Test: Run collect_context(["tests/config/additional-file"]) ... ok 186s test_invalid_json (tests.test_ionit.TestCollectContext.test_invalid_json) 186s Test: Run collect_context(["tests/config/invalid-json"]) ... ok 186s test_invalid_python (tests.test_ionit.TestCollectContext.test_invalid_python) 186s Test: Run collect_context(["tests/config/invalid-python"]) ... ok 186s test_invalid_yaml (tests.test_ionit.TestCollectContext.test_invalid_yaml) 186s Test: Run collect_context(["tests/config/invalid-yaml"]) ... ok 186s test_missing_directory (tests.test_ionit.TestCollectContext.test_missing_directory) 186s Test: Non-existing context directory ... ok 186s test_non_dict_context (tests.test_ionit.TestCollectContext.test_non_dict_context) 186s Test failure for collect_context(["tests/config/non-dict"]) ... ok 186s test_python_module (tests.test_ionit.TestCollectContext.test_python_module) 186s Test: Run collect_context(["tests/config/python"]) ... ok 186s test_raise_exception (tests.test_ionit.TestCollectContext.test_raise_exception) 186s Test failure for collect_context(["tests/config/exception"]) ... ok 186s test_main_append_templates (tests.test_ionit.TestMain.test_main_append_templates) 186s Test main() with static context and multiple template directories ... 2024-05-19 09:13:57,308 ionit INFO: Reading configuration file '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/config/static/first.json'... 186s 2024-05-19 09:13:57,308 ionit INFO: Reading configuration file '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/config/static/second.yaml'... 186s 2024-05-19 09:13:57,310 ionit INFO: Rendered '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/template/static/counting.jinja' to '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/template/static/counting'. 186s 2024-05-19 09:13:57,311 ionit INFO: Rendered '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/template/static2/counting.jinja' to '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/template/static2/counting'. 186s ok 186s test_main_default_config (tests.test_ionit.TestMain.test_main_default_config) 186s Test main() with default config ... 2024-05-19 09:13:57,312 ionit INFO: Loading Python module 'function' from '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/config/function/function.py'... 186s 2024-05-19 09:13:57,313 ionit INFO: Rendered '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/template/function/Document.jinja' to '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/template/function/Document'. 186s ok 186s test_main_default_templates_directory (tests.test_ionit.TestMain.test_main_default_templates_directory) 186s Test main() with default templates directory ... 2024-05-19 09:13:57,313 ionit INFO: Reading configuration file '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/config/static/first.json'... 186s 2024-05-19 09:13:57,313 ionit INFO: Reading configuration file '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/config/static/second.yaml'... 186s 2024-05-19 09:13:57,314 ionit INFO: Rendered '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/template/static/counting.jinja' to '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/template/static/counting'. 186s ok 186s test_main_static (tests.test_ionit.TestMain.test_main_static) 186s Test main() with static context ... 2024-05-19 09:13:57,315 ionit INFO: Reading configuration file '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/config/static/first.json'... 186s 2024-05-19 09:13:57,315 ionit INFO: Reading configuration file '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/config/static/second.yaml'... 186s 2024-05-19 09:13:57,316 ionit INFO: Rendered '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/template/static/counting.jinja' to '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/template/static/counting'. 186s ok 186s test_attribution_error (tests.test_ionit.TestRendering.test_attribution_error) 186s Test: Run render_templates("tests/template/attribution-error") ... ok 186s test_missing_context (tests.test_ionit.TestRendering.test_missing_context) 186s Test: Missing context for render_templates("tests/template/static") ... ok 186s test_render_function (tests.test_ionit.TestRendering.test_render_function) 186s Test: Run render_templates("tests/template/function") ... 2024-05-19 09:13:57,324 ionit INFO: Rendered '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/template/function/Document.jinja' to '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/template/function/Document'. 186s ok 186s test_render_invalid (tests.test_ionit.TestRendering.test_render_invalid) 186s Test: Run render_templates("tests/template/invalid") ... ok 186s test_render_static (tests.test_ionit.TestRendering.test_render_static) 186s Test: Run render_templates("tests/template/static") ... 2024-05-19 09:13:57,328 ionit INFO: Rendered '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/template/static/counting.jinja' to '/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/template/static/counting'. 186s ok 186s test_render_write_protected (tests.test_ionit.TestRendering.test_render_write_protected) 186s Test: Run render_templates("tests/template/static"), but write protected ... ok 186s test_isort (tests.test_isort.IsortTestCase.test_isort) 186s Test: Run isort on Python source code. ... Running following command: 186s isort --check-only --diff -l 99 -p ionit_plugin /usr/bin/ionit tests /usr/lib/python3/dist-packages/ionit_plugin.py setup.py 186s ok 186s test_file_not_open_mocked (tests.test_mock_open.MockTest.test_file_not_open_mocked) 186s Test not opening the mocked file ... ok 186s test_file_open_not_mocked (tests.test_mock_open.MockTest.test_file_open_not_mocked) 186s Test opening a not mocked file ... ok 186s test_open_same_file_twice (tests.test_mock_open.MockTest.test_open_same_file_twice) 186s Test opening the same mocked file twice ... ok 186s test_raise_exception (tests.test_mock_open.MockTest.test_raise_exception) 186s Test raising an exception on mocked open() ... ok 186s test_pylint (tests.test_pylint.PylintTestCase.test_pylint) 186s Test: Run pylint on Python source code. ... Running following command: 186s /usr/bin/python3 -m pylint --rcfile=/tmp/autopkgtest.30ZOlL/build.J4Z/src/tests/pylint.conf -- /usr/bin/ionit tests /usr/lib/python3/dist-packages/ionit_plugin.py setup.py 192s ok 192s 192s ---------------------------------------------------------------------- 192s Ran 32 tests in 6.670s 192s 192s OK 192s autopkgtest [09:14:03]: test unittest: -----------------------] 192s autopkgtest [09:14:03]: test unittest: - - - - - - - - - - results - - - - - - - - - - 192s unittest PASS 192s autopkgtest [09:14:03]: @@@@@@@@@@@@@@@@@@@@ summary 192s unittest PASS 208s flock: timeout while waiting to get lock 208s Creating nova instance adt-oracular-amd64-ionit-20240519-091050-juju-7f2275-prod-proposed-migration-environment-2-8dc926b2-e1dc-467b-8d91-e828d7359a2f from image adt/ubuntu-oracular-amd64-server-20240517.img (UUID 563125b5-f02b-4a53-8995-aabb4f54fc43)...