+ cd /tmp/tmpi85os1y5/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_ci-testing-14-ec8e4f4-fedora-33-ukime3ur/artifacts ANSIBLE_COLLECTIONS_PATHS=/tmp/tmp21ok64n0:~/.ansible/collections:/usr/share/ansible/collections ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 --skip-tags=tests::cleanup /tmp/tmpi85os1y5/_setup.yml /tmp/tmpi85os1y5/tests/tests_default.yml ansible-playbook [core 2.12.0rc1.post0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.8/site-packages/ansible ansible collection location = /tmp/tmp21ok64n0:/home/runner/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible-playbook python version = 3.8.6 (default, Jan 29 2021, 17:38:16) [GCC 8.4.1 20200928 (Red Hat 8.4.1-1)] jinja version = 2.10.3 libyaml = True Using /etc/ansible/ansible.cfg as config file 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpi85os1y5/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpi85os1y5/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpi85os1y5/_setup.yml:6 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpi85os1y5/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpi85os1y5/tests/tests_default.yml:3 ok: [/cache/fedora-33.qcow2] META: ran handlers TASK [linux-system-roles.template : Set version specific variables] ************ task path: /tmp/tmpi85os1y5/tasks/main.yml:7 ok: [/cache/fedora-33.qcow2] => (item=/tmp/tmpi85os1y5/vars/Fedora.yml) => {"ansible_facts": {"__template_packages": [], "__template_services": []}, "ansible_included_var_files": ["/tmp/tmpi85os1y5/vars/Fedora.yml"], "ansible_loop_var": "item", "changed": false, "item": "/tmp/tmpi85os1y5/vars/Fedora.yml"} TASK [linux-system-roles.template : Ensure required packages are installed] **** task path: /tmp/tmpi85os1y5/tasks/main.yml:17 ok: [/cache/fedora-33.qcow2] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []} TASK [linux-system-roles.template : Ensure required services are enabled and started] *** task path: /tmp/tmpi85os1y5/tasks/main.yml:22 TASK [linux-system-roles.template : Generate /etc/foo.conf] ******************** task path: /tmp/tmpi85os1y5/tasks/main.yml:29 NOTIFIED HANDLER linux-system-roles.template : template handler to restart services for /cache/fedora-33.qcow2 changed: [/cache/fedora-33.qcow2] => {"changed": true, "checksum": "37ca01c8752be9e3c6bffd00835366a6d606a2f7", "dest": "/etc/foo.conf", "gid": 0, "group": "root", "md5sum": "1f17e90823e58aad923d09f72c9b0715", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 125, "src": "/root/.ansible/tmp/ansible-tmp-1636058884.3870802-197-11297691215389/source", "state": "file", "uid": 0} META: role_complete for /cache/fedora-33.qcow2 RUNNING HANDLER [linux-system-roles.template : template handler to restart services] *** task path: /tmp/tmpi85os1y5/handlers/main.yml:6 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=5 changed=1 unreachable=0 failed=0 skipped=3 rescued=0 ignored=0 + cd /tmp/tmpw2zfqm4t/tests/ci-testing; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_ci-testing-14-ec8e4f4-fedora-33-ukime3ur/artifacts ANSIBLE_COLLECTIONS_PATHS=/tmp/tmp21ok64n0:~/.ansible/collections:/usr/share/ansible/collections ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 --skip-tags=tests::cleanup /tmp/tmpi85os1y5/_setup.yml /tmp/tmpw2zfqm4t/tests/ci-testing/tests_default.yml ansible-playbook [core 2.12.0rc1.post0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.8/site-packages/ansible ansible collection location = /tmp/tmp21ok64n0:/home/runner/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible-playbook python version = 3.8.6 (default, Jan 29 2021, 17:38:16) [GCC 8.4.1 20200928 (Red Hat 8.4.1-1)] jinja version = 2.10.3 libyaml = True Using /etc/ansible/ansible.cfg as config file 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: _setup.yml *********************************************************** 1 plays in /tmp/tmpi85os1y5/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpi85os1y5/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpi85os1y5/_setup.yml:6 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 ERROR! the role 'linux-system-roles.template' was not found in /tmp/tmpw2zfqm4t/tests/ci-testing/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/tmpw2zfqm4t/tests/ci-testing The error appears to be in '/tmp/tmpw2zfqm4t/tests/ci-testing/tests_default.yml': line 7, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: roles: - linux-system-roles.template ^ here