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:23:33 +0000 (0:00:00.018) 0:00:00.018 ****** 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": 1659547413.6340702, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547412.6330702, "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": "1740059146", "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:23:34 +0000 (0:00:00.607) 0:00:00.625 ****** [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': 1659547413.6340702, 'mtime': 1659546726.0, 'ctime': 1659547412.6330702, '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': '1740059146', '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": 1659547413.6340702, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659547412.6330702, "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": "1740059146", "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:23:34 +0000 (0:00:00.037) 0:00:00.662 ****** 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.004510", "end": "2022-08-03 13:23:34.433611", "rc": 0, "start": "2022-08-03 13:23:34.429101" } 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:23:34 +0000 (0:00:00.498) 0:00:01.161 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.61s /tmp/tmp088uft4w/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.50s /tmp/tmp088uft4w/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp088uft4w/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_bridge_nm.yml ************************************************** 10 plays in /tmp/tmp088uft4w/tests/tests_bridge_nm.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp088uft4w/tests/tests_bridge_nm.yml:5 Wednesday 03 August 2022 17:23:34 +0000 (0:00:00.068) 0:00:01.229 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp088uft4w/tests/tests_bridge_nm.yml:8 Wednesday 03 August 2022 17:23:35 +0000 (0:00:01.063) 0:00:02.293 ****** 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:23:35 +0000 (0:00:00.028) 0:00:02.321 ****** 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:23:35 +0000 (0:00:00.020) 0:00:02.341 ****** 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:23:35 +0000 (0:00:00.027) 0:00:02.369 ****** 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:23:36 +0000 (0:00:00.385) 0:00:02.754 ****** 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:23:36 +0000 (0:00:00.021) 0:00:02.776 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.449015", "end": "2022-08-03 13:23:36.856037", "rc": 0, "start": "2022-08-03 13:23:36.407022" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:23:37 +0000 (0:00:00.804) 0:00:03.580 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp088uft4w/tests/tests_bridge_nm.yml:9 Wednesday 03 August 2022 17:23:37 +0000 (0:00:00.019) 0:00:03.600 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "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:23:37 +0000 (0:00:00.044) 0:00:03.645 ****** 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:23:38 +0000 (0:00:00.836) 0:00:04.482 ****** 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:23:38 +0000 (0:00:00.033) 0:00:04.515 ****** 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:23:38 +0000 (0:00:00.029) 0:00:04.545 ****** 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:23:38 +0000 (0:00:00.036) 0:00:04.581 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003243", "end": "2022-08-03 13:23:38.228521", "rc": 0, "start": "2022-08-03 13:23:38.225278" } 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:23:38 +0000 (0:00:00.368) 0:00:04.950 ****** 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:23:38 +0000 (0:00:00.034) 0:00:04.984 ****** 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:23:38 +0000 (0:00:00.039) 0:00:05.024 ****** 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:38 +0000 (0:00:00.030) 0:00:05.054 ****** 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:38 +0000 (0:00:00.032) 0:00:05.087 ****** 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:39 +0000 (0:00:00.379) 0:00:05.466 ****** 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:23:39 +0000 (0:00:00.055) 0:00:05.521 ****** 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:40 +0000 (0:00:01.819) 0:00:07.341 ****** 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:40 +0000 (0:00:00.033) 0:00:07.374 ****** 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:41 +0000 (0:00:00.515) 0:00:07.890 ****** 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:43 +0000 (0:00:01.882) 0:00:09.773 ****** 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:44 +0000 (0:00:01.437) 0:00:11.210 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:23:44 +0000 (0:00:00.049) 0:00:11.259 ****** 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:44 +0000 (0:00:00.040) 0:00:11.299 ****** 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:44 +0000 (0:00:00.041) 0:00:11.341 ****** 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:44 +0000 (0:00:00.076) 0:00:11.418 ****** 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:45 +0000 (0:00:00.039) 0:00:11.457 ****** 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:45 +0000 (0:00:00.042) 0:00:11.500 ****** 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:45 +0000 (0:00:00.076) 0:00:11.577 ****** 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 : 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:45 +0000 (0:00:00.815) 0:00:12.393 ****** 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:46 +0000 (0:00:00.055) 0:00:12.448 ****** 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 : 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:46 +0000 (0:00:00.032) 0:00:12.481 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:46 +0000 (0:00:00.034) 0:00:12.515 ****** 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": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 2cd507eb-ca52-4208-8c90-98a8235fb60f [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 2cd507eb-ca52-4208-8c90-98a8235fb60f (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:46 +0000 (0:00:00.790) 0:00:13.306 ****** 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:46 +0000 (0:00:00.039) 0:00:13.345 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 2cd507eb-ca52-4208-8c90-98a8235fb60f", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 2cd507eb-ca52-4208-8c90-98a8235fb60f (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:46 +0000 (0:00:00.056) 0:00:13.402 ****** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 2cd507eb-ca52-4208-8c90-98a8235fb60f\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 2cd507eb-ca52-4208-8c90-98a8235fb60f (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 2cd507eb-ca52-4208-8c90-98a8235fb60f", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 2cd507eb-ca52-4208-8c90-98a8235fb60f (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:47 +0000 (0:00:00.053) 0:00:13.455 ****** 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:47 +0000 (0:00:00.073) 0:00:13.529 ****** 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:47 +0000 (0:00:00.558) 0:00:14.087 ****** 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:48 +0000 (0:00:00.866) 0:00:14.953 ****** 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:48 +0000 (0:00:00.055) 0:00:15.009 ****** 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:48 +0000 (0:00:00.056) 0:00:15.065 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659547426.5004642, "block_size": 4096, "blocks": 0, "ctime": 1659547426.5004642, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32630, "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": 1659547426.5004642, "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:49 +0000 (0:00:00.440) 0:00:15.506 ****** 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:49 +0000 (0:00:00.098) 0:00:15.604 ****** 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:50 +0000 (0:00:00.877) 0:00:16.481 ****** 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:50 +0000 (0:00:00.058) 0:00:16.540 ****** 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:50 +0000 (0:00:00.059) 0:00:16.599 ****** 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:50 +0000 (0:00:00.050) 0:00:16.649 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659547426.5550702, "block_size": 4096, "blocks": 8, "ctime": 1659547426.4980702, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2742, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659547426.4980702, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 250, "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:50 +0000 (0:00:00.418) 0:00:17.068 ****** 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:50 +0000 (0:00:00.050) 0:00:17.118 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.020984", "end": "2022-08-03 13:23:50.792542", "rc": 0, "start": "2022-08-03 13:23:50.771558" } STDOUT: LSR-TST-br31 /etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31 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:51 +0000 (0:00:00.415) 0:00:17.534 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": 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:51 +0000 (0:00:00.047) 0:00:17.582 ****** 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:51 +0000 (0:00:00.038) 0:00:17.620 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was 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:51 +0000 (0:00:00.039) 0:00:17.660 ****** 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:51 +0000 (0:00:00.048) 0:00:17.708 ****** 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:51 +0000 (0:00:00.114) 0:00:17.823 ****** 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:52 +0000 (0:00:00.880) 0:00:18.703 ****** 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:52 +0000 (0:00:00.058) 0:00:18.762 ****** 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:52 +0000 (0:00:00.541) 0:00:19.304 ****** 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:54 +0000 (0:00:01.741) 0:00:21.046 ****** 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:55 +0000 (0:00:01.195) 0:00:22.241 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:23:55 +0000 (0:00:00.047) 0:00:22.288 ****** 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:55 +0000 (0:00:00.042) 0:00:22.331 ****** 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:55 +0000 (0:00:00.040) 0:00:22.372 ****** 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:56 +0000 (0:00:00.075) 0:00:22.447 ****** 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:56 +0000 (0:00:00.044) 0:00:22.492 ****** 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:56 +0000 (0:00:00.039) 0:00:22.532 ****** 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:56 +0000 (0:00:00.057) 0:00:22.589 ****** 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 : 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:56 +0000 (0:00:00.593) 0:00:23.183 ****** 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:56 +0000 (0:00:00.059) 0:00:23.243 ****** 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 : 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:56 +0000 (0:00:00.036) 0:00:23.279 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:56 +0000 (0:00:00.035) 0:00:23.315 ****** 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", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: 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:57 +0000 (0:00:00.622) 0:00:23.937 ****** 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:57 +0000 (0:00:00.043) 0:00:23.980 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } 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:57 +0000 (0:00:00.046) 0:00:24.027 ****** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } 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:57 +0000 (0:00:00.047) 0:00:24.075 ****** 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:57 +0000 (0:00:00.043) 0:00:24.118 ****** 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:58 +0000 (0:00:00.531) 0:00:24.649 ****** 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:59 +0000 (0:00:00.869) 0:00:25.519 ****** 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:59 +0000 (0:00:00.061) 0:00:25.581 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.007940", "end": "2022-08-03 13:23:59.244475", "rc": 1, "start": "2022-08-03 13:23:59.236535" } STDERR: Cannot find device "LSR-TST-br31" MSG: non-zero return code ...ignoring 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:59 +0000 (0:00:00.455) 0:00:26.036 ****** 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:24:00 +0000 (0:00:00.908) 0:00:26.944 ****** 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:24:00 +0000 (0:00:00.062) 0:00:27.007 ****** 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:24:01 +0000 (0:00:00.543) 0:00:27.551 ****** 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:24:03 +0000 (0:00:02.693) 0:00:30.245 ****** 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:24:05 +0000 (0:00:01.214) 0:00:31.459 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 17:24:05 +0000 (0:00:00.045) 0:00:31.505 ****** 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:24:05 +0000 (0:00:00.044) 0:00:31.549 ****** 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:24:05 +0000 (0:00:00.067) 0:00:31.617 ****** 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:24:05 +0000 (0:00:00.076) 0:00:31.693 ****** 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:24:05 +0000 (0:00:00.044) 0:00:31.737 ****** 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:24:05 +0000 (0:00:00.047) 0:00:31.785 ****** 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:24:05 +0000 (0:00:00.061) 0:00:31.847 ****** 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 : Enable and start wpa_supplicant] ************ task path: /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 17:24:06 +0000 (0:00:00.591) 0:00:32.438 ****** 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:24:06 +0000 (0:00:00.056) 0:00:32.495 ****** 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 : 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:24:06 +0000 (0:00:00.037) 0:00:32.532 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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:24:06 +0000 (0:00:00.036) 0:00:32.569 ****** 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": "nm" } }, "changed": true } STDERR: 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:24:06 +0000 (0:00:00.569) 0:00:33.138 ****** 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:24:06 +0000 (0:00:00.042) 0:00:33.181 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } 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:24:06 +0000 (0:00:00.141) 0:00:33.322 ****** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } 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:24:06 +0000 (0:00:00.052) 0:00:33.375 ****** 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:24:06 +0000 (0:00:00.047) 0:00:33.422 ****** 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:24:07 +0000 (0:00:00.469) 0:00:33.892 ****** 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:24:08 +0000 (0:00:00.862) 0:00:34.754 ****** 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:24:08 +0000 (0:00:00.059) 0:00:34.813 ****** 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:24:08 +0000 (0:00:00.094) 0:00:34.908 ****** 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:24:08 +0000 (0:00:00.048) 0:00:34.956 ****** 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:24:08 +0000 (0:00:00.387) 0:00:35.344 ****** 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:24:08 +0000 (0:00:00.037) 0:00:35.381 ****** 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.016145", "end": "2022-08-03 13:24:09.054369", "rc": 1, "start": "2022-08-03 13:24:09.038224" } 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:24:09 +0000 (0:00:00.410) 0:00:35.792 ****** 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:24:09 +0000 (0:00:00.036) 0:00:35.828 ****** 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:24:09 +0000 (0:00:00.036) 0:00:35.865 ****** 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:24:09 +0000 (0:00:00.037) 0:00:35.902 ****** 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:24:09 +0000 (0:00:00.109) 0:00:36.012 ****** 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:24:10 +0000 (0:00:00.856) 0:00:36.868 ****** 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:24:10 +0000 (0:00:00.057) 0:00:36.926 ****** 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:24:10 +0000 (0:00:00.062) 0:00:36.988 ****** 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:24:10 +0000 (0:00:00.390) 0:00:37.378 ****** 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=83 changed=5 unreachable=0 failed=0 skipped=42 rescued=0 ignored=2 Wednesday 03 August 2022 17:24:11 +0000 (0:00:00.076) 0:00:37.455 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.69s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.88s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 1.82s /tmp/tmp088uft4w/tests/playbooks/tests_bridge.yml:15 -------------------------- 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 packages are installed --------- 1.44s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.21s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.20s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmp088uft4w/tests/tests_bridge_nm.yml:5 ---------------------------------- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmp088uft4w/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp088uft4w/tests/playbooks/down_profile.yml:3 --------------------------- 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.86s /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp088uft4w/tests/playbooks/tests_bridge.yml:3 --------------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.82s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Enable EPEL 8 ----------------------------------------------------------- 0.80s /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 ------------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.79s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.62s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- 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:24:11 +0000 (0:00:00.048) 0:00:37.503 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006557", "end": "2022-08-03 13:24:11.156505", "rc": 0, "start": "2022-08-03 13:24:11.149948" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=84 changed=6 unreachable=0 failed=0 skipped=42 rescued=0 ignored=2 Wednesday 03 August 2022 17:24:11 +0000 (0:00:00.455) 0:00:37.958 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.69s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.88s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 1.82s /tmp/tmp088uft4w/tests/playbooks/tests_bridge.yml:15 -------------------------- 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 packages are installed --------- 1.44s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.21s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 1.20s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 1.06s /tmp/tmp088uft4w/tests/tests_bridge_nm.yml:5 ---------------------------------- Gathering Facts --------------------------------------------------------- 0.91s /tmp/tmp088uft4w/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmp088uft4w/tests/playbooks/down_profile.yml:3 --------------------------- 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.86s /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmp088uft4w/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp088uft4w/tests/playbooks/tests_bridge.yml:3 --------------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.82s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Enable EPEL 8 ----------------------------------------------------------- 0.80s /tmp/tmp088uft4w/tests/tasks/enable_epel.yml:17 ------------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.79s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Configure networking connection profiles --- 0.62s /tmp/tmp088uft4w/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- 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: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": 1659549592.8574886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549591.8564885, "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": "423830652", "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:53 +0000 (0:00:00.608) 0:00:00.625 ****** [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': 1659549592.8574886, 'mtime': 1659548924.0, 'ctime': 1659549591.8564885, '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': '423830652', '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": 1659549592.8574886, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fba82b5b78ea37322e584bf452f6f8e163f0869b", "ctime": 1659549591.8564885, "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": "423830652", "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:53 +0000 (0:00:00.038) 0:00:00.663 ****** 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.004305", "end": "2022-08-03 13:59:53.619566", "rc": 0, "start": "2022-08-03 13:59:53.615261" } 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:53 +0000 (0:00:00.494) 0:00:01.158 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.61s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.49s /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_nm.yml ************************************************** 10 plays in /tmp/tmpt4s8r_w1/tests/network/tests_bridge_nm.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpt4s8r_w1/tests/network/tests_bridge_nm.yml:5 Wednesday 03 August 2022 17:59:53 +0000 (0:00:00.083) 0:00:01.241 ****** ok: [/cache/rhel-8-y.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tests_bridge_nm.yml:8 Wednesday 03 August 2022 17:59:54 +0000 (0:00:01.031) 0:00:02.273 ****** 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:54 +0000 (0:00:00.026) 0:00:02.299 ****** 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:54 +0000 (0:00:00.018) 0:00:02.318 ****** 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:54 +0000 (0:00:00.027) 0:00:02.346 ****** 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:55 +0000 (0:00:00.364) 0:00:02.710 ****** 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:55 +0000 (0:00:00.023) 0:00:02.733 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.470549", "end": "2022-08-03 13:59:56.046787", "rc": 0, "start": "2022-08-03 13:59:55.576238" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:59:56 +0000 (0:00:00.853) 0:00:03.587 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpt4s8r_w1/tests/network/tests_bridge_nm.yml:9 Wednesday 03 August 2022 17:59:56 +0000 (0:00:00.020) 0:00:03.607 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "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:56 +0000 (0:00:00.045) 0:00:03.653 ****** 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:57 +0000 (0:00:00.822) 0:00:04.475 ****** 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:57 +0000 (0:00:00.030) 0:00:04.505 ****** 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:57 +0000 (0:00:00.029) 0:00:04.535 ****** 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:57 +0000 (0:00:00.029) 0:00:04.565 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004704", "end": "2022-08-03 13:59:57.396464", "rc": 0, "start": "2022-08-03 13:59:57.391760" } 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:57 +0000 (0:00:00.372) 0:00:04.937 ****** 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:57 +0000 (0:00:00.031) 0:00:04.969 ****** 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:57 +0000 (0:00:00.029) 0:00:04.998 ****** 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:57 +0000 (0:00:00.030) 0:00:05.029 ****** 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:57 +0000 (0:00:00.032) 0:00:05.062 ****** 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:57 +0000 (0:00:00.372) 0:00:05.435 ****** 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:58 +0000 (0:00:00.055) 0:00:05.490 ****** 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:58 +0000 (0:00:00.810) 0:00:06.300 ****** 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:58 +0000 (0:00:00.035) 0:00:06.336 ****** 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:59 +0000 (0:00:00.505) 0:00:06.842 ****** 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 18:00:01 +0000 (0:00:01.820) 0:00:08.663 ****** 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 18:00:02 +0000 (0:00:01.531) 0:00:10.194 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 18:00:02 +0000 (0:00:00.049) 0:00:10.244 ****** 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 18:00:02 +0000 (0:00:00.039) 0:00:10.283 ****** 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 18:00:02 +0000 (0:00:00.038) 0:00:10.322 ****** 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 18:00:02 +0000 (0:00:00.078) 0:00:10.400 ****** 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 18:00:02 +0000 (0:00:00.038) 0:00:10.439 ****** 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 18:00:03 +0000 (0:00:00.042) 0:00:10.481 ****** 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 18:00:03 +0000 (0:00:00.080) 0:00:10.562 ****** 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 : 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 18:00:03 +0000 (0:00:00.805) 0:00:11.368 ****** 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 18:00:03 +0000 (0:00:00.053) 0:00:11.421 ****** 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 : 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 18:00:03 +0000 (0:00:00.033) 0:00:11.455 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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 18:00:04 +0000 (0:00:00.037) 0:00:11.493 ****** 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": "nm" } }, "changed": true } STDERR: [003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, c97d4b68-25d3-4daf-a54d-72f991049bd9 [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, c97d4b68-25d3-4daf-a54d-72f991049bd9 (is-modified) 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 18:00:04 +0000 (0:00:00.790) 0:00:12.284 ****** 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 18:00:04 +0000 (0:00:00.039) 0:00:12.323 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, c97d4b68-25d3-4daf-a54d-72f991049bd9", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, c97d4b68-25d3-4daf-a54d-72f991049bd9 (is-modified)" ] } 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 18:00:04 +0000 (0:00:00.044) 0:00:12.367 ****** 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": "nm" } }, "changed": true, "failed": false, "stderr": "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, c97d4b68-25d3-4daf-a54d-72f991049bd9\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, c97d4b68-25d3-4daf-a54d-72f991049bd9 (is-modified)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, c97d4b68-25d3-4daf-a54d-72f991049bd9", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, c97d4b68-25d3-4daf-a54d-72f991049bd9 (is-modified)" ] } } 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 18:00:04 +0000 (0:00:00.052) 0:00:12.419 ****** 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 18:00:05 +0000 (0:00:00.068) 0:00:12.488 ****** 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 18:00:05 +0000 (0:00:00.536) 0:00:13.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 18:00:06 +0000 (0:00:00.879) 0:00:13.904 ****** 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 18:00:06 +0000 (0:00:00.056) 0:00:13.960 ****** 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 18:00:06 +0000 (0:00:00.058) 0:00:14.019 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549604.670318, "block_size": 4096, "blocks": 0, "ctime": 1659549604.670318, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32624, "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": 1659549604.670318, "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 18:00:06 +0000 (0:00:00.436) 0:00:14.455 ****** 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 18:00:07 +0000 (0:00:00.103) 0:00:14.559 ****** 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 18:00:07 +0000 (0:00:00.878) 0:00:15.437 ****** 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 18:00:08 +0000 (0:00:00.058) 0:00:15.496 ****** 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 18:00:08 +0000 (0:00:00.064) 0:00:15.560 ****** 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 18:00:08 +0000 (0:00:00.045) 0:00:15.605 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "stat": { "atime": 1659549604.7204885, "block_size": 4096, "blocks": 8, "ctime": 1659549604.6674886, "dev": 64515, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 2742, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659549604.6674886, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 250, "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 18:00:08 +0000 (0:00:00.433) 0:00:16.039 ****** 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 18:00:08 +0000 (0:00:00.050) 0:00:16.090 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.022119", "end": "2022-08-03 14:00:08.951047", "rc": 0, "start": "2022-08-03 14:00:08.928928" } STDOUT: LSR-TST-br31 /etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31 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 18:00:09 +0000 (0:00:00.416) 0:00:16.506 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": 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 18:00:09 +0000 (0:00:00.046) 0:00:16.553 ****** 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 18:00:09 +0000 (0:00:00.035) 0:00:16.588 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was 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 18:00:09 +0000 (0:00:00.037) 0:00:16.626 ****** 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 18:00:09 +0000 (0:00:00.047) 0:00:16.673 ****** 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 18:00:09 +0000 (0:00:00.098) 0:00:16.771 ****** 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 18:00:10 +0000 (0:00:00.870) 0:00:17.642 ****** 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 18:00:10 +0000 (0:00:00.062) 0:00:17.705 ****** 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 18:00:10 +0000 (0:00:00.543) 0:00:18.248 ****** 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 18:00:12 +0000 (0:00:01.769) 0:00:20.018 ****** 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 18:00:13 +0000 (0:00:01.213) 0:00:21.231 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 18:00:13 +0000 (0:00:00.049) 0:00:21.280 ****** 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 18:00:13 +0000 (0:00:00.040) 0:00:21.321 ****** 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 18:00:13 +0000 (0:00:00.040) 0:00:21.361 ****** 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 18:00:13 +0000 (0:00:00.073) 0:00:21.435 ****** 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 18:00:14 +0000 (0:00:00.040) 0:00:21.475 ****** 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 18:00:14 +0000 (0:00:00.039) 0:00:21.515 ****** 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 18:00:14 +0000 (0:00:00.053) 0:00:21.568 ****** 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 : 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 18:00:14 +0000 (0:00:00.600) 0:00:22.168 ****** 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 18:00:14 +0000 (0:00:00.056) 0:00:22.225 ****** 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 : 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 18:00:14 +0000 (0:00:00.035) 0:00:22.261 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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 18:00:14 +0000 (0:00:00.036) 0:00:22.298 ****** changed: [/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": "nm" } }, "changed": true } STDERR: 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 18:00:15 +0000 (0:00:00.607) 0:00:22.905 ****** 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 18:00:15 +0000 (0:00:00.038) 0:00:22.944 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } 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 18:00:15 +0000 (0:00:00.049) 0:00:22.993 ****** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } 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 18:00:15 +0000 (0:00:00.047) 0:00:23.041 ****** 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 18:00:15 +0000 (0:00:00.042) 0:00:23.083 ****** 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 18:00:16 +0000 (0:00:00.506) 0:00:23.589 ****** 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 18:00:17 +0000 (0:00:00.887) 0:00:24.477 ****** 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 18:00:17 +0000 (0:00:00.058) 0:00:24.535 ****** fatal: [/cache/rhel-8-y.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.009163", "end": "2022-08-03 14:00:17.376219", "rc": 1, "start": "2022-08-03 14:00:17.367056" } STDERR: Cannot find device "LSR-TST-br31" MSG: non-zero return code ...ignoring 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 18:00:17 +0000 (0:00:00.442) 0:00:24.978 ****** 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 18:00:18 +0000 (0:00:00.878) 0:00:25.856 ****** 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 18:00:18 +0000 (0:00:00.061) 0:00:25.918 ****** 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 18:00:18 +0000 (0:00:00.527) 0:00:26.446 ****** 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 18:00:20 +0000 (0:00:01.725) 0:00:28.171 ****** 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 18:00:21 +0000 (0:00:01.271) 0:00:29.443 ****** ok: [/cache/rhel-8-y.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 18:00:22 +0000 (0:00:00.049) 0:00:29.492 ****** 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 18:00:22 +0000 (0:00:00.040) 0:00:29.532 ****** 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 18:00:22 +0000 (0:00:00.039) 0:00:29.572 ****** 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 18:00:22 +0000 (0:00:00.074) 0:00:29.646 ****** 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 18:00:22 +0000 (0:00:00.039) 0:00:29.685 ****** 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 18:00:22 +0000 (0:00:00.040) 0:00:29.726 ****** 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 18:00:22 +0000 (0:00:00.054) 0:00:29.781 ****** 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 : 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 18:00:22 +0000 (0:00:00.583) 0:00:30.364 ****** 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 18:00:22 +0000 (0:00:00.058) 0:00:30.423 ****** 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 : 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 18:00:22 +0000 (0:00:00.038) 0:00:30.461 ****** skipping: [/cache/rhel-8-y.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } 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 18:00:23 +0000 (0:00:00.036) 0:00:30.498 ****** 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": "nm" } }, "changed": true } STDERR: 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 18:00:23 +0000 (0:00:00.565) 0:00:31.064 ****** 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 18:00:23 +0000 (0:00:00.041) 0:00:31.105 ****** ok: [/cache/rhel-8-y.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } 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 18:00:23 +0000 (0:00:00.051) 0:00:31.156 ****** 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": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } 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 18:00:23 +0000 (0:00:00.047) 0:00:31.204 ****** 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 18:00:23 +0000 (0:00:00.039) 0:00:31.243 ****** 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 18:00:24 +0000 (0:00:00.477) 0:00:31.720 ****** 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 18:00:26 +0000 (0:00:01.870) 0:00:33.591 ****** 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 18:00:26 +0000 (0:00:00.059) 0:00:33.651 ****** 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 18:00:26 +0000 (0:00:00.090) 0:00:33.741 ****** 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 18:00:26 +0000 (0:00:00.046) 0:00:33.787 ****** 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 18:00:26 +0000 (0:00:00.384) 0:00:34.171 ****** 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 18:00:26 +0000 (0:00:00.038) 0:00:34.210 ****** 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.018339", "end": "2022-08-03 14:00:27.076676", "rc": 1, "start": "2022-08-03 14:00:27.058337" } 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 18:00:27 +0000 (0:00:00.428) 0:00:34.639 ****** 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 18:00:27 +0000 (0:00:00.038) 0:00:34.677 ****** 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 18:00:27 +0000 (0:00:00.036) 0:00:34.714 ****** 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 18:00:27 +0000 (0:00:00.034) 0:00:34.749 ****** 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 18:00:27 +0000 (0:00:00.093) 0:00:34.843 ****** 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 18:00:28 +0000 (0:00:00.856) 0:00:35.699 ****** 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 18:00:28 +0000 (0:00:00.059) 0:00:35.758 ****** 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 18:00:28 +0000 (0:00:00.057) 0:00:35.816 ****** 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 18:00:28 +0000 (0:00:00.382) 0:00:36.199 ****** 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=83 changed=5 unreachable=0 failed=0 skipped=42 rescued=0 ignored=2 Wednesday 03 August 2022 18:00:28 +0000 (0:00:00.068) 0:00:36.267 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.87s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- fedora.linux_system_roles.network : Check which services are running ---- 1.82s /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.77s /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.53s /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.27s /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.21s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpt4s8r_w1/tests/network/tests_bridge_nm.yml:5 -------------------------- Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmpt4s8r_w1/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- Enable EPEL 8 ----------------------------------------------------------- 0.85s /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:17 ----------------------- Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bridge.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bridge.yml:15 ------------------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.81s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.79s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.61s /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 18:00:28 +0000 (0:00:00.047) 0:00:36.314 ****** changed: [/cache/rhel-8-y.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.005745", "end": "2022-08-03 14:00:29.144136", "rc": 0, "start": "2022-08-03 14:00:29.138391" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-8-y.qcow2.snap : ok=84 changed=6 unreachable=0 failed=0 skipped=42 rescued=0 ignored=2 Wednesday 03 August 2022 18:00:29 +0000 (0:00:00.400) 0:00:36.714 ****** =============================================================================== Gathering Facts --------------------------------------------------------- 1.87s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- fedora.linux_system_roles.network : Check which services are running ---- 1.82s /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.77s /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.53s /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.27s /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.21s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpt4s8r_w1/tests/network/tests_bridge_nm.yml:5 -------------------------- Gathering Facts --------------------------------------------------------- 0.89s /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.88s /tmp/tmpt4s8r_w1/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmpt4s8r_w1/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpt4s8r_w1/tests/network/playbooks/run_tasks.yml:3 ---------------------- Enable EPEL 8 ----------------------------------------------------------- 0.85s /tmp/tmpt4s8r_w1/tests/network/tasks/enable_epel.yml:17 ----------------------- Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bridge.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmpt4s8r_w1/tests/network/playbooks/tests_bridge.yml:15 ------------------ fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.81s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.79s /tmp/tmpy4hq2u0g/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.61s /tmp/tmpt4s8r_w1/tests/network/_backup.yml:6 ----------------------------------