+ cd /tmp/tmpqq6j1g0p/tests; TEST_SUBJECTS=/cache/rhel-x.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_firewall-28-9807c06-rhel-x-1kwdrpaq/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpqq6j1g0p/_setup.yml /tmp/tmpqq6j1g0p/tests/tests_ansible.yml ansible-playbook 2.9.23 config file = /etc/ansible/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 /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/rhel-x.qcow2 Last lines of rhel-x.qcow2.guest.log: [ 0.670565] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000040 [ 0.672122] R13: ffffffff83a4ca00 R14: 0000000000000014 R15: 0000000000000400 [ 0.673680] FS: 0000000000000000(0000) GS:ffff8ce73fc80000(0000) knlGS:0000000000000000 [ 0.675496] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 0.676795] CR2: 0000000000000000 CR3: 000000004b610001 CR4: 00000000003706e0 [ 0.678359] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 [ 0.679922] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 [ 0.681493] Kernel panic - not syncing: Fatal exception [ 0.682486] Kernel Offset: 0x1000000 from 0xffffffff81000000 (relocation range: 0xffffffff80000000-0xffffffffbfffffff) [ 0.682486] ---[ end Kernel panic - not syncing: Fatal exception ]--- [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 *********************************************************** 2 plays in /tmp/tmpqq6j1g0p/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpqq6j1g0p/_setup.yml:5 ok: [localhost] => { "groups": { "all": [], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpqq6j1g0p/_setup.yml:7 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