Formatting '/cache/centos-9.qcow2.snap', fmt=qcow2 cluster_size=65536 extended_l2=off compression_type=zlib size=10737418240 backing_file=/cache/centos-9.qcow2 backing_fmt=qcow2 lazy_refcounts=off refcount_bits=16 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpwgsv2ds9 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: centos-9_setup.yml *************************************************** 2 plays in /cache/centos-9_setup.yml PLAY [Enable HA repos] ********************************************************* META: ran handlers TASK [Enable HA repos] ********************************************************* task path: /cache/centos-9_setup.yml:5 Thursday 07 July 2022 19:38:30 +0000 (0:00:00.018) 0:00:00.018 ********* changed: [/cache/centos-9.qcow2.snap] => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "highavailability" ], "delta": "0:00:00.623931", "end": "2022-07-07 15:38:31.544904", "rc": 0, "start": "2022-07-07 15:38:30.920973" } META: ran handlers META: ran handlers PLAY [Set up host for test playbooks] ****************************************** TASK [Gathering Facts] ********************************************************* task path: /cache/centos-9_setup.yml:7 Thursday 07 July 2022 19:38:31 +0000 (0:00:01.242) 0:00:01.261 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Create EPEL 9 repo] ****************************************************** task path: /cache/centos-9_setup.yml:11 Thursday 07 July 2022 19:38:33 +0000 (0:00:01.147) 0:00:02.408 ********* skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create yum cache] ******************************************************** task path: /cache/centos-9_setup.yml:21 Thursday 07 July 2022 19:38:33 +0000 (0:00:00.021) 0:00:02.429 ********* skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Create dnf cache] ******************************************************** task path: /cache/centos-9_setup.yml:27 Thursday 07 July 2022 19:38:33 +0000 (0:00:00.019) 0:00:02.449 ********* changed: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [Disable EPEL 7] ********************************************************** task path: /cache/centos-9_setup.yml:33 Thursday 07 July 2022 19:38:41 +0000 (0:00:08.801) 0:00:11.250 ********* skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Disable EPEL 8] ********************************************************** task path: /cache/centos-9_setup.yml:41 Thursday 07 July 2022 19:38:41 +0000 (0:00:00.024) 0:00:11.275 ********* skipping: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=3 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Thursday 07 July 2022 19:38:41 +0000 (0:00:00.028) 0:00:11.304 ********* =============================================================================== Create dnf cache -------------------------------------------------------- 8.80s /cache/centos-9_setup.yml:27 -------------------------------------------------- Enable HA repos --------------------------------------------------------- 1.24s /cache/centos-9_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.15s /cache/centos-9_setup.yml:7 --------------------------------------------------- Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-9_setup.yml:41 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:33 -------------------------------------------------- Create EPEL 9 repo ------------------------------------------------------ 0.02s /cache/centos-9_setup.yml:11 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:21 -------------------------------------------------- PLAYBOOK: setup-snapshot.yml *************************************************** 1 plays in /tmp/tmp2bf_gq_d/tests/setup-snapshot.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp2bf_gq_d/tests/setup-snapshot.yml:1 Thursday 07 July 2022 19:38:41 +0000 (0:00:00.011) 0:00:11.316 ********* ok: [/cache/centos-9.qcow2.snap] META: ran handlers TASK [Set facts used by role] ************************************************** task path: /tmp/tmp2bf_gq_d/tests/setup-snapshot.yml:3 Thursday 07 July 2022 19:38:42 +0000 (0:00:00.799) 0:00:12.115 ********* TASK [linux-system-roles.postfix : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp2bf_gq_d/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:3 Thursday 07 July 2022 19:38:42 +0000 (0:00:00.032) 0:00:12.148 ********* skipping: [/cache/centos-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } META: TASK [Install test packages] *************************************************** task path: /tmp/tmp2bf_gq_d/tests/setup-snapshot.yml:9 Thursday 07 July 2022 19:38:42 +0000 (0:00:00.032) 0:00:12.181 ********* changed: [/cache/centos-9.qcow2.snap] => { "changed": true, "rc": 0, "results": [ "Installed: postfix-2:3.5.9-18.el9.x86_64" ] } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=5 changed=3 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Thursday 07 July 2022 19:38:48 +0000 (0:00:05.450) 0:00:17.632 ********* =============================================================================== Create dnf cache -------------------------------------------------------- 8.80s /cache/centos-9_setup.yml:27 -------------------------------------------------- Install test packages --------------------------------------------------- 5.45s /tmp/tmp2bf_gq_d/tests/setup-snapshot.yml:9 ----------------------------------- Enable HA repos --------------------------------------------------------- 1.24s /cache/centos-9_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.15s /cache/centos-9_setup.yml:7 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmp2bf_gq_d/tests/setup-snapshot.yml:1 ----------------------------------- Set facts used by role -------------------------------------------------- 0.03s /tmp/tmp2bf_gq_d/tests/setup-snapshot.yml:3 ----------------------------------- linux-system-roles.postfix : Ensure ansible_facts used by role are present --- 0.03s /tmp/tmp2bf_gq_d/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:3 - Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-9_setup.yml:41 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:33 -------------------------------------------------- Create EPEL 9 repo ------------------------------------------------------ 0.02s /cache/centos-9_setup.yml:11 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:21 -------------------------------------------------- PLAYBOOK: centos-9_post_setup.yml ********************************************** 1 plays in /cache/centos-9_post_setup.yml PLAY [Post setup - these happen last] ****************************************** META: ran handlers TASK [force sync of filesystems - ensure setup changes are made to snapshot] *** task path: /cache/centos-9_post_setup.yml:5 Thursday 07 July 2022 19:38:48 +0000 (0:00:00.018) 0:00:17.651 ********* changed: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [shutdown guest] ********************************************************** task path: /cache/centos-9_post_setup.yml:8 Thursday 07 July 2022 19:38:48 +0000 (0:00:00.390) 0:00:18.041 ********* changed: [/cache/centos-9.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/centos-9.qcow2.snap : ok=7 changed=5 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Thursday 07 July 2022 19:38:49 +0000 (0:00:00.517) 0:00:18.559 ********* =============================================================================== Create dnf cache -------------------------------------------------------- 8.80s /cache/centos-9_setup.yml:27 -------------------------------------------------- Install test packages --------------------------------------------------- 5.45s /tmp/tmp2bf_gq_d/tests/setup-snapshot.yml:9 ----------------------------------- Enable HA repos --------------------------------------------------------- 1.24s /cache/centos-9_setup.yml:5 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 1.15s /cache/centos-9_setup.yml:7 --------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmp2bf_gq_d/tests/setup-snapshot.yml:1 ----------------------------------- shutdown guest ---------------------------------------------------------- 0.52s /cache/centos-9_post_setup.yml:8 ---------------------------------------------- force sync of filesystems - ensure setup changes are made to snapshot --- 0.39s /cache/centos-9_post_setup.yml:5 ---------------------------------------------- Set facts used by role -------------------------------------------------- 0.03s /tmp/tmp2bf_gq_d/tests/setup-snapshot.yml:3 ----------------------------------- linux-system-roles.postfix : Ensure ansible_facts used by role are present --- 0.03s /tmp/tmp2bf_gq_d/tests/roles/linux-system-roles.postfix/tasks/set_facts.yml:3 - Disable EPEL 8 ---------------------------------------------------------- 0.03s /cache/centos-9_setup.yml:41 -------------------------------------------------- Disable EPEL 7 ---------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:33 -------------------------------------------------- Create EPEL 9 repo ------------------------------------------------------ 0.02s /cache/centos-9_setup.yml:11 -------------------------------------------------- Create yum cache -------------------------------------------------------- 0.02s /cache/centos-9_setup.yml:21 -------------------------------------------------- ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpwgsv2ds9 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory- qcow2 with script plugin: Inventory script (/usr/share/ansible/inventory/standard-inventory-qcow2) had an execution error: [ERROR] standard-inventory-qcow2: Could not access VM launched from qcow2 image: /cache/centos-9.qcow2.snap qemu exited with code 0 pid 180602 Last lines of centos-9.qcow2.snap.guest.log: [ OK ] Started Emergency Shell. [ OK ] Reached target Emergency Mode. Generating "/run/initramfs/rdsosreport.txt" Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. You might want toPress Enter for maintenance (or press Control-D to continue): Last lines of centos-9.qcow2.snap.qemu.log: qemu-kvm: terminating on signal 15 from pid 180598 (/usr/bin/python3) [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory- qcow2 with yaml plugin: We were unable to read either as JSON nor YAML, these are the errors we got from each: JSON: Expecting value: line 1 column 1 (char 0) Syntax Error while loading YAML. mapping values are not allowed in this context The error appears to be in '/usr/share/ansible/inventory/standard- inventory-qcow2': line 30, column 4, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: try: ^ here [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory- qcow2 with ini plugin: /usr/share/ansible/inventory/standard-inventory-qcow2:9: Expected key=value host variable assignment, got: os ERROR! Completely failed to parse inventory source /usr/share/ansible/inventory/standard-inventory-qcow2 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpwgsv2ds9 executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory- qcow2 with script plugin: Inventory script (/usr/share/ansible/inventory/standard-inventory-qcow2) had an execution error: [ERROR] standard-inventory-qcow2: Could not access VM launched from qcow2 image: /cache/centos-9.qcow2.snap qemu exited with code 0 pid 186674 Last lines of centos-9.qcow2.snap.guest.log: Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs. You might want to save "/run/initramfs/rdsosreport.txt" to a USB stick or /boot after mounting them and attach it to a bug report. Press Enter for maintenance (or press Control-D to continue): Last lines of centos-9.qcow2.snap.qemu.log: qemu-kvm: terminating on signal 15 from pid 180598 (/usr/bin/python3) qemu-kvm: terminating on signal 15 from pid 186670 (/usr/bin/python3) [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory- qcow2 with yaml plugin: We were unable to read either as JSON nor YAML, these are the errors we got from each: JSON: Expecting value: line 1 column 1 (char 0) Syntax Error while loading YAML. mapping values are not allowed in this context The error appears to be in '/usr/share/ansible/inventory/standard- inventory-qcow2': line 30, column 4, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: try: ^ here [WARNING]: * Failed to parse /usr/share/ansible/inventory/standard-inventory- qcow2 with ini plugin: /usr/share/ansible/inventory/standard-inventory-qcow2:9: Expected key=value host variable assignment, got: os ERROR! Completely failed to parse inventory source /usr/share/ansible/inventory/standard-inventory-qcow2