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/tmpy4hq2u0g 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/tmp088uft4w/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp088uft4w/tests/_backup.yml:6 Wednesday 03 August 2022 17:22:52 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-8-y.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659547372.2990701, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547371.2970703, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25785793, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546726.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1740059145", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmp088uft4w/tests/_backup.yml:13 Wednesday 03 August 2022 17:22:52 +0000 (0:00:00.620) 0:00:00.638 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8-y.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': 25785793, 'dev': 64515, 'nlink': 1, 'atime': 1659547372.2990701, 'mtime': 1659546726.0, 'ctime': 1659547371.2970703, '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': '1740059145', '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/libexec/platform-python'}, '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/libexec/platform-python" }, "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": 1659547372.2990701, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547371.2970703, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25785793, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659546726.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "1740059145", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmp088uft4w/tests/_backup.yml:19 Wednesday 03 August 2022 17:22:52 +0000 (0:00:00.035) 0:00:00.673 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004283", "end": "2022-08-03 13:22:53.123361", "rc": 0, "start": "2022-08-03 13:22:53.119078" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:22:53 +0000 (0:00:00.491) 0:00:01.164 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.62s /tmp/tmp088uft4w/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.49s /tmp/tmp088uft4w/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp088uft4w/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_bridge_initscripts.yml ***************************************** 10 plays in /tmp/tmp088uft4w/tests/tests_bridge_initscripts.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/tests_bridge_initscripts.yml:4 Wednesday 03 August 2022 17:22:53 +0000 (0:00:00.068) 0:00:01.232 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/tests_bridge_initscripts.yml:7 Wednesday 03 August 2022 17:22:54 +0000 (0:00:01.070) 0:00:02.303 ****** included: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml for /cache/rhel-8-y.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:22:54 +0000 (0:00:00.027) 0:00:02.330 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:22:54 +0000 (0:00:00.024) 0:00:02.355 ****** included: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml for /cache/rhel-8-y.qcow2.snap TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:22:54 +0000 (0:00:00.028) 0:00:02.383 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:22:55 +0000 (0:00:00.362) 0:00:02.746 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:22:55 +0000 (0:00:00.021) 0:00:02.767 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.434358", "end": "2022-08-03 13:22:55.526963", "rc": 0, "start": "2022-08-03 13:22:55.092605" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:22:55 +0000 (0:00:00.797) 0:00:03.564 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmp088uft4w/tests/tests_bridge_initscripts.yml:8 Wednesday 03 August 2022 17:22:55 +0000 (0:00:00.022) 0:00:03.587 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_bridge.yml:3 Wednesday 03 August 2022 17:22:55 +0000 (0:00:00.046) 0:00:03.633 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set interface=LSR-TST-br31] ********************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_bridge.yml:9 Wednesday 03 August 2022 17:22:56 +0000 (0:00:00.832) 0:00:04.466 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_bridge.yml:12 Wednesday 03 August 2022 17:22:56 +0000 (0:00:00.045) 0:00:04.511 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:22:56 +0000 (0:00:00.041) 0:00:04.553 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:22:56 +0000 (0:00:00.043) 0:00:04.596 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002784", "end": "2022-08-03 13:22:56.944676", "rc": 0, "start": "2022-08-03 13:22:56.941892" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:22:57 +0000 (0:00:00.386) 0:00:04.983 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:22:57 +0000 (0:00:00.047) 0:00:05.030 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tests_bridge.yml:13 Wednesday 03 August 2022 17:22:57 +0000 (0:00:00.048) 0:00:05.079 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:22:57 +0000 (0:00:00.044) 0:00:05.123 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:22:57 +0000 (0:00:00.045) 0:00:05.169 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface LSR-TST-br31 is absent] **************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:22:57 +0000 (0:00:00.384) 0:00:05.553 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tests_bridge.yml:15 Wednesday 03 August 2022 17:22:57 +0000 (0:00:00.066) 0:00:05.620 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:22:58 +0000 (0:00:00.877) 0:00:06.497 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:22:58 +0000 (0:00:00.045) 0:00:06.542 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:22:59 +0000 (0:00:00.544) 0:00:07.087 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:23:01 +0000 (0:00:01.799) 0:00:08.887 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:23:02 +0000 (0:00:01.471) 0:00:10.358 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:23:02 +0000 (0:00:00.059) 0:00:10.417 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:23:02 +0000 (0:00:00.052) 0:00:10.470 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:23:02 +0000 (0:00:00.053) 0:00:10.524 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:23:02 +0000 (0:00:00.102) 0:00:10.627 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:23:02 +0000 (0:00:00.050) 0:00:10.677 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:23:02 +0000 (0:00:00.051) 0:00:10.729 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:23:03 +0000 (0:00:00.055) 0:00:10.785 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:23:03 +0000 (0:00:00.054) 0:00:10.840 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:23:03 +0000 (0:00:00.049) 0:00:10.889 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:23:03 +0000 (0:00:00.813) 0:00:11.703 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-112265j2r6hq0m/tmpdqu84ew7" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:23:04 +0000 (0:00:00.429) 0:00:12.132 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31' [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active) [005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:23:07 +0000 (0:00:02.996) 0:00:15.128 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:23:07 +0000 (0:00:00.052) 0:00:15.181 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:23:07 +0000 (0:00:00.060) 0:00:15.241 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)\n[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:23:07 +0000 (0:00:00.063) 0:00:15.304 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:23:07 +0000 (0:00:00.052) 0:00:15.357 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 17:23:08 +0000 (0:00:00.580) 0:00:15.938 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 17:23:09 +0000 (0:00:00.869) 0:00:16.807 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:23:09 +0000 (0:00:00.072) 0:00:16.879 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:23:09 +0000 (0:00:00.074) 0:00:16.954 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659547384.9726734, "block_size": 4096, "blocks": 0, "ctime": 1659547384.9726734, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32499, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LSR-TST-br31", "lnk_target": "../../devices/virtual/net/LSR-TST-br31", "mode": "0777", "mtime": 1659547384.9726734, "nlink": 1, "path": "/sys/class/net/LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface LSR-TST-br31 is present] *************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:23:09 +0000 (0:00:00.434) 0:00:17.389 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_present.yml] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 17:23:09 +0000 (0:00:00.106) 0:00:17.496 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 17:23:10 +0000 (0:00:00.876) 0:00:18.372 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:23:10 +0000 (0:00:00.072) 0:00:18.444 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:23:10 +0000 (0:00:00.079) 0:00:18.523 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:23:10 +0000 (0:00:00.059) 0:00:18.583 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659547384.8460703, "block_size": 4096, "blocks": 8, "ctime": 1659547384.8270702, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1092734, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547384.8270702, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:23:11 +0000 (0:00:00.444) 0:00:19.027 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:23:11 +0000 (0:00:00.062) 0:00:19.090 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.019105", "end": "2022-08-03 13:23:11.484443", "rc": 1, "start": "2022-08-03 13:23:11.465338" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:23:11 +0000 (0:00:00.448) 0:00:19.539 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:23:11 +0000 (0:00:00.051) 0:00:19.591 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:00.004085", "end": "2022-08-03 13:23:11.957841", "rc": 0, "start": "2022-08-03 13:23:11.953756" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:23:12 +0000 (0:00:00.432) 0:00:20.023 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'LSR-TST-br31' is present] *************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:23:12 +0000 (0:00:00.069) 0:00:20.092 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'LSR-TST-br31' is present] ******** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:23:12 +0000 (0:00:00.068) 0:00:20.161 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/down_profile.yml:3 Wednesday 03 August 2022 17:23:12 +0000 (0:00:00.114) 0:00:20.275 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:23:13 +0000 (0:00:00.883) 0:00:21.158 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:23:13 +0000 (0:00:00.077) 0:00:21.236 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:23:14 +0000 (0:00:00.531) 0:00:21.768 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:23:15 +0000 (0:00:01.740) 0:00:23.508 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:23:16 +0000 (0:00:01.185) 0:00:24.693 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:23:17 +0000 (0:00:00.063) 0:00:24.757 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:23:17 +0000 (0:00:00.049) 0:00:24.807 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:23:17 +0000 (0:00:00.052) 0:00:24.859 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:23:17 +0000 (0:00:00.073) 0:00:24.933 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:23:17 +0000 (0:00:00.049) 0:00:24.982 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:23:17 +0000 (0:00:00.052) 0:00:25.034 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:23:17 +0000 (0:00:00.100) 0:00:25.135 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:23:17 +0000 (0:00:00.048) 0:00:25.184 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:23:17 +0000 (0:00:00.045) 0:00:25.229 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:23:18 +0000 (0:00:00.572) 0:00:25.801 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-112265j2r6hq0m/tmpxnzlvg2w" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:23:18 +0000 (0:00:00.410) 0:00:26.212 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.536) 0:00:26.749 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.060) 0:00:26.809 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.064) 0:00:26.873 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.063) 0:00:26.936 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.096) 0:00:27.033 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 17:23:19 +0000 (0:00:00.474) 0:00:27.507 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.874) 0:00:28.382 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/delete_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:23:20 +0000 (0:00:00.071) 0:00:28.453 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.021172", "end": "2022-08-03 13:23:20.836630", "rc": 0, "start": "2022-08-03 13:23:20.815458" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 17:23:21 +0000 (0:00:00.524) 0:00:28.978 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 17:23:22 +0000 (0:00:00.880) 0:00:29.858 ****** included: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:23:22 +0000 (0:00:00.074) 0:00:29.932 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 17:23:22 +0000 (0:00:00.527) 0:00:30.460 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 17:23:24 +0000 (0:00:01.718) 0:00:32.179 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 17:23:25 +0000 (0:00:01.187) 0:00:33.366 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: Using network provider: initscripts TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:23:25 +0000 (0:00:00.059) 0:00:33.425 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 17:23:25 +0000 (0:00:00.102) 0:00:33.528 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 17:23:25 +0000 (0:00:00.057) 0:00:33.585 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 17:23:25 +0000 (0:00:00.079) 0:00:33.664 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 17:23:25 +0000 (0:00:00.055) 0:00:33.720 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 17:23:26 +0000 (0:00:00.051) 0:00:33.771 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 17:23:26 +0000 (0:00:00.056) 0:00:33.828 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:23:26 +0000 (0:00:00.057) 0:00:33.886 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 17:23:26 +0000 (0:00:00.050) 0:00:33.936 ****** ok: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 17:23:26 +0000 (0:00:00.558) 0:00:34.494 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-112265j2r6hq0m/tmp8l1qhulq" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 17:23:27 +0000 (0:00:00.412) 0:00:34.907 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31' TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 17:23:27 +0000 (0:00:00.557) 0:00:35.464 ****** skipping: [/cache/rhel-8-y.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/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 17:23:27 +0000 (0:00:00.055) 0:00:35.520 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 17:23:27 +0000 (0:00:00.062) 0:00:35.582 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 17:23:27 +0000 (0:00:00.064) 0:00:35.647 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 17:23:27 +0000 (0:00:00.056) 0:00:35.703 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 17:23:28 +0000 (0:00:00.467) 0:00:36.170 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 17:23:29 +0000 (0:00:00.887) 0:00:37.058 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_absent.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:23:29 +0000 (0:00:00.070) 0:00:37.129 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:23:29 +0000 (0:00:00.074) 0:00:37.203 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:23:29 +0000 (0:00:00.061) 0:00:37.265 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:23:29 +0000 (0:00:00.411) 0:00:37.676 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:23:29 +0000 (0:00:00.049) 0:00:37.726 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.017585", "end": "2022-08-03 13:23:30.096844", "rc": 1, "start": "2022-08-03 13:23:30.079259" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:23:30 +0000 (0:00:00.427) 0:00:38.153 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:23:30 +0000 (0:00:00.052) 0:00:38.206 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:23:30 +0000 (0:00:00.052) 0:00:38.258 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'LSR-TST-br31' is absent] **************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:23:30 +0000 (0:00:00.052) 0:00:38.311 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_absent.yml] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 17:23:30 +0000 (0:00:00.139) 0:00:38.451 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 17:23:31 +0000 (0:00:00.953) 0:00:39.404 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:23:31 +0000 (0:00:00.075) 0:00:39.480 ****** included: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmp088uft4w/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:23:31 +0000 (0:00:00.084) 0:00:39.564 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface LSR-TST-br31 is absent] **************************** task path: /tmp/tmp088uft4w/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:23:32 +0000 (0:00:00.424) 0:00:39.989 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=87 changed=5 unreachable=0 failed=0 skipped=38 rescued=0 ignored=2 Wednesday 03 August 2022 17:23:32 +0000 (0:00:00.090) 0:00:40.079 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 3.00s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.80s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.74s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.72s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.47s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.19s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.19s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmp088uft4w/tests/tests_bridge_initscripts.yml:4 ------------------------- Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp088uft4w/tests/playbooks/down_profile.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp088uft4w/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp088uft4w/tests/playbooks/tests_bridge.yml:15 -------------------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmp088uft4w/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmp088uft4w/tests/playbooks/tests_bridge.yml:3 --------------------------- linux-system-roles.network : Enable network service --------------------- 0.81s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Enable EPEL 8 ----------------------------------------------------------- 0.80s /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 ------------------------------- Get stats of system files ----------------------------------------------- 0.62s /tmp/tmp088uft4w/tests/_backup.yml:6 ------------------------------------------ PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp088uft4w/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp088uft4w/tests/_restore.yml:4 Wednesday 03 August 2022 17:23:32 +0000 (0:00:00.108) 0:00:40.187 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.008644", "end": "2022-08-03 13:23:32.635210", "rc": 0, "start": "2022-08-03 13:23:32.626566" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=88 changed=6 unreachable=0 failed=0 skipped=38 rescued=0 ignored=2 Wednesday 03 August 2022 17:23:32 +0000 (0:00:00.525) 0:00:40.713 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 3.00s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 1.80s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.74s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.72s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which packages are installed --------- 1.47s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.19s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.19s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.07s /tmp/tmp088uft4w/tests/tests_bridge_initscripts.yml:4 ------------------------- Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp088uft4w/tests/playbooks/down_profile.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp088uft4w/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp088uft4w/tests/playbooks/tests_bridge.yml:15 -------------------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmp088uft4w/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmp088uft4w/tests/playbooks/tests_bridge.yml:3 --------------------------- linux-system-roles.network : Enable network service --------------------- 0.81s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:99 ----- Enable EPEL 8 ----------------------------------------------------------- 0.80s /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 ------------------------------- Get stats of system files ----------------------------------------------- 0.62s /tmp/tmp088uft4w/tests/_backup.yml:6 ------------------------------------------ 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/tmpy4hq2u0g 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/tmpt4s8r_w1/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:59:10 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/rhel-8-y.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/libexec/platform-python" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659549550.2834885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549550.2704885, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25269111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548924.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "423830651", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:59:11 +0000 (0:00:00.599) 0:00:00.616 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/rhel-8-y.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': 25269111, 'dev': 64515, 'nlink': 1, 'atime': 1659549550.2834885, 'mtime': 1659548924.0, 'ctime': 1659549550.2704885, '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': '423830651', '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/libexec/platform-python'}, '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/libexec/platform-python" }, "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": 1659549550.2834885, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549550.2704885, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 25269111, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1659548924.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 90, "uid": 0, "version": "423830651", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:59:11 +0000 (0:00:00.039) 0:00:00.656 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004572", "end": "2022-08-03 13:59:12.055857", "rc": 0, "start": "2022-08-03 13:59:12.051285" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:59:12 +0000 (0:00:00.508) 0:00:01.165 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.51s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_bridge_initscripts.yml ***************************************** 10 plays in /tmp/tmpt4s8r_w1/tests/network/tests_bridge_initscripts.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with initscripts as provider] *** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/tests_bridge_initscripts.yml:4 Wednesday 03 August 2022 17:59:12 +0000 (0:00:00.079) 0:00:01.244 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tests_bridge_initscripts.yml:7 Wednesday 03 August 2022 17:59:13 +0000 (0:00:01.080) 0:00:02.325 ****** included: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml for /cache/rhel-8-y.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:59:13 +0000 (0:00:00.027) 0:00:02.352 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:59:13 +0000 (0:00:00.020) 0:00:02.373 ****** included: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml for /cache/rhel-8-y.qcow2.snap TASK [Create EPEL 8] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:59:13 +0000 (0:00:00.028) 0:00:02.401 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "yum", "install", "-y", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "delta": null, "end": null, "rc": 0, "start": null } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists MSG: Did not run command since '/etc/yum.repos.d/epel.repo' exists TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:59:13 +0000 (0:00:00.363) 0:00:02.765 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:59:13 +0000 (0:00:00.022) 0:00:02.787 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.442580", "end": "2022-08-03 13:59:14.504958", "rc": 0, "start": "2022-08-03 13:59:14.062378" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:59:14 +0000 (0:00:00.824) 0:00:03.612 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'initscripts'] *********************************** task path: /tmp/tmpt4s8r_w1/tests/network/tests_bridge_initscripts.yml:8 Wednesday 03 August 2022 17:59:14 +0000 (0:00:00.021) 0:00:03.634 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "network_provider": "initscripts" }, "changed": false } META: ran handlers META: ran handlers PLAY [Test configuring bridges] ************************************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bridge.yml:3 Wednesday 03 August 2022 17:59:14 +0000 (0:00:00.046) 0:00:03.680 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [set interface=LSR-TST-br31] ********************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bridge.yml:9 Wednesday 03 August 2022 17:59:15 +0000 (0:00:00.832) 0:00:04.513 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bridge.yml:12 Wednesday 03 August 2022 17:59:15 +0000 (0:00:00.044) 0:00:04.557 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:59:15 +0000 (0:00:00.050) 0:00:04.607 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/rhel-8-y.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:59:15 +0000 (0:00:00.050) 0:00:04.658 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003106", "end": "2022-08-03 13:59:15.943093", "rc": 0, "start": "2022-08-03 13:59:15.939987" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:59:16 +0000 (0:00:00.388) 0:00:05.047 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:59:16 +0000 (0:00:00.045) 0:00:05.093 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bridge.yml:13 Wednesday 03 August 2022 17:59:16 +0000 (0:00:00.044) 0:00:05.138 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:59:16 +0000 (0:00:00.040) 0:00:05.178 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:59:16 +0000 (0:00:00.039) 0:00:05.218 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface LSR-TST-br31 is absent] **************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:59:16 +0000 (0:00:00.378) 0:00:05.597 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bridge.yml:15 Wednesday 03 August 2022 17:59:16 +0000 (0:00:00.066) 0:00:05.663 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:59:17 +0000 (0:00:00.868) 0:00:06.532 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:59:17 +0000 (0:00:00.047) 0:00:06.579 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:59:18 +0000 (0:00:00.550) 0:00:07.130 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:59:19 +0000 (0:00:01.808) 0:00:08.939 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:59:21 +0000 (0:00:01.503) 0:00:10.442 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: Using network provider: initscripts 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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:59:21 +0000 (0:00:00.060) 0:00:10.503 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:59:21 +0000 (0:00:00.051) 0:00:10.554 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:59:21 +0000 (0:00:00.050) 0:00:10.605 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:59:21 +0000 (0:00:00.083) 0:00:10.688 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:59:21 +0000 (0:00:00.051) 0:00:10.739 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:59:21 +0000 (0:00:00.059) 0:00:10.798 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:59:21 +0000 (0:00:00.081) 0:00:10.879 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:59:21 +0000 (0:00:00.050) 0:00:10.930 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:59:21 +0000 (0:00:00.054) 0:00:10.984 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:59:22 +0000 (0:00:00.818) 0:00:11.803 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-1603902647fsd4/tmpuukj2o72" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:59:23 +0000 (0:00:00.416) 0:00:12.220 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31' [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active) [005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\n"', err='b"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\n"' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:59:26 +0000 (0:00:02.947) 0:00:15.167 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:59:26 +0000 (0:00:00.051) 0:00:15.218 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:59:26 +0000 (0:00:00.115) 0:00:15.334 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "interface_name": "LSR-TST-br31", "ip": { "auto6": true, "dhcp4": false }, "name": "LSR-TST-br31", "state": "up", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)\n[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add ifcfg-rh profile 'LSR-TST-br31'", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31 (not-active)", "[005] #0, state:up persistent_state:present, 'LSR-TST-br31': call 'ifup LSR-TST-br31': rc=0, out='b\"INFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\nINFO : [ipv6_wait_tentative] Waiting for interface LSR-TST-br31 IPv6 address(es) to leave the 'tentative' state\\n\"', err='b\"WARN : [ifup] You are using 'ifup' script provided by 'network-scripts', which are now deprecated.\\nWARN : [ifup] 'network-scripts' will be removed in one of the next major releases of RHEL.\\nWARN : [ifup] It is advised to switch to 'NetworkManager' instead - it provides 'ifup/ifdown' scripts as well.\\n\"'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:59:26 +0000 (0:00:00.060) 0:00:15.394 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:59:26 +0000 (0:00:00.054) 0:00:15.449 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 17:59:26 +0000 (0:00:00.576) 0:00:16.025 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 17:59:27 +0000 (0:00:00.907) 0:00:16.932 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:59:27 +0000 (0:00:00.073) 0:00:17.005 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:59:28 +0000 (0:00:00.107) 0:00:17.113 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549563.9318485, "block_size": 4096, "blocks": 0, "ctime": 1659549563.9318485, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32493, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/LSR-TST-br31", "lnk_target": "../../devices/virtual/net/LSR-TST-br31", "mode": "0777", "mtime": 1659549563.9318485, "nlink": 1, "path": "/sys/class/net/LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [assert that interface LSR-TST-br31 is present] *************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:59:28 +0000 (0:00:00.412) 0:00:17.525 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_present.yml] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 17:59:28 +0000 (0:00:00.103) 0:00:17.629 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 17:59:29 +0000 (0:00:00.886) 0:00:18.515 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:59:29 +0000 (0:00:00.070) 0:00:18.586 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:59:29 +0000 (0:00:00.104) 0:00:18.690 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:59:29 +0000 (0:00:00.059) 0:00:18.750 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549563.7994885, "block_size": 4096, "blocks": 8, "ctime": 1659549563.7794886, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 1092734, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549563.7794886, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 129, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:59:30 +0000 (0:00:00.406) 0:00:19.156 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:59:30 +0000 (0:00:00.060) 0:00:19.216 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.022152", "end": "2022-08-03 13:59:30.519163", "rc": 1, "start": "2022-08-03 13:59:30.497011" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:59:30 +0000 (0:00:00.426) 0:00:19.643 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:59:30 +0000 (0:00:00.050) 0:00:19.693 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "grep", "^# Ansible managed", "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31" ], "delta": "0:00:00.002967", "end": "2022-08-03 13:59:30.990557", "rc": 0, "start": "2022-08-03 13:59:30.987590" } STDOUT: # Ansible managed TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:59:31 +0000 (0:00:00.428) 0:00:20.122 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true }, "changed": false } TASK [assert that profile 'LSR-TST-br31' is present] *************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:59:31 +0000 (0:00:00.069) 0:00:20.191 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'LSR-TST-br31' is present] ******** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:59:31 +0000 (0:00:00.064) 0:00:20.255 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile.yml:3 Wednesday 03 August 2022 17:59:31 +0000 (0:00:00.162) 0:00:20.417 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:59:32 +0000 (0:00:00.983) 0:00:21.401 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:59:32 +0000 (0:00:00.078) 0:00:21.479 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:59:32 +0000 (0:00:00.554) 0:00:22.033 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:59:34 +0000 (0:00:01.750) 0:00:23.784 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:59:35 +0000 (0:00:01.238) 0:00:25.023 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: Using network provider: initscripts 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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:59:36 +0000 (0:00:00.057) 0:00:25.081 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:59:36 +0000 (0:00:00.080) 0:00:25.161 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:59:36 +0000 (0:00:00.055) 0:00:25.216 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:59:36 +0000 (0:00:00.074) 0:00:25.290 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:59:36 +0000 (0:00:00.054) 0:00:25.345 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:59:36 +0000 (0:00:00.050) 0:00:25.395 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:59:36 +0000 (0:00:00.053) 0:00:25.449 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:59:36 +0000 (0:00:00.055) 0:00:25.504 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:59:36 +0000 (0:00:00.048) 0:00:25.553 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:59:37 +0000 (0:00:00.588) 0:00:26.141 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-1603902647fsd4/tmpw74muvq8" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:59:37 +0000 (0:00:00.422) 0:00:26.563 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:59:38 +0000 (0:00:00.591) 0:00:27.155 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:59:38 +0000 (0:00:00.052) 0:00:27.207 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:59:38 +0000 (0:00:00.059) 0:00:27.267 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "LSR-TST-br31", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active\n", "stderr_lines": [ "[002] #0, state:down persistent_state:present, 'LSR-TST-br31': down connection LSR-TST-br31 skipped because not active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:59:38 +0000 (0:00:00.059) 0:00:27.327 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:59:38 +0000 (0:00:00.054) 0:00:27.382 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 17:59:38 +0000 (0:00:00.480) 0:00:27.862 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 17:59:39 +0000 (0:00:00.932) 0:00:28.795 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/delete_interface.yml for /cache/rhel-8-y.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:59:39 +0000 (0:00:00.069) 0:00:28.865 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.019846", "end": "2022-08-03 13:59:40.158400", "rc": 0, "start": "2022-08-03 13:59:40.138554" } META: ran handlers META: ran handlers PLAY [Remove {{ profile }}] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 17:59:40 +0000 (0:00:00.465) 0:00:29.330 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:59:41 +0000 (0:00:00.847) 0:00:30.178 ****** included: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/rhel-8-y.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:59:41 +0000 (0:00:00.075) 0:00:30.253 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:59:41 +0000 (0:00:00.583) 0:00:30.837 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:59:43 +0000 (0:00:01.733) 0:00:32.570 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:59:44 +0000 (0:00:01.227) 0:00:33.798 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: Using network provider: initscripts 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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:59:44 +0000 (0:00:00.124) 0:00:33.922 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:59:44 +0000 (0:00:00.051) 0:00:33.974 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:59:44 +0000 (0:00:00.059) 0:00:34.034 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:59:45 +0000 (0:00:00.081) 0:00:34.115 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:59:45 +0000 (0:00:00.052) 0:00:34.167 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:59:45 +0000 (0:00:00.054) 0:00:34.222 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:59:45 +0000 (0:00:00.055) 0:00:34.277 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:59:45 +0000 (0:00:00.050) 0:00:34.328 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:59:45 +0000 (0:00:00.047) 0:00:34.375 ****** ok: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:59:45 +0000 (0:00:00.568) 0:00:34.944 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "dest": "/etc/sysconfig/network", "src": "/root/.ansible/tmp/ansible-local-1603902647fsd4/tmprml9lxd5" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:59:46 +0000 (0:00:00.412) 0:00:35.356 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31' TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:59:46 +0000 (0:00:00.553) 0:00:35.910 ****** skipping: [/cache/rhel-8-y.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/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:59:46 +0000 (0:00:00.053) 0:00:35.963 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:59:46 +0000 (0:00:00.069) 0:00:36.033 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "LSR-TST-br31", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "initscripts" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'\n", "stderr_lines": [ "[002] #0, state:None persistent_state:absent, 'LSR-TST-br31': delete ifcfg-rh file '/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31'" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:59:47 +0000 (0:00:00.062) 0:00:36.095 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:59:47 +0000 (0:00:00.050) 0:00:36.146 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/rhel-8-y.qcow2.snap META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 17:59:47 +0000 (0:00:00.468) 0:00:36.615 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 17:59:48 +0000 (0:00:00.909) 0:00:37.524 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:59:48 +0000 (0:00:00.071) 0:00:37.596 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:59:48 +0000 (0:00:00.078) 0:00:37.674 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:59:48 +0000 (0:00:00.056) 0:00:37.731 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:59:49 +0000 (0:00:00.404) 0:00:38.135 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:59:49 +0000 (0:00:00.049) 0:00:38.185 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.020918", "end": "2022-08-03 13:59:49.490612", "rc": 1, "start": "2022-08-03 13:59:49.469694" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:59:49 +0000 (0:00:00.429) 0:00:38.614 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:59:49 +0000 (0:00:00.052) 0:00:38.666 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:59:49 +0000 (0:00:00.050) 0:00:38.717 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'LSR-TST-br31' is absent] **************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:59:49 +0000 (0:00:00.056) 0:00:38.773 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_absent.yml] ************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 17:59:49 +0000 (0:00:00.216) 0:00:38.989 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 17:59:50 +0000 (0:00:00.897) 0:00:39.887 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/rhel-8-y.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:59:50 +0000 (0:00:00.071) 0:00:39.959 ****** included: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/rhel-8-y.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:59:50 +0000 (0:00:00.071) 0:00:40.030 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface LSR-TST-br31 is absent] **************************** task path: /tmp/tmpt4s8r_w1/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:59:51 +0000 (0:00:00.393) 0:00:40.423 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=87 changed=5 unreachable=0 failed=0 skipped=38 rescued=0 ignored=2 Wednesday 03 August 2022 17:59:51 +0000 (0:00:00.112) 0:00:40.536 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 2.95s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.24s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.23s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmpt4s8r_w1/tests/network/tests_bridge_initscripts.yml:4 ----------------- Gathering Facts --------------------------------------------------------- 0.98s /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bridge.yml:15 ------------------ Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmpt4s8r_w1/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bridge.yml:3 ------------------- Enable EPEL 8 ----------------------------------------------------------- 0.82s /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:17 ----------------------- fedora.linux_system_roles.network : Enable network service -------------- 0.82s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 ---------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpt4s8r_w1/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:59:51 +0000 (0:00:00.044) 0:00:40.581 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006648", "end": "2022-08-03 13:59:51.857854", "rc": 0, "start": "2022-08-03 13:59:51.851206" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=88 changed=6 unreachable=0 failed=0 skipped=38 rescued=0 ignored=2 Wednesday 03 August 2022 17:59:51 +0000 (0:00:00.423) 0:00:41.005 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 2.95s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which services are running ---- 1.81s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.75s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.73s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which packages are installed --- 1.50s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.24s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 1.23s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmpt4s8r_w1/tests/network/tests_bridge_initscripts.yml:4 ----------------- Gathering Facts --------------------------------------------------------- 0.98s /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.93s /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.90s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bridge.yml:15 ------------------ Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmpt4s8r_w1/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bridge.yml:3 ------------------- Enable EPEL 8 ----------------------------------------------------------- 0.82s /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:17 ----------------------- fedora.linux_system_roles.network : Enable network service -------------- 0.82s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Get stats of system files ----------------------------------------------- 0.60s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 ----------------------------------