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/tmposyp_ghn 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: _backup.yml ********************************************************** 1 plays in /tmp/tmpwwh795q9/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpwwh795q9/tests/_backup.yml:6 Wednesday 03 August 2022 15:23:49 +0000 (0:00:00.019) 0:00:00.019 ****** ok: [/cache/rhel-9.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659540228.429029, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659540228.429029, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539895.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3547090271", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpwwh795q9/tests/_backup.yml:13 Wednesday 03 August 2022 15:23:50 +0000 (0:00:00.572) 0:00:00.591 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-9.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 13422, 'dev': 64516, 'nlink': 1, 'atime': 1659540228.429029, 'mtime': 1659539895.0, 'ctime': 1659540228.429029, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '3547090271', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659540228.429029, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659540228.429029, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659539895.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3547090271", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpwwh795q9/tests/_backup.yml:19 Wednesday 03 August 2022 15:23:50 +0000 (0:00:00.034) 0:00:00.625 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004215", "end": "2022-08-03 11:23:50.141768", "rc": 0, "start": "2022-08-03 11:23:50.137553" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:23:50 +0000 (0:00:00.496) 0:00:01.122 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.57s /tmp/tmpwwh795q9/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.50s /tmp/tmpwwh795q9/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpwwh795q9/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_default_nm.yml ************************************************* 2 plays in /tmp/tmpwwh795q9/tests/tests_default_nm.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpwwh795q9/tests/tests_default_nm.yml:3 Wednesday 03 August 2022 15:23:50 +0000 (0:00:00.022) 0:00:01.145 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tests_default_nm.yml:5 Wednesday 03 August 2022 15:23:51 +0000 (0:00:01.092) 0:00:02.237 ****** included: /tmp/tmpwwh795q9/tests/tasks/el_repo_setup.yml for /cache/rhel-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:23:51 +0000 (0:00:00.027) 0:00:02.264 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:23:51 +0000 (0:00:00.021) 0:00:02.286 ****** included: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml for /cache/rhel-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:23:51 +0000 (0:00:00.027) 0:00:02.314 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:23:51 +0000 (0:00:00.024) 0:00:02.338 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:23:51 +0000 (0:00:00.027) 0:00:02.365 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:23:51 +0000 (0:00:00.022) 0:00:02.388 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpwwh795q9/tests/tests_default_nm.yml:6 Wednesday 03 August 2022 15:23:51 +0000 (0:00:00.020) 0:00:02.408 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test executing the role with default parameters] ************************* META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:23:52 +0000 (0:00:00.061) 0:00:02.470 ****** included: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-9.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:23:52 +0000 (0:00:00.032) 0:00:02.502 ****** ok: [/cache/rhel-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 [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:23:52 +0000 (0:00:00.525) 0:00:03.028 ****** ok: [/cache/rhel-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 [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:23:54 +0000 (0:00:01.670) 0:00:04.698 ****** ok: [/cache/rhel-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 [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:23:55 +0000 (0:00:01.056) 0:00:05.754 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:23:55 +0000 (0:00:00.043) 0:00:05.798 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:23:55 +0000 (0:00:00.038) 0:00:05.837 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:23:55 +0000 (0:00:00.036) 0:00:05.873 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:23:55 +0000 (0:00:00.072) 0:00:05.946 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:23:55 +0000 (0:00:00.039) 0:00:05.985 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:23:55 +0000 (0:00:00.039) 0:00:06.024 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:23:55 +0000 (0:00:00.054) 0:00:06.079 ****** ok: [/cache/rhel-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 [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:23:56 +0000 (0:00:00.810) 0:00:06.889 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:23:56 +0000 (0:00:00.049) 0:00:06.939 ****** skipping: [/cache/rhel-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 [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:23:56 +0000 (0:00:00.032) 0:00:06.971 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:23:56 +0000 (0:00:00.031) 0:00:07.003 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/rhel-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:23:57 +0000 (0:00:00.752) 0:00:07.755 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:23:57 +0000 (0:00:00.040) 0:00:07.796 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:23:57 +0000 (0:00:00.043) 0:00:07.840 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:23:57 +0000 (0:00:00.047) 0:00:07.888 ****** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:23:57 +0000 (0:00:00.038) 0:00:07.927 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tests_default.yml:9 Wednesday 03 August 2022 15:23:58 +0000 (0:00:00.554) 0:00:08.482 ****** included: /tmp/tmpwwh795q9/tests/tasks/el_repo_setup.yml for /cache/rhel-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:23:58 +0000 (0:00:00.061) 0:00:08.543 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:23:58 +0000 (0:00:00.036) 0:00:08.579 ****** included: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml for /cache/rhel-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:23:58 +0000 (0:00:00.076) 0:00:08.656 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:23:58 +0000 (0:00:00.037) 0:00:08.694 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:23:58 +0000 (0:00:00.037) 0:00:08.731 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:23:58 +0000 (0:00:00.068) 0:00:08.800 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** task path: /tmp/tmpwwh795q9/tests/tests_default.yml:10 Wednesday 03 August 2022 15:23:58 +0000 (0:00:00.035) 0:00:08.836 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=20 changed=1 unreachable=0 failed=0 skipped=21 rescued=0 ignored=0 Wednesday 03 August 2022 15:23:58 +0000 (0:00:00.066) 0:00:08.902 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.67s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmpwwh795q9/tests/tests_default_nm.yml:3 --------------------------------- linux-system-roles.network : Check which packages are installed --------- 1.06s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.81s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 0.75s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.57s /tmp/tmpwwh795q9/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Re-test connectivity ----------------------- 0.55s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.53s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Back up system files ---------------------------------------------------- 0.50s /tmp/tmpwwh795q9/tests/_backup.yml:19 ----------------------------------------- include_tasks ----------------------------------------------------------- 0.08s /tmp/tmpwwh795q9/tests/tasks/el_repo_setup.yml:27 ----------------------------- linux-system-roles.network : Install packages --------------------------- 0.07s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:30 ----- Enable EPEL 8 ----------------------------------------------------------- 0.07s /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:17 ------------------------------- Test warning and info logs ---------------------------------------------- 0.07s /tmp/tmpwwh795q9/tests/tests_default.yml:10 ----------------------------------- Set network provider to 'nm' -------------------------------------------- 0.06s /tmp/tmpwwh795q9/tests/tests_default_nm.yml:6 --------------------------------- include_tasks ----------------------------------------------------------- 0.06s /tmp/tmpwwh795q9/tests/tests_default.yml:9 ------------------------------------ linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces --- 0.05s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:65 ----- linux-system-roles.network : Enable and start wpa_supplicant ------------ 0.05s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:90 ----- linux-system-roles.network : Show debug messages for the network_connections --- 0.05s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:138 ---- linux-system-roles.network : Show stderr messages for the network_connections --- 0.04s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:134 ---- linux-system-roles.network : Print network provider --------------------- 0.04s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:7 ------ PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpwwh795q9/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpwwh795q9/tests/_restore.yml:4 Wednesday 03 August 2022 15:23:58 +0000 (0:00:00.052) 0:00:08.955 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005417", "end": "2022-08-03 11:23:58.351278", "rc": 0, "start": "2022-08-03 11:23:58.345861" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=21 changed=2 unreachable=0 failed=0 skipped=21 rescued=0 ignored=0 Wednesday 03 August 2022 15:23:58 +0000 (0:00:00.402) 0:00:09.358 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 1.67s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 1.09s /tmp/tmpwwh795q9/tests/tests_default_nm.yml:3 --------------------------------- linux-system-roles.network : Check which packages are installed --------- 1.06s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.81s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 0.75s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- Get stats of system files ----------------------------------------------- 0.57s /tmp/tmpwwh795q9/tests/_backup.yml:6 ------------------------------------------ linux-system-roles.network : Re-test connectivity ----------------------- 0.55s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Ensure ansible_facts used by role are present --- 0.53s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 - Back up system files ---------------------------------------------------- 0.50s /tmp/tmpwwh795q9/tests/_backup.yml:19 ----------------------------------------- Restore system files ---------------------------------------------------- 0.40s /tmp/tmpwwh795q9/tests/_restore.yml:4 ----------------------------------------- include_tasks ----------------------------------------------------------- 0.08s /tmp/tmpwwh795q9/tests/tasks/el_repo_setup.yml:27 ----------------------------- linux-system-roles.network : Install packages --------------------------- 0.07s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:30 ----- Enable EPEL 8 ----------------------------------------------------------- 0.07s /tmp/tmpwwh795q9/tests/tasks/enable_epel.yml:17 ------------------------------- Test warning and info logs ---------------------------------------------- 0.07s /tmp/tmpwwh795q9/tests/tests_default.yml:10 ----------------------------------- Set network provider to 'nm' -------------------------------------------- 0.06s /tmp/tmpwwh795q9/tests/tests_default_nm.yml:6 --------------------------------- include_tasks ----------------------------------------------------------- 0.06s /tmp/tmpwwh795q9/tests/tests_default.yml:9 ------------------------------------ linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces --- 0.05s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:65 ----- linux-system-roles.network : Enable and start wpa_supplicant ------------ 0.05s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:90 ----- linux-system-roles.network : Show debug messages for the network_connections --- 0.05s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:138 ---- linux-system-roles.network : Show stderr messages for the network_connections --- 0.04s /tmp/tmpwwh795q9/tests/roles/linux-system-roles.network/tasks/main.yml:134 ---- 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/tmposyp_ghn 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: _backup.yml ********************************************************** 1 plays in /tmp/tmp1gs4m1jh/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 Wednesday 03 August 2022 15:42:40 +0000 (0:00:00.019) 0:00:00.019 ****** ok: [/cache/rhel-9.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659541358.837115, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659541358.837115, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659541026.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3192380679", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp1gs4m1jh/tests/network/_backup.yml:13 Wednesday 03 August 2022 15:42:40 +0000 (0:00:00.593) 0:00:00.613 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-9.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0644', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': True, 'isfifo': False, 'islnk': False, 'issock': False, 'uid': 0, 'gid': 0, 'size': 90, 'inode': 13422, 'dev': 64516, 'nlink': 1, 'atime': 1659541358.837115, 'mtime': 1659541026.0, 'ctime': 1659541358.837115, 'wusr': True, 'rusr': True, 'xusr': False, 'wgrp': False, 'rgrp': True, 'xgrp': False, 'woth': False, 'roth': True, 'xoth': False, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'pw_name': 'root', 'gr_name': 'root', 'checksum': 'fba82b5b78ea37322e584bf452f6f8e163f0869b', 'mimetype': 'text/plain', 'charset': 'us-ascii', 'version': '3192380679', 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659541358.837115, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659541358.837115, "dev": 64516, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 13422, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659541026.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "3192380679", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/_backup.yml:19 Wednesday 03 August 2022 15:42:40 +0000 (0:00:00.036) 0:00:00.649 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004430", "end": "2022-08-03 11:42:40.568734", "rc": 0, "start": "2022-08-03 11:42:40.564304" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:42:41 +0000 (0:00:00.477) 0:00:01.127 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.48s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_default_nm.yml ************************************************* 2 plays in /tmp/tmp1gs4m1jh/tests/network/tests_default_nm.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp1gs4m1jh/tests/network/tests_default_nm.yml:3 Wednesday 03 August 2022 15:42:41 +0000 (0:00:00.028) 0:00:01.156 ****** ok: [/cache/rhel-9.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tests_default_nm.yml:5 Wednesday 03 August 2022 15:42:42 +0000 (0:00:01.070) 0:00:02.226 ****** included: /tmp/tmp1gs4m1jh/tests/network/tasks/el_repo_setup.yml for /cache/rhel-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.026) 0:00:02.252 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.019) 0:00:02.272 ****** included: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml for /cache/rhel-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.026) 0:00:02.298 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.018) 0:00:02.317 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.018) 0:00:02.336 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.020) 0:00:02.357 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tests_default_nm.yml:6 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.018) 0:00:02.375 ****** ok: [/cache/rhel-9.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test executing the role with default parameters] ************************* META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.053) 0:00:02.429 ****** included: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-9.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:42:42 +0000 (0:00:00.033) 0:00:02.463 ****** ok: [/cache/rhel-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 [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 15:42:43 +0000 (0:00:00.501) 0:00:02.964 ****** ok: [/cache/rhel-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 [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 15:42:44 +0000 (0:00:01.698) 0:00:04.663 ****** ok: [/cache/rhel-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 [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 15:42:45 +0000 (0:00:01.053) 0:00:05.716 ****** ok: [/cache/rhel-9.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 15:42:45 +0000 (0:00:00.048) 0:00:05.765 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 15:42:45 +0000 (0:00:00.040) 0:00:05.805 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 15:42:46 +0000 (0:00:00.039) 0:00:05.844 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 15:42:46 +0000 (0:00:00.073) 0:00:05.918 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 15:42:46 +0000 (0:00:00.041) 0:00:05.959 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 15:42:46 +0000 (0:00:00.039) 0:00:05.999 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 15:42:46 +0000 (0:00:00.051) 0:00:06.050 ****** ok: [/cache/rhel-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 [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 15:42:47 +0000 (0:00:00.821) 0:00:06.872 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 15:42:47 +0000 (0:00:00.053) 0:00:06.926 ****** skipping: [/cache/rhel-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 [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 15:42:47 +0000 (0:00:00.036) 0:00:06.963 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 15:42:47 +0000 (0:00:00.034) 0:00:06.997 ****** ok: [/cache/rhel-9.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 15:42:47 +0000 (0:00:00.771) 0:00:07.768 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 15:42:47 +0000 (0:00:00.040) 0:00:07.809 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 15:42:48 +0000 (0:00:00.047) 0:00:07.857 ****** ok: [/cache/rhel-9.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 15:42:48 +0000 (0:00:00.049) 0:00:07.906 ****** skipping: [/cache/rhel-9.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 15:42:48 +0000 (0:00:00.038) 0:00:07.945 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-9.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tests_default.yml:9 Wednesday 03 August 2022 15:42:48 +0000 (0:00:00.529) 0:00:08.475 ****** included: /tmp/tmp1gs4m1jh/tests/network/tasks/el_repo_setup.yml for /cache/rhel-9.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:42:48 +0000 (0:00:00.054) 0:00:08.529 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:42:48 +0000 (0:00:00.034) 0:00:08.563 ****** included: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml for /cache/rhel-9.qcow2.snap TASK [Create EPEL 9] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:42:48 +0000 (0:00:00.056) 0:00:08.620 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:42:48 +0000 (0:00:00.033) 0:00:08.654 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:42:48 +0000 (0:00:00.033) 0:00:08.688 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:42:48 +0000 (0:00:00.067) 0:00:08.755 ****** skipping: [/cache/rhel-9.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test warning and info logs] ********************************************** task path: /tmp/tmp1gs4m1jh/tests/network/tests_default.yml:10 Wednesday 03 August 2022 15:42:48 +0000 (0:00:00.037) 0:00:08.792 ****** ok: [/cache/rhel-9.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=20 changed=1 unreachable=0 failed=0 skipped=21 rescued=0 ignored=0 Wednesday 03 August 2022 15:42:49 +0000 (0:00:00.067) 0:00:08.860 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmp1gs4m1jh/tests/network/tests_default_nm.yml:3 ------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.82s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.77s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.53s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.50s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Back up system files ---------------------------------------------------- 0.48s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:19 --------------------------------- fedora.linux_system_roles.network : Install packages -------------------- 0.07s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Enable EPEL 8 ----------------------------------------------------------- 0.07s /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:17 ----------------------- Test warning and info logs ---------------------------------------------- 0.07s /tmp/tmp1gs4m1jh/tests/network/tests_default.yml:10 --------------------------- include_tasks ----------------------------------------------------------- 0.06s /tmp/tmp1gs4m1jh/tests/network/tasks/el_repo_setup.yml:27 --------------------- include_tasks ----------------------------------------------------------- 0.05s /tmp/tmp1gs4m1jh/tests/network/tests_default.yml:9 ---------------------------- Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmp1gs4m1jh/tests/network/tests_default_nm.yml:6 ------------------------- fedora.linux_system_roles.network : Enable and start wpa_supplicant ----- 0.05s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces --- 0.05s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 fedora.linux_system_roles.network : Show debug messages for the network_connections --- 0.05s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 fedora.linux_system_roles.network : Print network provider -------------- 0.05s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 fedora.linux_system_roles.network : Show stderr messages for the network_connections --- 0.05s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp1gs4m1jh/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp1gs4m1jh/tests/network/_restore.yml:4 Wednesday 03 August 2022 15:42:49 +0000 (0:00:00.043) 0:00:08.903 ****** changed: [/cache/rhel-9.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005355", "end": "2022-08-03 11:42:48.705306", "rc": 0, "start": "2022-08-03 11:42:48.699951" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-9.qcow2.snap : ok=21 changed=2 unreachable=0 failed=0 skipped=21 rescued=0 ignored=0 Wednesday 03 August 2022 15:42:49 +0000 (0:00:00.387) 0:00:09.290 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 1.70s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmp1gs4m1jh/tests/network/tests_default_nm.yml:3 ------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.05s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.82s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.77s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.59s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:6 ---------------------------------- fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.53s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Ensure ansible_facts used by role are present --- 0.50s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Back up system files ---------------------------------------------------- 0.48s /tmp/tmp1gs4m1jh/tests/network/_backup.yml:19 --------------------------------- Restore system files ---------------------------------------------------- 0.39s /tmp/tmp1gs4m1jh/tests/network/_restore.yml:4 --------------------------------- fedora.linux_system_roles.network : Install packages -------------------- 0.07s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Enable EPEL 8 ----------------------------------------------------------- 0.07s /tmp/tmp1gs4m1jh/tests/network/tasks/enable_epel.yml:17 ----------------------- Test warning and info logs ---------------------------------------------- 0.07s /tmp/tmp1gs4m1jh/tests/network/tests_default.yml:10 --------------------------- include_tasks ----------------------------------------------------------- 0.06s /tmp/tmp1gs4m1jh/tests/network/tasks/el_repo_setup.yml:27 --------------------- include_tasks ----------------------------------------------------------- 0.05s /tmp/tmp1gs4m1jh/tests/network/tests_default.yml:9 ---------------------------- Set network provider to 'nm' -------------------------------------------- 0.05s /tmp/tmp1gs4m1jh/tests/network/tests_default_nm.yml:6 ------------------------- fedora.linux_system_roles.network : Enable and start wpa_supplicant ----- 0.05s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces --- 0.05s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 fedora.linux_system_roles.network : Show debug messages for the network_connections --- 0.05s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 fedora.linux_system_roles.network : Print network provider -------------- 0.05s /tmp/tmposyp_ghn/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7