0s autopkgtest [17:07:56]: starting date and time: 2025-11-17 17:07:56+0000 1s autopkgtest [17:07:57]: git checkout: 4b346b80 nova: make wait_reboot return success even when a no-op 1s autopkgtest [17:07:57]: host juju-7f2275-prod-proposed-migration-environment-15; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.30osjzc_/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python-ruyaml --apt-upgrade python-yamlfix --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python-ruyaml/0.92.1-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-cpu2-ram4-disk20-amd64 --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-15@sto01-4.secgroup --name adt-resolute-amd64-python-yamlfix-20251117-170756-juju-7f2275-prod-proposed-migration-environment-15-b7bec984-9f84-408d-900a-bbdc51b8e51d --image adt/ubuntu-resolute-amd64-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-15 --net-id=net_prod-autopkgtest-workers-amd64 -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/ 4s Creating nova instance adt-resolute-amd64-python-yamlfix-20251117-170756-juju-7f2275-prod-proposed-migration-environment-15-b7bec984-9f84-408d-900a-bbdc51b8e51d from image adt/ubuntu-resolute-amd64-server-20251117.img (UUID 9762b0cc-7c5b-4854-acd5-cc74ad0de8c6)... 40s autopkgtest [17:08:36]: testbed dpkg architecture: amd64 40s autopkgtest [17:08:36]: testbed apt version: 3.1.11 40s autopkgtest [17:08:36]: @@@@@@@@@@@@@@@@@@@@ test bed setup 40s autopkgtest [17:08:36]: testbed release detected to be: None 41s autopkgtest [17:08:37]: updating testbed package index (apt update) 41s Get:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease [87.8 kB] 41s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 41s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 41s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 41s Get:5 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse Sources [22.9 kB] 41s Get:6 http://ftpmaster.internal/ubuntu resolute-proposed/restricted Sources [9852 B] 41s Get:7 http://ftpmaster.internal/ubuntu resolute-proposed/main Sources [73.2 kB] 41s Get:8 http://ftpmaster.internal/ubuntu resolute-proposed/universe Sources [779 kB] 42s Get:9 http://ftpmaster.internal/ubuntu resolute-proposed/main i386 Packages [113 kB] 42s Get:10 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 Packages [153 kB] 42s Get:11 http://ftpmaster.internal/ubuntu resolute-proposed/main amd64 c-n-f Metadata [3236 B] 42s Get:12 http://ftpmaster.internal/ubuntu resolute-proposed/restricted i386 Packages [3744 B] 42s Get:13 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 Packages [64.6 kB] 42s Get:14 http://ftpmaster.internal/ubuntu resolute-proposed/restricted amd64 c-n-f Metadata [336 B] 42s Get:15 http://ftpmaster.internal/ubuntu resolute-proposed/universe i386 Packages [254 kB] 42s Get:16 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 Packages [543 kB] 42s Get:17 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 c-n-f Metadata [20.1 kB] 42s Get:18 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 Packages [13.4 kB] 42s Get:19 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse i386 Packages [6516 B] 42s Get:20 http://ftpmaster.internal/ubuntu resolute-proposed/multiverse amd64 c-n-f Metadata [680 B] 43s Fetched 2149 kB in 1s (2186 kB/s) 44s Reading package lists... 44s Hit:1 http://ftpmaster.internal/ubuntu resolute-proposed InRelease 44s Hit:2 http://ftpmaster.internal/ubuntu resolute InRelease 44s Hit:3 http://ftpmaster.internal/ubuntu resolute-updates InRelease 44s Hit:4 http://ftpmaster.internal/ubuntu resolute-security InRelease 45s Reading package lists... 45s Reading package lists... 45s Building dependency tree... 45s Reading state information... 45s Calculating upgrade... 45s The following packages will be upgraded: 45s apt libapt-pkg7.0 libcrypt-dev libcrypt1 libunwind8 usbutils 45s 6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 45s Need to get 2978 kB of archives. 45s After this operation, 46.1 kB of additional disk space will be used. 45s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libcrypt-dev amd64 1:4.5.1-1 [122 kB] 45s Get:2 http://ftpmaster.internal/ubuntu resolute/main amd64 libcrypt1 amd64 1:4.5.1-1 [90.7 kB] 45s Get:3 http://ftpmaster.internal/ubuntu resolute/main amd64 libapt-pkg7.0 amd64 3.1.12 [1148 kB] 46s Get:4 http://ftpmaster.internal/ubuntu resolute/main amd64 apt amd64 3.1.12 [1474 kB] 46s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 usbutils amd64 1:019-1 [83.9 kB] 46s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libunwind8 amd64 1.8.3-0ubuntu1 [59.6 kB] 46s dpkg-preconfigure: unable to re-open stdin: No such file or directory 46s Fetched 2978 kB in 0s (7914 kB/s) 46s (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 ... 83372 files and directories currently installed.) 46s Preparing to unpack .../libcrypt-dev_1%3a4.5.1-1_amd64.deb ... 46s Unpacking libcrypt-dev:amd64 (1:4.5.1-1) over (1:4.4.38-1build1) ... 46s Preparing to unpack .../libcrypt1_1%3a4.5.1-1_amd64.deb ... 46s Unpacking libcrypt1:amd64 (1:4.5.1-1) over (1:4.4.38-1build1) ... 46s Setting up libcrypt1:amd64 (1:4.5.1-1) ... 46s (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 ... 83372 files and directories currently installed.) 46s Preparing to unpack .../libapt-pkg7.0_3.1.12_amd64.deb ... 46s Unpacking libapt-pkg7.0:amd64 (3.1.12) over (3.1.11) ... 46s Preparing to unpack .../archives/apt_3.1.12_amd64.deb ... 46s Unpacking apt (3.1.12) over (3.1.11) ... 46s Preparing to unpack .../usbutils_1%3a019-1_amd64.deb ... 46s Unpacking usbutils (1:019-1) over (1:018-2) ... 46s Preparing to unpack .../libunwind8_1.8.3-0ubuntu1_amd64.deb ... 46s Unpacking libunwind8:amd64 (1.8.3-0ubuntu1) over (1.8.1-0.1ubuntu1) ... 46s Setting up libunwind8:amd64 (1.8.3-0ubuntu1) ... 46s Setting up usbutils (1:019-1) ... 46s Setting up libcrypt-dev:amd64 (1:4.5.1-1) ... 46s Setting up libapt-pkg7.0:amd64 (3.1.12) ... 46s Setting up apt (3.1.12) ... 47s Processing triggers for man-db (2.13.1-1) ... 48s Processing triggers for libc-bin (2.42-2ubuntu2) ... 48s autopkgtest [17:08:44]: upgrading testbed (apt dist-upgrade and autopurge) 48s Reading package lists... 49s Building dependency tree... 49s Reading state information... 49s Calculating upgrade... 49s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 49s Reading package lists... 49s Building dependency tree... 49s Reading state information... 49s Solving dependencies... 49s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 49s autopkgtest [17:08:45]: rebooting testbed after setup commands that affected boot 78s autopkgtest [17:09:14]: testbed running kernel: Linux 6.17.0-5-generic #5-Ubuntu SMP PREEMPT_DYNAMIC Mon Sep 22 10:00:33 UTC 2025 80s autopkgtest [17:09:16]: @@@@@@@@@@@@@@@@@@@@ apt-source python-yamlfix 82s Get:1 http://ftpmaster.internal/ubuntu resolute/universe python-yamlfix 1.17.0-4 (dsc) [2620 B] 82s Get:2 http://ftpmaster.internal/ubuntu resolute/universe python-yamlfix 1.17.0-4 (tar) [178 kB] 82s Get:3 http://ftpmaster.internal/ubuntu resolute/universe python-yamlfix 1.17.0-4 (diff) [5320 B] 82s gpgv: Signature made Sat Feb 22 16:47:38 2025 UTC 82s gpgv: using RSA key 2EE7A7A517FC124CF115C354651EEFB02527DF13 82s gpgv: issuer "roam@debian.org" 82s gpgv: Can't check signature: No public key 82s dpkg-source: warning: cannot verify inline signature for ./python-yamlfix_1.17.0-4.dsc: no acceptable signature found 82s autopkgtest [17:09:18]: testing package python-yamlfix version 1.17.0-4 83s autopkgtest [17:09:19]: build not needed 84s autopkgtest [17:09:20]: test smoke: preparing testbed 84s Reading package lists... 84s Building dependency tree... 84s Reading state information... 84s Solving dependencies... 84s The following NEW packages will be installed: 84s libjs-jquery libjs-jquery-hotkeys libjs-jquery-isonscreen 84s libjs-jquery-metadata libjs-jquery-tablesorter 84s libjs-jquery-throttle-debounce libjs-sphinxdoc libjs-underscore python3-all 84s python3-annotated-types python3-click python3-coverage python3-dnspython 84s python3-email-validator python3-execnet python3-iniconfig python3-maison 84s python3-pluggy python3-pydantic python3-pydantic-core python3-pytest 84s python3-pytest-cov python3-pytest-xdist python3-ruyaml python3-toml 84s python3-yamlfix 84s 0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded. 84s Need to get 3600 kB of archives. 84s After this operation, 14.9 MB of additional disk space will be used. 84s Get:1 http://ftpmaster.internal/ubuntu resolute/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [328 kB] 84s Get:2 http://ftpmaster.internal/ubuntu resolute/universe amd64 libjs-jquery-metadata all 12-4 [6582 B] 84s Get:3 http://ftpmaster.internal/ubuntu resolute/universe amd64 libjs-jquery-tablesorter all 1:2.31.3+dfsg1-4 [192 kB] 84s Get:4 http://ftpmaster.internal/ubuntu resolute/universe amd64 libjs-jquery-throttle-debounce all 1.1+dfsg.1-2 [12.5 kB] 84s Get:5 http://ftpmaster.internal/ubuntu resolute/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [118 kB] 84s Get:6 http://ftpmaster.internal/ubuntu resolute/main amd64 libjs-sphinxdoc all 8.2.3-1ubuntu2 [28.0 kB] 84s Get:7 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-all amd64 3.13.7-1 [884 B] 84s Get:8 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-annotated-types all 0.7.0-1 [19.4 kB] 84s Get:9 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-click all 8.2.0+0.really.8.1.8-1 [80.0 kB] 84s Get:10 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-coverage amd64 7.8.2+dfsg1-1 [157 kB] 84s Get:11 http://ftpmaster.internal/ubuntu resolute/main amd64 python3-dnspython all 2.7.0-1ubuntu1 [167 kB] 84s Get:12 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-email-validator all 2.2.0-1 [28.5 kB] 84s Get:13 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-execnet all 2.1.1-1 [33.4 kB] 84s Get:14 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-iniconfig all 2.1.0-1 [6840 B] 84s Get:15 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-toml all 0.10.2-1 [16.5 kB] 84s Get:16 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-maison all 2.0.0-3 [48.3 kB] 84s Get:17 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pluggy all 1.6.0-1 [21.0 kB] 84s Get:18 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pydantic-core amd64 2.27.2-3 [1624 kB] 84s Get:19 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pydantic amd64 2.10.6-2 [288 kB] 84s Get:20 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest all 8.3.5-2 [252 kB] 84s Get:21 http://ftpmaster.internal/ubuntu resolute/universe amd64 libjs-jquery-hotkeys all 0.2.0-1 [13.3 kB] 84s Get:22 http://ftpmaster.internal/ubuntu resolute/universe amd64 libjs-jquery-isonscreen all 1.2.0-1.1 [3244 B] 84s Get:23 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest-cov all 5.0.0-1 [21.3 kB] 84s Get:24 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-pytest-xdist all 3.8.0-2 [34.6 kB] 84s Get:25 http://ftpmaster.internal/ubuntu resolute-proposed/universe amd64 python3-ruyaml all 0.92.1-2 [83.1 kB] 84s Get:26 http://ftpmaster.internal/ubuntu resolute/universe amd64 python3-yamlfix all 1.17.0-4 [16.7 kB] 85s Fetched 3600 kB in 0s (8618 kB/s) 85s Selecting previously unselected package libjs-jquery. 85s (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 ... 83372 files and directories currently installed.) 85s Preparing to unpack .../00-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... 85s Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 85s Selecting previously unselected package libjs-jquery-metadata. 85s Preparing to unpack .../01-libjs-jquery-metadata_12-4_all.deb ... 85s Unpacking libjs-jquery-metadata (12-4) ... 85s Selecting previously unselected package libjs-jquery-tablesorter. 85s Preparing to unpack .../02-libjs-jquery-tablesorter_1%3a2.31.3+dfsg1-4_all.deb ... 85s Unpacking libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 85s Selecting previously unselected package libjs-jquery-throttle-debounce. 85s Preparing to unpack .../03-libjs-jquery-throttle-debounce_1.1+dfsg.1-2_all.deb ... 85s Unpacking libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 85s Selecting previously unselected package libjs-underscore. 85s Preparing to unpack .../04-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... 85s Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 85s Selecting previously unselected package libjs-sphinxdoc. 85s Preparing to unpack .../05-libjs-sphinxdoc_8.2.3-1ubuntu2_all.deb ... 85s Unpacking libjs-sphinxdoc (8.2.3-1ubuntu2) ... 85s Selecting previously unselected package python3-all. 85s Preparing to unpack .../06-python3-all_3.13.7-1_amd64.deb ... 85s Unpacking python3-all (3.13.7-1) ... 85s Selecting previously unselected package python3-annotated-types. 85s Preparing to unpack .../07-python3-annotated-types_0.7.0-1_all.deb ... 85s Unpacking python3-annotated-types (0.7.0-1) ... 85s Selecting previously unselected package python3-click. 85s Preparing to unpack .../08-python3-click_8.2.0+0.really.8.1.8-1_all.deb ... 85s Unpacking python3-click (8.2.0+0.really.8.1.8-1) ... 85s Selecting previously unselected package python3-coverage. 85s Preparing to unpack .../09-python3-coverage_7.8.2+dfsg1-1_amd64.deb ... 85s Unpacking python3-coverage (7.8.2+dfsg1-1) ... 85s Selecting previously unselected package python3-dnspython. 85s Preparing to unpack .../10-python3-dnspython_2.7.0-1ubuntu1_all.deb ... 85s Unpacking python3-dnspython (2.7.0-1ubuntu1) ... 85s Selecting previously unselected package python3-email-validator. 85s Preparing to unpack .../11-python3-email-validator_2.2.0-1_all.deb ... 85s Unpacking python3-email-validator (2.2.0-1) ... 85s Selecting previously unselected package python3-execnet. 85s Preparing to unpack .../12-python3-execnet_2.1.1-1_all.deb ... 85s Unpacking python3-execnet (2.1.1-1) ... 85s Selecting previously unselected package python3-iniconfig. 85s Preparing to unpack .../13-python3-iniconfig_2.1.0-1_all.deb ... 85s Unpacking python3-iniconfig (2.1.0-1) ... 85s Selecting previously unselected package python3-toml. 85s Preparing to unpack .../14-python3-toml_0.10.2-1_all.deb ... 85s Unpacking python3-toml (0.10.2-1) ... 85s Selecting previously unselected package python3-maison. 85s Preparing to unpack .../15-python3-maison_2.0.0-3_all.deb ... 85s Unpacking python3-maison (2.0.0-3) ... 85s Selecting previously unselected package python3-pluggy. 85s Preparing to unpack .../16-python3-pluggy_1.6.0-1_all.deb ... 85s Unpacking python3-pluggy (1.6.0-1) ... 85s Selecting previously unselected package python3-pydantic-core. 85s Preparing to unpack .../17-python3-pydantic-core_2.27.2-3_amd64.deb ... 85s Unpacking python3-pydantic-core (2.27.2-3) ... 85s Selecting previously unselected package python3-pydantic. 85s Preparing to unpack .../18-python3-pydantic_2.10.6-2_amd64.deb ... 85s Unpacking python3-pydantic (2.10.6-2) ... 85s Selecting previously unselected package python3-pytest. 85s Preparing to unpack .../19-python3-pytest_8.3.5-2_all.deb ... 85s Unpacking python3-pytest (8.3.5-2) ... 85s Selecting previously unselected package libjs-jquery-hotkeys. 85s Preparing to unpack .../20-libjs-jquery-hotkeys_0.2.0-1_all.deb ... 85s Unpacking libjs-jquery-hotkeys (0.2.0-1) ... 85s Selecting previously unselected package libjs-jquery-isonscreen. 85s Preparing to unpack .../21-libjs-jquery-isonscreen_1.2.0-1.1_all.deb ... 85s Unpacking libjs-jquery-isonscreen (1.2.0-1.1) ... 85s Selecting previously unselected package python3-pytest-cov. 85s Preparing to unpack .../22-python3-pytest-cov_5.0.0-1_all.deb ... 85s Unpacking python3-pytest-cov (5.0.0-1) ... 85s Selecting previously unselected package python3-pytest-xdist. 85s Preparing to unpack .../23-python3-pytest-xdist_3.8.0-2_all.deb ... 85s Unpacking python3-pytest-xdist (3.8.0-2) ... 85s Selecting previously unselected package python3-ruyaml. 85s Preparing to unpack .../24-python3-ruyaml_0.92.1-2_all.deb ... 85s Unpacking python3-ruyaml (0.92.1-2) ... 85s Selecting previously unselected package python3-yamlfix. 85s Preparing to unpack .../25-python3-yamlfix_1.17.0-4_all.deb ... 85s Unpacking python3-yamlfix (1.17.0-4) ... 85s Setting up python3-iniconfig (2.1.0-1) ... 85s Setting up python3-pydantic-core (2.27.2-3) ... 85s Setting up python3-all (3.13.7-1) ... 85s Setting up python3-coverage (7.8.2+dfsg1-1) ... 85s Setting up libjs-jquery-throttle-debounce (1.1+dfsg.1-2) ... 85s Setting up python3-click (8.2.0+0.really.8.1.8-1) ... 85s Setting up python3-annotated-types (0.7.0-1) ... 86s Setting up python3-toml (0.10.2-1) ... 86s Setting up python3-pluggy (1.6.0-1) ... 86s Setting up python3-dnspython (2.7.0-1ubuntu1) ... 86s Setting up python3-email-validator (2.2.0-1) ... 86s Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... 86s Setting up libjs-jquery-hotkeys (0.2.0-1) ... 86s Setting up python3-execnet (2.1.1-1) ... 86s Setting up python3-ruyaml (0.92.1-2) ... 86s Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... 86s Setting up python3-pytest (8.3.5-2) ... 86s Setting up libjs-jquery-metadata (12-4) ... 86s Setting up python3-pydantic (2.10.6-2) ... 86s Setting up libjs-jquery-isonscreen (1.2.0-1.1) ... 86s Setting up libjs-sphinxdoc (8.2.3-1ubuntu2) ... 86s Setting up libjs-jquery-tablesorter (1:2.31.3+dfsg1-4) ... 86s Setting up python3-pytest-xdist (3.8.0-2) ... 87s Setting up python3-pytest-cov (5.0.0-1) ... 87s Setting up python3-maison (2.0.0-3) ... 87s Setting up python3-yamlfix (1.17.0-4) ... 87s Processing triggers for man-db (2.13.1-1) ... 88s autopkgtest [17:09:24]: test smoke: [----------------------- 88s 88s *************************** 88s *** Testing with python3.13 88s *************************** 88s 88s Content of current working folder: 88s 88s total 12 88s drwxr-xr-x 3 ubuntu ubuntu 4096 Nov 17 17:09 . 88s drwxrwxrwx 5 root root 4096 Nov 17 17:09 .. 88s drwxrwxr-x 5 ubuntu ubuntu 4096 Nov 17 17:09 tests 88s Running tests... 88s 88s ============================= test session starts ============================== 88s platform linux -- Python 3.13.9, pytest-8.3.5, pluggy-1.6.0 88s rootdir: /tmp/autopkgtest.AwqQYj/autopkgtest_tmp 88s plugins: cov-5.0.0, xdist-3.8.0, typeguard-4.4.2 88s collected 139 items 88s 88s tests/e2e/test_cli.py ..................... [ 15%] 88s tests/unit/test_adapter_yaml.py ....FF............................ [ 39%] 88s tests/unit/test_services.py ............................................ [ 71%] 89s ..................F...FF............... [ 99%] 89s tests/unit/test_version.py . [100%] 89s 89s =================================== FAILURES =================================== 89s _________________ TestYamlAdapter.test_if_line_length_expands __________________ 89s 89s self = 89s 89s def test_if_line_length_expands(self) -> None: 89s """Test if configurable line-length expands string value.""" 89s source = dedent( 89s """\ 89s key: value value value value value value 89s value value value value value value 89s value value value value value value 89s value value value value value value 89s value value value value value value 89s value value value value value value 89s """ 89s ) 89s fixed_source = dedent( 89s """\ 89s --- 89s key: value value value value value value value value value value value value value value value value value 89s value value value value value value value value value value value value value value value value value 89s value value 89s """ # noqa: E501 89s ) 89s config = YamlfixConfig() 89s config.line_length = 100 89s 89s result = fix_code(source, config) 89s 89s > assert result == fixed_source 89s E AssertionError: assert '---\nkey: va...value value\n' == '---\nkey: va...value value\n' 89s E 89s E Skipping 94 identical leading characters in diff, use -v to show 89s E - alue value value 89s E ? ------ 89s E + alue value 89s E - value value value value value value value value value value value value value value value value value 89s E ? -----... 89s E 89s E ...Full output truncated (3 lines hidden), use '-vv' to show 89s 89s tests/unit/test_adapter_yaml.py:146: AssertionError 89s ------------------------------ Captured log call ------------------------------- 89s [+] Setting up ruamel yaml 'quote simple values' configuration... 89s [+] Setting up ruamel yaml 'sequence flow style' configuration... 89s [+] Running ruamel yaml base configuration... 89s [+] Running source code fixers... 89s [+] Fixing truthy strings... 89s [+] Fixing jinja2 variables... 89s [+] Running ruamel yaml fixer... 89s [+] Restoring truthy strings... 89s [+] Restoring jinja2 variables... 89s [+] Restoring double exclamations... 89s [+] Fixing comments... 89s [+] Fixing flow-style lists... 89s [+] Fixing top level lists... 89s ________________ TestYamlAdapter.test_if_line_length_contracts _________________ 89s 89s self = 89s 89s def test_if_line_length_contracts(self) -> None: 89s """Test if configurable line-length contracts string value.""" 89s source = dedent( 89s """\ 89s key: value value value value value value 89s value value value value value value 89s value value value value value value 89s value value value value value value 89s value value value value value value 89s value value value value value value 89s """ 89s ) 89s fixed_source = dedent( 89s """\ 89s --- 89s key: value value value 89s value value value value 89s value value value value 89s value value value value 89s value value value value 89s value value value value 89s value value value value 89s value value value value 89s value value value value 89s value 89s """ 89s ) 89s config = YamlfixConfig() 89s config.line_length = 20 89s 89s result = fix_code(source, config) 89s 89s > assert result == fixed_source 89s E AssertionError: assert '---\nkey: va...e \n value\n' == '---\nkey: va...ue\n value\n' 89s E 89s E --- 89s E - key: value value value 89s E ? ----- 89s E + key: value value 89s E - value value value value 89s E ? -----... 89s E 89s E ...Full output truncated (26 lines hidden), use '-vv' to show 89s 89s tests/unit/test_adapter_yaml.py:180: AssertionError 89s ------------------------------ Captured log call ------------------------------- 89s [+] Setting up ruamel yaml 'quote simple values' configuration... 89s [+] Setting up ruamel yaml 'sequence flow style' configuration... 89s [+] Running ruamel yaml base configuration... 89s [+] Running source code fixers... 89s [+] Fixing truthy strings... 89s [+] Fixing jinja2 variables... 89s [+] Running ruamel yaml fixer... 89s [+] Restoring truthy strings... 89s [+] Restoring jinja2 variables... 89s [+] Restoring double exclamations... 89s [+] Fixing comments... 89s [+] Fixing flow-style lists... 89s [+] Fixing top level lists... 89s ________ TestFixCode.test_anchors_and_aliases_with_duplicate_merge_keys ________ 89s 89s self = 89s 89s def test_anchors_and_aliases_with_duplicate_merge_keys(self) -> None: 89s """All anchors and aliases should be preserved even with multiple merge keys 89s and merge keys should be formatted as a list in a single line. 89s """ 89s source = dedent( 89s """\ 89s --- 89s x-node-volumes: &node-volumes 89s node3_data: 89s x-vault-volumes: &vault-volumes 89s vault_data: 89s x-mongo-volumes: &mongo-volumes 89s mongo_data: 89s x-certmgr-volumes: &certmgr-volumes 89s cert_data: 89s volumes: 89s <<: *node-volumes 89s <<: *vault-volumes 89s <<: *mongo-volumes 89s <<: *certmgr-volumes 89s """ 89s ) 89s desired_source = dedent( 89s """\ 89s --- 89s x-node-volumes: &node-volumes 89s node3_data: 89s x-vault-volumes: &vault-volumes 89s vault_data: 89s x-mongo-volumes: &mongo-volumes 89s mongo_data: 89s x-certmgr-volumes: &certmgr-volumes 89s cert_data: 89s volumes: 89s <<: 89s - *node-volumes 89s - *vault-volumes 89s - *mongo-volumes 89s - *certmgr-volumes 89s """ 89s ) 89s config = YamlfixConfig() 89s config.allow_duplicate_keys = True 89s 89s result = fix_code(source, config) 89s 89s > assert result == desired_source 89s E AssertionError: assert '---\nx-node-...ode-volumes\n' == '---\nx-node-...mgr-volumes\n' 89s E 89s E Skipping 54 identical leading characters in diff, use -v to show 89s E - t-volumes: &vault-volumes 89s E + t-volumes: 89s E vault_data: 89s E - x-mongo-volumes: &mongo-volumes 89s E + x-mongo-volumes:... 89s E 89s E ...Full output truncated (13 lines hidden), use '-vv' to show 89s 89s tests/unit/test_services.py:576: AssertionError 89s ------------------------------ Captured log call ------------------------------- 89s [+] Setting up ruamel yaml 'quote simple values' configuration... 89s [+] Setting up ruamel yaml 'sequence flow style' configuration... 89s [+] Running ruamel yaml base configuration... 89s [+] Running source code fixers... 89s [+] Fixing truthy strings... 89s [+] Fixing jinja2 variables... 89s [+] Running ruamel yaml fixer... 89s [+] Restoring truthy strings... 89s [+] Restoring jinja2 variables... 89s [+] Restoring double exclamations... 89s [+] Fixing comments... 89s [+] Fixing flow-style lists... 89s [+] Fixing top level lists... 89s ___________ TestFixCode.test_fix_code_respects_many_jinja_variables ____________ 89s 89s self = 89s 89s def test_fix_code_respects_many_jinja_variables( 89s self, 89s ) -> None: 89s """ 89s Given: Code with a long string that contains two jinja variables 89s When: fix_code is run 89s Then: The jinja string is not broken 89s """ 89s source = ( 89s "---\n" 89s "project: This is a long long {{ variable_1 }} line that should not be " 89s "split on the jinja {{ variable_2 }}" 89s ) 89s desired_source = ( 89s "---\n" 89s "project: This is a long long {{ variable_1 }} line that should not be " 89s "split on the\n" 89s " jinja {{ variable_2 }}\n" 89s ) 89s 89s result = fix_code(source) 89s 89s > assert result == desired_source 89s E AssertionError: assert '---\nproject...riable_2 }}\n' == '---\nproject...riable_2 }}\n' 89s E 89s E Skipping 73 identical leading characters in diff, use -v to show 89s E - split on the 89s E ? --- 89s E + split on 89s E - jinja {{ variable_2 }} 89s E + the jinja {{ variable_2 }} 89s E ? ++++ 89s 89s tests/unit/test_services.py:663: AssertionError 89s ------------------------------ Captured log call ------------------------------- 89s [+] Setting up ruamel yaml 'quote simple values' configuration... 89s [+] Setting up ruamel yaml 'sequence flow style' configuration... 89s [+] Running ruamel yaml base configuration... 89s [+] Running source code fixers... 89s [+] Fixing truthy strings... 89s [+] Fixing jinja2 variables... 89s [+] Running ruamel yaml fixer... 89s [+] Restoring truthy strings... 89s [+] Restoring jinja2 variables... 89s [+] Restoring double exclamations... 89s [+] Fixing comments... 89s [+] Fixing flow-style lists... 89s [+] Fixing top level lists... 89s ______ TestFixCode.test_fix_code_respects_jinja_variables_with_operations ______ 89s 89s self = 89s 89s def test_fix_code_respects_jinja_variables_with_operations( 89s self, 89s ) -> None: 89s """ 89s Given: Code with a long string that contains a jinja variable with operations 89s When: fix_code is run 89s Then: The jinja string is not broken 89s """ 89s source = ( 89s "---\n" 89s "project: This is a long long long long line that should not be split on " 89s "the jinja {{ variable that contains different words }}" 89s ) 89s desired_source = ( 89s "---\n" 89s "project: This is a long long long long line that should not be split on " 89s "the jinja\n" 89s " {{ variable that contains different words }}\n" 89s ) 89s 89s result = fix_code(source) 89s 89s > assert result == desired_source 89s E AssertionError: assert '---\nproject...nt words }}\n' == '---\nproject...nt words }}\n' 89s E 89s E Skipping 70 identical leading characters in diff, use -v to show 89s E - it on the jinja 89s E ? ----- 89s E + it on the 89s E - {{ variable that contains different words }} 89s E + jinja {{ variable that contains different words }} 89s E ? ++++++ 89s 89s tests/unit/test_services.py:687: AssertionError 89s ------------------------------ Captured log call ------------------------------- 89s [+] Setting up ruamel yaml 'quote simple values' configuration... 89s [+] Setting up ruamel yaml 'sequence flow style' configuration... 89s [+] Running ruamel yaml base configuration... 89s [+] Running source code fixers... 89s [+] Fixing truthy strings... 89s [+] Fixing jinja2 variables... 89s [+] Running ruamel yaml fixer... 89s [+] Restoring truthy strings... 89s [+] Restoring jinja2 variables... 89s [+] Restoring double exclamations... 89s [+] Fixing comments... 89s [+] Fixing flow-style lists... 89s [+] Fixing top level lists... 89s =============================== warnings summary =============================== 89s tests/e2e/test_cli.py:73 89s /tmp/autopkgtest.AwqQYj/autopkgtest_tmp/tests/e2e/test_cli.py:73: PytestUnknownMarkWarning: Unknown pytest.mark.secondary - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 89s @pytest.mark.secondary() 89s 89s tests/e2e/test_cli.py:153 89s /tmp/autopkgtest.AwqQYj/autopkgtest_tmp/tests/e2e/test_cli.py:153: PytestUnknownMarkWarning: Unknown pytest.mark.secondary - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html 89s @pytest.mark.secondary() 89s 89s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html 89s =========================== short test summary info ============================ 89s FAILED tests/unit/test_adapter_yaml.py::TestYamlAdapter::test_if_line_length_expands 89s FAILED tests/unit/test_adapter_yaml.py::TestYamlAdapter::test_if_line_length_contracts 89s FAILED tests/unit/test_services.py::TestFixCode::test_anchors_and_aliases_with_duplicate_merge_keys 89s FAILED tests/unit/test_services.py::TestFixCode::test_fix_code_respects_many_jinja_variables 89s FAILED tests/unit/test_services.py::TestFixCode::test_fix_code_respects_jinja_variables_with_operations 89s ================== 5 failed, 134 passed, 2 warnings in 0.36s =================== 89s autopkgtest [17:09:25]: test smoke: -----------------------] 89s autopkgtest [17:09:25]: test smoke: - - - - - - - - - - results - - - - - - - - - - 89s smoke FAIL non-zero exit status 1 89s autopkgtest [17:09:25]: @@@@@@@@@@@@@@@@@@@@ summary 89s smoke FAIL non-zero exit status 1