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/tmpxngj32xw 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/tmpcu0yxwd0/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpcu0yxwd0/tests/_backup.yml:6 Wednesday 03 August 2022 15:40:21 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659541220.256274, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659541220.256274, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 38291, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/_backup.yml:13 Wednesday 03 August 2022 15:40:22 +0000 (0:00:00.630) 0:00:00.648 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-36.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 38291, 'dev': 31, 'nlink': 1, 'atime': 1659541220.256274, 'mtime': 1659248396.0, 'ctime': 1659541220.256274, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': True, 'rgrp': True, 'xgrp': True, 'woth': True, 'roth': True, 'xoth': True, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'lnk_source': '/run/systemd/resolve/stub-resolv.conf', 'lnk_target': '../run/systemd/resolve/stub-resolv.conf', 'pw_name': 'root', 'gr_name': 'root', 'mimetype': 'inode/symlink', 'charset': 'binary', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659541220.256274, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659541220.256274, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 38291, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/_backup.yml:19 Wednesday 03 August 2022 15:40:22 +0000 (0:00:00.033) 0:00:00.681 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003688", "end": "2022-08-03 15:40:22.026161", "rc": 0, "start": "2022-08-03 15:40:22.022473" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:40:22 +0000 (0:00:00.514) 0:00:01.196 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.63s /tmp/tmpcu0yxwd0/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.51s /tmp/tmpcu0yxwd0/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpcu0yxwd0/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_bridge_nm.yml ************************************************** 10 plays in /tmp/tmpcu0yxwd0/tests/tests_bridge_nm.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/tests_bridge_nm.yml:5 Wednesday 03 August 2022 15:40:22 +0000 (0:00:00.062) 0:00:01.258 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tests_bridge_nm.yml:8 Wednesday 03 August 2022 15:40:23 +0000 (0:00:01.046) 0:00:02.304 ****** included: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml for /cache/fedora-36.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:40:24 +0000 (0:00:00.027) 0:00:02.332 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:40:24 +0000 (0:00:00.019) 0:00:02.352 ****** included: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml for /cache/fedora-36.qcow2.snap TASK [Create EPEL 36] ********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:40:24 +0000 (0:00:00.029) 0:00:02.382 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:40:24 +0000 (0:00:00.018) 0:00:02.400 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:40:24 +0000 (0:00:00.019) 0:00:02.420 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:40:24 +0000 (0:00:00.018) 0:00:02.439 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/tests_bridge_nm.yml:9 Wednesday 03 August 2022 15:40:24 +0000 (0:00:00.020) 0:00:02.459 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/playbooks/tests_bridge.yml:3 Wednesday 03 August 2022 15:40:24 +0000 (0:00:00.046) 0:00:02.506 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [set interface=LSR-TST-br31] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_bridge.yml:9 Wednesday 03 August 2022 15:40:25 +0000 (0:00:00.835) 0:00:03.341 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_bridge.yml:12 Wednesday 03 August 2022 15:40:25 +0000 (0:00:00.032) 0:00:03.374 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:40:25 +0000 (0:00:00.029) 0:00:03.404 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:40:25 +0000 (0:00:00.029) 0:00:03.433 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003506", "end": "2022-08-03 15:40:24.675763", "rc": 0, "start": "2022-08-03 15:40:24.672257" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:40:25 +0000 (0:00:00.408) 0:00:03.842 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:40:25 +0000 (0:00:00.030) 0:00:03.872 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_bridge.yml:13 Wednesday 03 August 2022 15:40:25 +0000 (0:00:00.031) 0:00:03.904 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 15:40:25 +0000 (0:00:00.032) 0:00:03.936 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:40:25 +0000 (0:00:00.031) 0:00:03.968 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface LSR-TST-br31 is absent] **************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 15:40:26 +0000 (0:00:00.437) 0:00:04.406 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_bridge.yml:15 Wednesday 03 August 2022 15:40:26 +0000 (0:00:00.056) 0:00:04.462 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:40:26 +0000 (0:00:00.818) 0:00:05.281 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:40:27 +0000 (0:00:00.033) 0:00:05.314 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:40:27 +0000 (0:00:00.550) 0:00:05.865 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:40:29 +0000 (0:00:02.197) 0:00:08.062 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:40:30 +0000 (0:00:00.966) 0:00:09.028 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:40:30 +0000 (0:00:00.041) 0:00:09.070 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:40:30 +0000 (0:00:00.036) 0:00:09.107 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:40:30 +0000 (0:00:00.037) 0:00:09.145 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:40:30 +0000 (0:00:00.073) 0:00:09.219 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:40:30 +0000 (0:00:00.037) 0:00:09.256 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:40:30 +0000 (0:00:00.036) 0:00:09.292 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:40:31 +0000 (0:00:00.053) 0:00:09.346 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:40:31 +0000 (0:00:00.854) 0:00:10.201 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:40:31 +0000 (0:00:00.054) 0:00:10.255 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:40:31 +0000 (0:00:00.034) 0:00:10.290 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:40:32 +0000 (0:00:00.033) 0:00:10.323 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.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, 1c2a586b-bbb8-44be-8ad6-194015a6848c [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 1c2a586b-bbb8-44be-8ad6-194015a6848c (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:40:32 +0000 (0:00:00.813) 0:00:11.137 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:40:32 +0000 (0:00:00.039) 0:00:11.176 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 1c2a586b-bbb8-44be-8ad6-194015a6848c", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 1c2a586b-bbb8-44be-8ad6-194015a6848c (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:40:32 +0000 (0:00:00.044) 0:00:11.220 ****** ok: [/cache/fedora-36.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, 1c2a586b-bbb8-44be-8ad6-194015a6848c\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 1c2a586b-bbb8-44be-8ad6-194015a6848c (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 1c2a586b-bbb8-44be-8ad6-194015a6848c", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 1c2a586b-bbb8-44be-8ad6-194015a6848c (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:40:32 +0000 (0:00:00.044) 0:00:11.264 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:40:32 +0000 (0:00:00.035) 0:00:11.300 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 15:40:33 +0000 (0:00:00.653) 0:00:11.953 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 15:40:34 +0000 (0:00:00.868) 0:00:12.822 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:40:34 +0000 (0:00:00.054) 0:00:12.876 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:40:34 +0000 (0:00:00.057) 0:00:12.934 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659541231.9167912, "block_size": 4096, "blocks": 0, "ctime": 1659541231.9167912, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30209, "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": 1659541231.9167912, "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/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:40:35 +0000 (0:00:00.418) 0:00:13.352 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 15:40:35 +0000 (0:00:00.169) 0:00:13.522 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 15:40:36 +0000 (0:00:00.856) 0:00:14.378 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:40:36 +0000 (0:00:00.057) 0:00:14.436 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:40:36 +0000 (0:00:00.059) 0:00:14.496 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:40:36 +0000 (0:00:00.046) 0:00:14.542 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:40:36 +0000 (0:00:00.424) 0:00:14.966 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:40:36 +0000 (0:00:00.034) 0:00:15.001 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.019257", "end": "2022-08-03 15:40:36.301768", "rc": 0, "start": "2022-08-03 15:40:36.282511" } STDOUT: LSR-TST-br31 /etc/NetworkManager/system-connections/LSR-TST-br31.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:40:37 +0000 (0:00:00.483) 0:00:15.484 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:40:37 +0000 (0:00:00.049) 0:00:15.533 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:40:37 +0000 (0:00:00.033) 0:00:15.567 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'LSR-TST-br31' is present] *************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:40:37 +0000 (0:00:00.034) 0:00:15.602 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'LSR-TST-br31' is present] ******** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:40:37 +0000 (0:00:00.049) 0:00:15.651 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/down_profile.yml:3 Wednesday 03 August 2022 15:40:37 +0000 (0:00:00.096) 0:00:15.748 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:40:38 +0000 (0:00:00.852) 0:00:16.601 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:40:38 +0000 (0:00:00.094) 0:00:16.695 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:40:38 +0000 (0:00:00.593) 0:00:17.289 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:40:41 +0000 (0:00:02.021) 0:00:19.310 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:40:41 +0000 (0:00:00.807) 0:00:20.118 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:40:41 +0000 (0:00:00.045) 0:00:20.164 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:40:41 +0000 (0:00:00.039) 0:00:20.203 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:40:41 +0000 (0:00:00.037) 0:00:20.241 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:40:42 +0000 (0:00:00.074) 0:00:20.316 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:40:42 +0000 (0:00:00.038) 0:00:20.354 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:40:42 +0000 (0:00:00.039) 0:00:20.394 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:40:42 +0000 (0:00:00.055) 0:00:20.450 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:40:42 +0000 (0:00:00.617) 0:00:21.068 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:40:42 +0000 (0:00:00.055) 0:00:21.123 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:40:42 +0000 (0:00:00.035) 0:00:21.159 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:40:42 +0000 (0:00:00.035) 0:00:21.195 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:40:43 +0000 (0:00:00.704) 0:00:21.899 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:40:43 +0000 (0:00:00.039) 0:00:21.938 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:40:43 +0000 (0:00:00.045) 0:00:21.984 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:40:43 +0000 (0:00:00.047) 0:00:22.031 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:40:43 +0000 (0:00:00.039) 0:00:22.071 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 15:40:44 +0000 (0:00:00.479) 0:00:22.550 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 15:40:45 +0000 (0:00:00.854) 0:00:23.405 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/delete_interface.yml for /cache/fedora-36.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 15:40:45 +0000 (0:00:00.083) 0:00:23.488 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.008999", "end": "2022-08-03 15:40:44.741240", "rc": 1, "start": "2022-08-03 15:40:44.732241" } 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/tmpcu0yxwd0/tests/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 15:40:45 +0000 (0:00:00.490) 0:00:23.979 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:40:46 +0000 (0:00:00.858) 0:00:24.837 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:40:46 +0000 (0:00:00.059) 0:00:24.896 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:40:47 +0000 (0:00:00.598) 0:00:25.495 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:40:49 +0000 (0:00:01.996) 0:00:27.491 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:40:49 +0000 (0:00:00.706) 0:00:28.198 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:40:49 +0000 (0:00:00.083) 0:00:28.281 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:40:50 +0000 (0:00:00.040) 0:00:28.321 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:40:50 +0000 (0:00:00.076) 0:00:28.398 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:40:50 +0000 (0:00:00.076) 0:00:28.474 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:40:50 +0000 (0:00:00.039) 0:00:28.514 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:40:50 +0000 (0:00:00.042) 0:00:28.556 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:40:50 +0000 (0:00:00.053) 0:00:28.610 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:40:50 +0000 (0:00:00.599) 0:00:29.210 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:40:50 +0000 (0:00:00.053) 0:00:29.263 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:40:50 +0000 (0:00:00.032) 0:00:29.295 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:40:51 +0000 (0:00:00.031) 0:00:29.327 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:40:51 +0000 (0:00:00.573) 0:00:29.900 ****** skipping: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:40:51 +0000 (0:00:00.040) 0:00:29.941 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:40:51 +0000 (0:00:00.107) 0:00:30.048 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:40:51 +0000 (0:00:00.043) 0:00:30.091 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:40:51 +0000 (0:00:00.036) 0:00:30.128 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 15:40:52 +0000 (0:00:00.490) 0:00:30.618 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 15:40:53 +0000 (0:00:00.969) 0:00:31.588 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 15:40:53 +0000 (0:00:00.055) 0:00:31.644 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:40:53 +0000 (0:00:00.089) 0:00:31.734 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:40:53 +0000 (0:00:00.043) 0:00:31.777 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:40:53 +0000 (0:00:00.404) 0:00:32.182 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:40:53 +0000 (0:00:00.032) 0:00:32.214 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.022916", "end": "2022-08-03 15:40:53.482482", "rc": 1, "start": "2022-08-03 15:40:53.459566" } 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/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:40:54 +0000 (0:00:00.453) 0:00:32.668 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:40:54 +0000 (0:00:00.035) 0:00:32.703 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:40:54 +0000 (0:00:00.036) 0:00:32.739 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'LSR-TST-br31' is absent] **************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 15:40:54 +0000 (0:00:00.035) 0:00:32.775 ****** ok: [/cache/fedora-36.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/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 15:40:54 +0000 (0:00:00.088) 0:00:32.863 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 15:40:55 +0000 (0:00:00.844) 0:00:33.707 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 15:40:55 +0000 (0:00:00.054) 0:00:33.761 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:40:55 +0000 (0:00:00.072) 0:00:33.834 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface LSR-TST-br31 is absent] **************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 15:40:55 +0000 (0:00:00.418) 0:00:34.252 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=80 changed=4 unreachable=0 failed=0 skipped=45 rescued=0 ignored=2 Wednesday 03 August 2022 15:40:56 +0000 (0:00:00.066) 0:00:34.318 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.20s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.02s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.00s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmpcu0yxwd0/tests/tests_bridge_nm.yml:5 ---------------------------------- Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:3 ------------------------------ linux-system-roles.network : Check which packages are installed --------- 0.97s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpcu0yxwd0/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmpcu0yxwd0/tests/playbooks/down_profile+delete_interface.yml:4 ---------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.85s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmpcu0yxwd0/tests/playbooks/down_profile.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpcu0yxwd0/tests/playbooks/tests_bridge.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmpcu0yxwd0/tests/playbooks/tests_bridge.yml:15 -------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.81s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.81s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.71s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.70s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Re-test connectivity ----------------------- 0.65s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpcu0yxwd0/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/_restore.yml:4 Wednesday 03 August 2022 15:40:56 +0000 (0:00:00.045) 0:00:34.363 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007093", "end": "2022-08-03 15:40:55.607027", "rc": 0, "start": "2022-08-03 15:40:55.599934" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=81 changed=5 unreachable=0 failed=0 skipped=45 rescued=0 ignored=2 Wednesday 03 August 2022 15:40:56 +0000 (0:00:00.451) 0:00:34.815 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.20s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.02s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.00s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 1.05s /tmp/tmpcu0yxwd0/tests/tests_bridge_nm.yml:5 ---------------------------------- Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:3 ------------------------------ linux-system-roles.network : Check which packages are installed --------- 0.97s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpcu0yxwd0/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmpcu0yxwd0/tests/playbooks/down_profile+delete_interface.yml:4 ---------- linux-system-roles.network : Enable and start NetworkManager ------------ 0.85s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmpcu0yxwd0/tests/playbooks/down_profile.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpcu0yxwd0/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpcu0yxwd0/tests/playbooks/tests_bridge.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.82s /tmp/tmpcu0yxwd0/tests/playbooks/tests_bridge.yml:15 -------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.81s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.81s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.71s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.70s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Re-test connectivity ----------------------- 0.65s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- 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/tmpxngj32xw 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/tmpsh02am6p/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpsh02am6p/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:07:38 +0000 (0:00:00.018) 0:00:00.018 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659542857.505551, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659542857.505551, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 38293, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:07:39 +0000 (0:00:00.653) 0:00:00.671 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-36.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 38293, 'dev': 31, 'nlink': 1, 'atime': 1659542857.505551, 'mtime': 1659248396.0, 'ctime': 1659542857.505551, 'wusr': True, 'rusr': True, 'xusr': True, 'wgrp': True, 'rgrp': True, 'xgrp': True, 'woth': True, 'roth': True, 'xoth': True, 'isuid': False, 'isgid': False, 'blocks': 8, 'block_size': 4096, 'device_type': 0, 'readable': True, 'writeable': True, 'executable': False, 'lnk_source': '/run/systemd/resolve/stub-resolv.conf', 'lnk_target': '../run/systemd/resolve/stub-resolv.conf', 'pw_name': 'root', 'gr_name': 'root', 'mimetype': 'inode/symlink', 'charset': 'binary', 'version': None, 'attributes': [], 'attr_flags': ''}, 'invocation': {'module_args': {'path': '/etc/resolv.conf', 'follow': False, 'get_md5': False, 'get_checksum': True, 'get_mime': True, 'get_attributes': True, 'checksum_algorithm': 'sha1'}}, 'ansible_facts': {'discovered_interpreter_python': '/usr/bin/python3'}, 'failed': False, 'item': '/etc/resolv.conf', 'ansible_loop_var': 'item'}) => { "ansible_facts": { "_existing_files": " /etc/resolv.conf" }, "ansible_loop_var": "item", "changed": false, "item": { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "failed": false, "invocation": { "module_args": { "checksum_algorithm": "sha1", "follow": false, "get_attributes": true, "get_checksum": true, "get_md5": false, "get_mime": true, "path": "/etc/resolv.conf" } }, "item": "/etc/resolv.conf", "stat": { "atime": 1659542857.505551, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659542857.505551, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 38293, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:07:39 +0000 (0:00:00.035) 0:00:00.707 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004207", "end": "2022-08-03 16:07:39.306169", "rc": 0, "start": "2022-08-03 16:07:39.301962" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:07:40 +0000 (0:00:00.526) 0:00:01.233 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.65s /tmp/tmpsh02am6p/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.53s /tmp/tmpsh02am6p/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpsh02am6p/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_bridge_nm.yml ************************************************** 10 plays in /tmp/tmpsh02am6p/tests/network/tests_bridge_nm.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/tests_bridge_nm.yml:5 Wednesday 03 August 2022 16:07:40 +0000 (0:00:00.090) 0:00:01.323 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tests_bridge_nm.yml:8 Wednesday 03 August 2022 16:07:41 +0000 (0:00:01.038) 0:00:02.362 ****** included: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml for /cache/fedora-36.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:07:41 +0000 (0:00:00.025) 0:00:02.388 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:07:41 +0000 (0:00:00.018) 0:00:02.407 ****** included: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml for /cache/fedora-36.qcow2.snap TASK [Create EPEL 36] ********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:07:41 +0000 (0:00:00.027) 0:00:02.435 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:07:41 +0000 (0:00:00.018) 0:00:02.453 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:07:41 +0000 (0:00:00.017) 0:00:02.470 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:07:41 +0000 (0:00:00.017) 0:00:02.487 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/tests_bridge_nm.yml:9 Wednesday 03 August 2022 16:07:41 +0000 (0:00:00.020) 0:00:02.508 ****** ok: [/cache/fedora-36.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/tmpsh02am6p/tests/network/playbooks/tests_bridge.yml:3 Wednesday 03 August 2022 16:07:41 +0000 (0:00:00.043) 0:00:02.551 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [set interface=LSR-TST-br31] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_bridge.yml:9 Wednesday 03 August 2022 16:07:42 +0000 (0:00:00.795) 0:00:03.347 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_bridge.yml:12 Wednesday 03 August 2022 16:07:42 +0000 (0:00:00.031) 0:00:03.378 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:07:42 +0000 (0:00:00.029) 0:00:03.408 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:07:42 +0000 (0:00:00.028) 0:00:03.437 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003750", "end": "2022-08-03 16:07:41.937719", "rc": 0, "start": "2022-08-03 16:07:41.933969" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:07:42 +0000 (0:00:00.417) 0:00:03.854 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:07:42 +0000 (0:00:00.030) 0:00:03.884 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_bridge.yml:13 Wednesday 03 August 2022 16:07:42 +0000 (0:00:00.033) 0:00:03.918 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:07:42 +0000 (0:00:00.030) 0:00:03.948 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:07:42 +0000 (0:00:00.027) 0:00:03.976 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface LSR-TST-br31 is absent] **************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:07:43 +0000 (0:00:00.410) 0:00:04.386 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_bridge.yml:15 Wednesday 03 August 2022 16:07:43 +0000 (0:00:00.057) 0:00:04.444 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:07:44 +0000 (0:00:00.799) 0:00:05.244 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:07:44 +0000 (0:00:00.036) 0:00:05.280 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:07:44 +0000 (0:00:00.602) 0:00:05.882 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:07:46 +0000 (0:00:02.122) 0:00:08.004 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:07:47 +0000 (0:00:01.002) 0:00:09.006 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:07:47 +0000 (0:00:00.047) 0:00:09.054 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:07:47 +0000 (0:00:00.038) 0:00:09.093 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:07:48 +0000 (0:00:00.038) 0:00:09.131 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:07:48 +0000 (0:00:00.075) 0:00:09.206 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:07:48 +0000 (0:00:00.040) 0:00:09.247 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:07:48 +0000 (0:00:00.039) 0:00:09.286 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:07:48 +0000 (0:00:00.054) 0:00:09.340 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:07:49 +0000 (0:00:00.888) 0:00:10.229 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:07:49 +0000 (0:00:00.055) 0:00:10.285 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:07:49 +0000 (0:00:00.034) 0:00:10.319 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:07:49 +0000 (0:00:00.034) 0:00:10.353 ****** changed: [/cache/fedora-36.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, b4af1e32-6f37-4d3f-9dfd-96cb5aa94f87 [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, b4af1e32-6f37-4d3f-9dfd-96cb5aa94f87 (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:07:50 +0000 (0:00:00.795) 0:00:11.149 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:07:50 +0000 (0:00:00.037) 0:00:11.187 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, b4af1e32-6f37-4d3f-9dfd-96cb5aa94f87", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, b4af1e32-6f37-4d3f-9dfd-96cb5aa94f87 (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:07:50 +0000 (0:00:00.042) 0:00:11.230 ****** ok: [/cache/fedora-36.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, b4af1e32-6f37-4d3f-9dfd-96cb5aa94f87\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, b4af1e32-6f37-4d3f-9dfd-96cb5aa94f87 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, b4af1e32-6f37-4d3f-9dfd-96cb5aa94f87", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, b4af1e32-6f37-4d3f-9dfd-96cb5aa94f87 (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:07:50 +0000 (0:00:00.045) 0:00:11.276 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:07:50 +0000 (0:00:00.039) 0:00:11.315 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 16:07:50 +0000 (0:00:00.655) 0:00:11.971 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 16:07:51 +0000 (0:00:00.863) 0:00:12.834 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:07:51 +0000 (0:00:00.053) 0:00:12.888 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:07:51 +0000 (0:00:00.053) 0:00:12.941 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542869.1786318, "block_size": 4096, "blocks": 0, "ctime": 1659542869.1786318, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30209, "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": 1659542869.1786318, "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/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:07:52 +0000 (0:00:00.424) 0:00:13.366 ****** ok: [/cache/fedora-36.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/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 16:07:52 +0000 (0:00:00.128) 0:00:13.495 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 16:07:53 +0000 (0:00:00.858) 0:00:14.353 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:07:53 +0000 (0:00:00.057) 0:00:14.410 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:07:53 +0000 (0:00:00.058) 0:00:14.469 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:07:53 +0000 (0:00:00.043) 0:00:14.513 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:07:53 +0000 (0:00:00.417) 0:00:14.930 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:07:53 +0000 (0:00:00.044) 0:00:14.975 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.019402", "end": "2022-08-03 16:07:53.534954", "rc": 0, "start": "2022-08-03 16:07:53.515552" } STDOUT: LSR-TST-br31 /etc/NetworkManager/system-connections/LSR-TST-br31.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:07:54 +0000 (0:00:00.489) 0:00:15.464 ****** ok: [/cache/fedora-36.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/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:07:54 +0000 (0:00:00.049) 0:00:15.514 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:07:54 +0000 (0:00:00.036) 0:00:15.551 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'LSR-TST-br31' is present] *************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:07:54 +0000 (0:00:00.036) 0:00:15.588 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'LSR-TST-br31' is present] ******** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:07:54 +0000 (0:00:00.046) 0:00:15.635 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/down_profile.yml:3 Wednesday 03 August 2022 16:07:54 +0000 (0:00:00.095) 0:00:15.730 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:07:55 +0000 (0:00:00.858) 0:00:16.589 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:07:55 +0000 (0:00:00.060) 0:00:16.649 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:07:56 +0000 (0:00:00.611) 0:00:17.260 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:07:58 +0000 (0:00:02.014) 0:00:19.275 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:07:58 +0000 (0:00:00.737) 0:00:20.012 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:07:59 +0000 (0:00:00.096) 0:00:20.108 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:07:59 +0000 (0:00:00.040) 0:00:20.149 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:07:59 +0000 (0:00:00.039) 0:00:20.188 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:07:59 +0000 (0:00:00.075) 0:00:20.264 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:07:59 +0000 (0:00:00.040) 0:00:20.305 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:07:59 +0000 (0:00:00.041) 0:00:20.347 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:07:59 +0000 (0:00:00.053) 0:00:20.401 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:07:59 +0000 (0:00:00.604) 0:00:21.005 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:07:59 +0000 (0:00:00.056) 0:00:21.061 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:07:59 +0000 (0:00:00.036) 0:00:21.097 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:08:00 +0000 (0:00:00.035) 0:00:21.133 ****** changed: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:08:00 +0000 (0:00:00.692) 0:00:21.826 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:08:00 +0000 (0:00:00.039) 0:00:21.865 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:08:00 +0000 (0:00:00.050) 0:00:21.916 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:08:00 +0000 (0:00:00.049) 0:00:21.965 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:08:00 +0000 (0:00:00.040) 0:00:22.006 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 16:08:01 +0000 (0:00:00.512) 0:00:22.518 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 16:08:02 +0000 (0:00:00.853) 0:00:23.371 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/delete_interface.yml for /cache/fedora-36.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 16:08:02 +0000 (0:00:00.083) 0:00:23.454 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.010770", "end": "2022-08-03 16:08:01.978820", "rc": 1, "start": "2022-08-03 16:08:01.968050" } 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/tmpsh02am6p/tests/network/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 16:08:02 +0000 (0:00:00.511) 0:00:23.965 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:08:03 +0000 (0:00:00.854) 0:00:24.819 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:08:03 +0000 (0:00:00.059) 0:00:24.879 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:08:04 +0000 (0:00:00.624) 0:00:25.503 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:08:06 +0000 (0:00:02.020) 0:00:27.524 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:08:07 +0000 (0:00:00.744) 0:00:28.268 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:08:07 +0000 (0:00:00.049) 0:00:28.318 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:08:07 +0000 (0:00:00.040) 0:00:28.359 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:08:07 +0000 (0:00:00.070) 0:00:28.430 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:08:07 +0000 (0:00:00.073) 0:00:28.503 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:08:07 +0000 (0:00:00.039) 0:00:28.542 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:08:07 +0000 (0:00:00.040) 0:00:28.583 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:08:07 +0000 (0:00:00.055) 0:00:28.639 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:08:08 +0000 (0:00:00.605) 0:00:29.244 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:08:08 +0000 (0:00:00.055) 0:00:29.300 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:08:08 +0000 (0:00:00.034) 0:00:29.334 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:08:08 +0000 (0:00:00.033) 0:00:29.368 ****** changed: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:08:08 +0000 (0:00:00.609) 0:00:29.978 ****** skipping: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:08:08 +0000 (0:00:00.039) 0:00:30.017 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:08:09 +0000 (0:00:00.109) 0:00:30.127 ****** ok: [/cache/fedora-36.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/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:08:09 +0000 (0:00:00.048) 0:00:30.176 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:08:09 +0000 (0:00:00.043) 0:00:30.219 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 16:08:09 +0000 (0:00:00.498) 0:00:30.718 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 16:08:10 +0000 (0:00:00.847) 0:00:31.565 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 16:08:10 +0000 (0:00:00.055) 0:00:31.621 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:08:10 +0000 (0:00:00.092) 0:00:31.714 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:08:10 +0000 (0:00:00.046) 0:00:31.760 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:08:11 +0000 (0:00:00.412) 0:00:32.172 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:08:11 +0000 (0:00:00.034) 0:00:32.206 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.017663", "end": "2022-08-03 16:08:10.718503", "rc": 1, "start": "2022-08-03 16:08:10.700840" } 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/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:08:11 +0000 (0:00:00.443) 0:00:32.650 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:08:11 +0000 (0:00:00.038) 0:00:32.688 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:08:11 +0000 (0:00:00.036) 0:00:32.725 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'LSR-TST-br31' is absent] **************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 16:08:11 +0000 (0:00:00.036) 0:00:32.761 ****** ok: [/cache/fedora-36.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/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 16:08:11 +0000 (0:00:00.092) 0:00:32.854 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 16:08:12 +0000 (0:00:00.856) 0:00:33.711 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:08:12 +0000 (0:00:00.054) 0:00:33.766 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:08:12 +0000 (0:00:00.058) 0:00:33.824 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface LSR-TST-br31 is absent] **************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:08:13 +0000 (0:00:00.437) 0:00:34.262 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=80 changed=4 unreachable=0 failed=0 skipped=45 rescued=0 ignored=2 Wednesday 03 August 2022 16:08:13 +0000 (0:00:00.069) 0:00:34.331 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.12s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.02s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.01s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpsh02am6p/tests/network/tests_bridge_nm.yml:5 -------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.89s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpsh02am6p/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmpsh02am6p/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmpsh02am6p/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpsh02am6p/tests/network/playbooks/tests_bridge.yml:15 ------------------ Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpsh02am6p/tests/network/playbooks/tests_bridge.yml:3 ------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.80s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.69s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.66s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpsh02am6p/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:08:13 +0000 (0:00:00.045) 0:00:34.377 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006767", "end": "2022-08-03 16:08:12.886591", "rc": 0, "start": "2022-08-03 16:08:12.879824" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=81 changed=5 unreachable=0 failed=0 skipped=45 rescued=0 ignored=2 Wednesday 03 August 2022 16:08:13 +0000 (0:00:00.463) 0:00:34.841 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.12s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.02s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.01s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 1.04s /tmp/tmpsh02am6p/tests/network/tests_bridge_nm.yml:5 -------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 1.00s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.89s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpsh02am6p/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmpsh02am6p/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmpsh02am6p/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmpsh02am6p/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpsh02am6p/tests/network/playbooks/tests_bridge.yml:15 ------------------ Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpsh02am6p/tests/network/playbooks/tests_bridge.yml:3 ------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.80s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.74s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.69s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Re-test connectivity ---------------- 0.66s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139