+ cd /tmp/tmp4r6cc_43/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_mssql-45-6287711-fedora-33-mspw44bx/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmp4r6cc_43/_setup.yml /tmp/tmp4r6cc_43/tests/tests_accept_eula_2019.yml ansible-playbook 2.9.23 config file = /tmp/tmp4r6cc_43/tests/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 16 2020, 22:23:17) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /tmp/tmp4r6cc_43/tests/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/fedora-33.qcow2 Last lines of fedora-33.qcow2.guest.log: [ 0.817953] RDX: ffff98b940878000 RSI: ffff98b940878000 RDI: ffffae2200bdfad0 [ 0.819516] RBP: ffff98b94082fec0 R08: 0000000000000014 R09: fffff1e984021e00 [ 0.821083] R10: ffff98b9408bd840 R11: 0000000000000000 R12: 0000000000000040 [ 0.822657] R13: ffffffff9ac4dfc0 R14: 0000000000000014 R15: 0000000000000400 [ 0.824224] FS: 0000000000000000(0000) GS:ffff98b97bc80000(0000) knlGS:0000000000000000 [ 0.826047] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 0.827341] CR2: 0000000000000000 CR3: 0000000123c10001 CR4: 00000000003706e0 [ 0.828897] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 0.830459] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 1.087127] Freeing initrd memory: 26164K [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: No JSON object could be decoded 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 69, column 6, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: USER_DATA = """#cloud- config users: ^ 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 [WARNING]: Unable to parse /usr/share/ansible/inventory/standard-inventory- qcow2 as an inventory source [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: _setup.yml *********************************************************** 1 plays in /tmp/tmp4r6cc_43/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmp4r6cc_43/_setup.yml:5 Monday 08 November 2021 16:22:00 +0000 (0:00:00.022) 0:00:00.022 ******* ok: [localhost] => { "groups": { "all": [], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmp4r6cc_43/_setup.yml:7 Monday 08 November 2021 16:22:00 +0000 (0:00:00.044) 0:00:00.066 ******* fatal: [localhost]: FAILED! => {"changed": false, "msg": "ERROR: Inventory is empty, tests did not run"} PLAY RECAP ********************************************************************* localhost : ok=1 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 Monday 08 November 2021 16:22:00 +0000 (0:00:00.042) 0:00:00.109 ******* =============================================================================== debug ------------------------------------------------------------------- 0.04s /tmp/tmp4r6cc_43/_setup.yml:5 ------------------------------------------------- fail -------------------------------------------------------------------- 0.04s /tmp/tmp4r6cc_43/_setup.yml:7 -------------------------------------------------