# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file 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: tests_include_vars_from_parent.yml *********************************** 1 plays in /WORKDIR/git-weekly-ciz_p1x8pf/tests/tests_include_vars_from_parent.yml PLAY [Test role include variable override] ************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciz_p1x8pf/tests/tests_include_vars_from_parent.yml:2 Sunday 09 June 2024 04:30:14 +0000 (0:00:00.012) 0:00:00.012 *********** ok: [sut] META: ran handlers TASK [Create var file in caller that can override the one in called role] ****** task path: /WORKDIR/git-weekly-ciz_p1x8pf/tests/tests_include_vars_from_parent.yml:6 Sunday 09 June 2024 04:30:15 +0000 (0:00:00.677) 0:00:00.689 *********** changed: [sut -> localhost] => (item=CentOS-8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/caller/vars/CentOS-8.yml", "gid": 1001, "group": "jenkins", "item": "CentOS-8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1717907415.555085-403-183529983815764/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS_8) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/caller/vars/CentOS_8.yml", "gid": 1001, "group": "jenkins", "item": "CentOS_8", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1717907415.923483-403-121345193923740/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=CentOS) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/caller/vars/CentOS.yml", "gid": 1001, "group": "jenkins", "item": "CentOS", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1717907416.1368167-403-259359612847105/source", "state": "file", "uid": 1000090000 } changed: [sut -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/caller/vars/RedHat.yml", "gid": 1001, "group": "jenkins", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "jenkins", "size": 23, "src": "/home/jenkins/.ansible/tmp/ansible-tmp-1717907416.356234-403-77465527912786/source", "state": "file", "uid": 1000090000 } TASK [Include role] ************************************************************ task path: /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/caller/tasks/main.yml:4 Sunday 09 June 2024 04:30:16 +0000 (0:00:01.040) 0:00:01.729 *********** TASK [linux-system-roles.vpn : Set platform/version specific variables] ******** task path: /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/tasks/main.yml:3 Sunday 09 June 2024 04:30:16 +0000 (0:00:00.022) 0:00:01.752 *********** included: /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml for sut TASK [linux-system-roles.vpn : Ensure ansible_facts used by role] ************** task path: /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:2 Sunday 09 June 2024 04:30:16 +0000 (0:00:00.027) 0:00:01.779 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.vpn : Check if system is ostree] ********************** task path: /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:11 Sunday 09 June 2024 04:30:16 +0000 (0:00:00.010) 0:00:01.790 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.vpn : Set flag to indicate system is ostree] ********** task path: /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:16 Sunday 09 June 2024 04:30:16 +0000 (0:00:00.225) 0:00:02.016 *********** ok: [sut] => { "ansible_facts": { "__vpn_is_ostree": false }, "changed": false } TASK [linux-system-roles.vpn : Set platform/version specific variables] ******** task path: /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:20 Sunday 09 June 2024 04:30:16 +0000 (0:00:00.013) 0:00:02.029 *********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [sut] => (item=CentOS_8.yml) => { "ansible_facts": { "__vpn_nss_location": "/etc/ipsec.d" }, "ansible_included_var_files": [ "/WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [linux-system-roles.vpn : Ensure required packages are installed] ********* task path: /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/tasks/main.yml:6 Sunday 09 June 2024 04:30:16 +0000 (0:00:00.026) 0:00:02.055 *********** fatal: [sut]: FAILED! => { "changed": false, "rc": 1, "results": [] } MSG: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist to retry, use: --limit @/tmp/tests_include_vars_from_parent.retry PLAY RECAP ********************************************************************* sut : ok=6 changed=1 unreachable=0 failed=1 skipped=1 rescued=0 ignored=0 Sunday 09 June 2024 04:30:17 +0000 (0:00:00.911) 0:00:02.967 *********** =============================================================================== Create var file in caller that can override the one in called role ------ 1.04s /WORKDIR/git-weekly-ciz_p1x8pf/tests/tests_include_vars_from_parent.yml:6 ----- linux-system-roles.vpn : Ensure required packages are installed --------- 0.91s /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/tasks/main.yml:6 Gathering Facts --------------------------------------------------------- 0.68s /WORKDIR/git-weekly-ciz_p1x8pf/tests/tests_include_vars_from_parent.yml:2 ----- linux-system-roles.vpn : Check if system is ostree ---------------------- 0.23s /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:11 linux-system-roles.vpn : Set platform/version specific variables -------- 0.03s /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/tasks/main.yml:3 linux-system-roles.vpn : Set platform/version specific variables -------- 0.03s /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:20 Include role ------------------------------------------------------------ 0.02s /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/caller/tasks/main.yml:4 ------------ linux-system-roles.vpn : Set flag to indicate system is ostree ---------- 0.01s /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:16 linux-system-roles.vpn : Ensure ansible_facts used by role -------------- 0.01s /WORKDIR/git-weekly-ciz_p1x8pf/tests/roles/linux-system-roles.vpn/tasks/set_vars.yml:2 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- ---^---^---^---^---^---