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/tmpdm_c1v_l 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/tmp5fajrzs2/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmp5fajrzs2/tests/_backup.yml:6 Wednesday 03 August 2022 16:36:40 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/fedora-35.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": 1659544599.4773848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659544599.4773848, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36641, "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": 1659338446.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/tmp5fajrzs2/tests/_backup.yml:13 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.616) 0:00:00.634 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-35.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': 36641, 'dev': 32, 'nlink': 1, 'atime': 1659544599.4773848, 'mtime': 1659338446.0, 'ctime': 1659544599.4773848, '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": 1659544599.4773848, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659544599.4773848, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36641, "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": 1659338446.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/tmp5fajrzs2/tests/_backup.yml:19 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.035) 0:00:00.670 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004133", "end": "2022-08-03 16:36:41.227728", "rc": 0, "start": "2022-08-03 16:36:41.223595" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.508) 0:00:01.178 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.62s /tmp/tmp5fajrzs2/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.51s /tmp/tmp5fajrzs2/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmp5fajrzs2/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_bridge_nm.yml ************************************************** 10 plays in /tmp/tmp5fajrzs2/tests/tests_bridge_nm.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/tests_bridge_nm.yml:5 Wednesday 03 August 2022 16:36:41 +0000 (0:00:00.061) 0:00:01.239 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tests_bridge_nm.yml:8 Wednesday 03 August 2022 16:36:42 +0000 (0:00:01.075) 0:00:02.314 ****** included: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml for /cache/fedora-35.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:36:42 +0000 (0:00:00.025) 0:00:02.340 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:36:42 +0000 (0:00:00.019) 0:00:02.360 ****** included: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml for /cache/fedora-35.qcow2.snap TASK [Create EPEL 35] ********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:36:42 +0000 (0:00:00.027) 0:00:02.388 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:36:43 +0000 (0:00:00.018) 0:00:02.406 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:36:43 +0000 (0:00:00.020) 0:00:02.426 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:36:43 +0000 (0:00:00.022) 0:00:02.448 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmp5fajrzs2/tests/tests_bridge_nm.yml:9 Wednesday 03 August 2022 16:36:43 +0000 (0:00:00.020) 0:00:02.469 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/tests_bridge.yml:3 Wednesday 03 August 2022 16:36:43 +0000 (0:00:00.044) 0:00:02.514 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [set interface=LSR-TST-br31] ********************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bridge.yml:9 Wednesday 03 August 2022 16:36:43 +0000 (0:00:00.831) 0:00:03.345 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bridge.yml:12 Wednesday 03 August 2022 16:36:43 +0000 (0:00:00.033) 0:00:03.379 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.030) 0:00:03.410 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.031) 0:00:03.441 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003656", "end": "2022-08-03 16:36:43.879046", "rc": 0, "start": "2022-08-03 16:36:43.875390" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.387) 0:00:03.828 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.033) 0:00:03.862 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bridge.yml:13 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.033) 0:00:03.895 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.045) 0:00:03.940 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.038) 0:00:03.979 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface LSR-TST-br31 is absent] **************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:36:44 +0000 (0:00:00.391) 0:00:04.370 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tests_bridge.yml:15 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.059) 0:00:04.430 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.808) 0:00:05.238 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:36:45 +0000 (0:00:00.036) 0:00:05.275 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:36:46 +0000 (0:00:00.591) 0:00:05.867 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:36:48 +0000 (0:00:02.131) 0:00:07.999 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.960) 0:00:08.959 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.047) 0:00:09.007 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.038) 0:00:09.045 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.039) 0:00:09.085 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.073) 0:00:09.159 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.037) 0:00:09.197 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.038) 0:00:09.236 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:36:49 +0000 (0:00:00.052) 0:00:09.288 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:36:50 +0000 (0:00:00.867) 0:00:10.156 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:36:50 +0000 (0:00:00.053) 0:00:10.209 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:36:50 +0000 (0:00:00.032) 0:00:10.241 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:36:50 +0000 (0:00:00.032) 0:00:10.274 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.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, 0b082ca7-26d2-42e5-baba-0bd21603ba25 [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 0b082ca7-26d2-42e5-baba-0bd21603ba25 (not-active) TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:36:51 +0000 (0:00:00.776) 0:00:11.051 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:36:51 +0000 (0:00:00.037) 0:00:11.088 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 0b082ca7-26d2-42e5-baba-0bd21603ba25", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 0b082ca7-26d2-42e5-baba-0bd21603ba25 (not-active)" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:36:51 +0000 (0:00:00.047) 0:00:11.135 ****** ok: [/cache/fedora-35.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, 0b082ca7-26d2-42e5-baba-0bd21603ba25\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 0b082ca7-26d2-42e5-baba-0bd21603ba25 (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, 0b082ca7-26d2-42e5-baba-0bd21603ba25", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, 0b082ca7-26d2-42e5-baba-0bd21603ba25 (not-active)" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:36:51 +0000 (0:00:00.046) 0:00:11.182 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:36:51 +0000 (0:00:00.040) 0:00:11.222 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 16:36:52 +0000 (0:00:00.619) 0:00:11.842 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 16:36:53 +0000 (0:00:00.839) 0:00:12.681 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:36:53 +0000 (0:00:00.055) 0:00:12.737 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:36:53 +0000 (0:00:00.058) 0:00:12.795 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544611.04774, "block_size": 4096, "blocks": 0, "ctime": 1659544611.04774, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30446, "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": 1659544611.04774, "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/tmp5fajrzs2/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:36:53 +0000 (0:00:00.407) 0:00:13.202 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 16:36:53 +0000 (0:00:00.088) 0:00:13.291 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 16:36:54 +0000 (0:00:00.866) 0:00:14.158 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:36:54 +0000 (0:00:00.057) 0:00:14.215 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:36:54 +0000 (0:00:00.059) 0:00:14.274 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:36:54 +0000 (0:00:00.044) 0:00:14.319 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659544611.0813847, "block_size": 4096, "blocks": 8, "ctime": 1659544611.0453846, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36666, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659544611.0453846, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:36:55 +0000 (0:00:00.411) 0:00:14.730 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:36:55 +0000 (0:00:00.046) 0:00:14.777 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.025959", "end": "2022-08-03 16:36:55.266663", "rc": 0, "start": "2022-08-03 16:36:55.240704" } STDOUT: LSR-TST-br31 /etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:36:55 +0000 (0:00:00.455) 0:00:15.232 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:36:55 +0000 (0:00:00.106) 0:00:15.339 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:36:55 +0000 (0:00:00.038) 0:00:15.378 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'LSR-TST-br31' is present] *************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:36:56 +0000 (0:00:00.036) 0:00:15.414 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'LSR-TST-br31' is present] ******** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:36:56 +0000 (0:00:00.051) 0:00:15.466 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/down_profile.yml:3 Wednesday 03 August 2022 16:36:56 +0000 (0:00:00.096) 0:00:15.562 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:36:56 +0000 (0:00:00.837) 0:00:16.400 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:36:57 +0000 (0:00:00.061) 0:00:16.462 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:36:57 +0000 (0:00:00.577) 0:00:17.040 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:36:59 +0000 (0:00:01.961) 0:00:19.002 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.703) 0:00:19.706 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.102) 0:00:19.808 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.038) 0:00:19.846 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.043) 0:00:19.890 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.075) 0:00:19.966 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.038) 0:00:20.004 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.039) 0:00:20.044 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:37:00 +0000 (0:00:00.053) 0:00:20.098 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.591) 0:00:20.689 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.053) 0:00:20.742 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.034) 0:00:20.776 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:37:01 +0000 (0:00:00.034) 0:00:20.811 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.633) 0:00:21.444 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.081) 0:00:21.525 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.044) 0:00:21.570 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.042) 0:00:21.613 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.036) 0:00:21.649 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 16:37:02 +0000 (0:00:00.468) 0:00:22.118 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.825) 0:00:22.944 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/delete_interface.yml for /cache/fedora-35.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 16:37:03 +0000 (0:00:00.055) 0:00:22.999 ****** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.009869", "end": "2022-08-03 16:37:03.507505", "rc": 1, "start": "2022-08-03 16:37:03.497636" } 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/tmp5fajrzs2/tests/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.517) 0:00:23.517 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 16:37:04 +0000 (0:00:00.865) 0:00:24.382 ****** included: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:37:05 +0000 (0:00:00.058) 0:00:24.441 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 16:37:05 +0000 (0:00:00.568) 0:00:25.009 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 16:37:07 +0000 (0:00:02.086) 0:00:27.096 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 16:37:08 +0000 (0:00:00.696) 0:00:27.792 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 16:37:08 +0000 (0:00:00.045) 0:00:27.838 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 16:37:08 +0000 (0:00:00.036) 0:00:27.874 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 16:37:08 +0000 (0:00:00.059) 0:00:27.934 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 16:37:08 +0000 (0:00:00.074) 0:00:28.009 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 16:37:08 +0000 (0:00:00.036) 0:00:28.045 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 16:37:08 +0000 (0:00:00.036) 0:00:28.082 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 16:37:08 +0000 (0:00:00.048) 0:00:28.131 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.588) 0:00:28.720 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.055) 0:00:28.775 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.034) 0:00:28.810 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 16:37:09 +0000 (0:00:00.036) 0:00:28.846 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 16:37:10 +0000 (0:00:00.580) 0:00:29.426 ****** skipping: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 16:37:10 +0000 (0:00:00.038) 0:00:29.465 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 16:37:10 +0000 (0:00:00.050) 0:00:29.516 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 16:37:10 +0000 (0:00:00.123) 0:00:29.640 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 16:37:10 +0000 (0:00:00.039) 0:00:29.679 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 16:37:10 +0000 (0:00:00.468) 0:00:30.148 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 16:37:11 +0000 (0:00:00.858) 0:00:31.006 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 16:37:11 +0000 (0:00:00.054) 0:00:31.061 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:37:11 +0000 (0:00:00.059) 0:00:31.121 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:37:11 +0000 (0:00:00.101) 0:00:31.222 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:37:12 +0000 (0:00:00.437) 0:00:31.660 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:37:12 +0000 (0:00:00.036) 0:00:31.696 ****** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.018322", "end": "2022-08-03 16:37:12.170181", "rc": 1, "start": "2022-08-03 16:37:12.151859" } 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/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:37:12 +0000 (0:00:00.437) 0:00:32.134 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:37:12 +0000 (0:00:00.037) 0:00:32.171 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:37:12 +0000 (0:00:00.037) 0:00:32.209 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'LSR-TST-br31' is absent] **************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 16:37:12 +0000 (0:00:00.035) 0:00:32.245 ****** ok: [/cache/fedora-35.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/tmp5fajrzs2/tests/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 16:37:12 +0000 (0:00:00.093) 0:00:32.338 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 16:37:13 +0000 (0:00:00.853) 0:00:33.192 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:37:13 +0000 (0:00:00.056) 0:00:33.248 ****** included: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:37:13 +0000 (0:00:00.056) 0:00:33.304 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface LSR-TST-br31 is absent] **************************** task path: /tmp/tmp5fajrzs2/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:37:14 +0000 (0:00:00.405) 0:00:33.710 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=81 changed=4 unreachable=0 failed=0 skipped=44 rescued=0 ignored=2 Wednesday 03 August 2022 16:37:14 +0000 (0:00:00.067) 0:00:33.778 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.13s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.09s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.96s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmp5fajrzs2/tests/tests_bridge_nm.yml:5 ---------------------------------- linux-system-roles.network : Check which packages are installed --------- 0.96s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.87s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmp5fajrzs2/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmp5fajrzs2/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmp5fajrzs2/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmp5fajrzs2/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp5fajrzs2/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp5fajrzs2/tests/playbooks/down_profile.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmp5fajrzs2/tests/playbooks/tests_bridge.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmp5fajrzs2/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp5fajrzs2/tests/playbooks/tests_bridge.yml:15 -------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.78s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.70s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.70s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.63s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Re-test connectivity ----------------------- 0.62s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmp5fajrzs2/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmp5fajrzs2/tests/_restore.yml:4 Wednesday 03 August 2022 16:37:14 +0000 (0:00:00.047) 0:00:33.826 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007016", "end": "2022-08-03 16:37:14.275395", "rc": 0, "start": "2022-08-03 16:37:14.268379" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=82 changed=5 unreachable=0 failed=0 skipped=44 rescued=0 ignored=2 Wednesday 03 August 2022 16:37:14 +0000 (0:00:00.433) 0:00:34.259 ****** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.13s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.09s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 1.96s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Gathering Facts --------------------------------------------------------- 1.08s /tmp/tmp5fajrzs2/tests/tests_bridge_nm.yml:5 ---------------------------------- linux-system-roles.network : Check which packages are installed --------- 0.96s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Enable and start NetworkManager ------------ 0.87s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmp5fajrzs2/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.87s /tmp/tmp5fajrzs2/tests/playbooks/remove_profile.yml:3 ------------------------- Gathering Facts --------------------------------------------------------- 0.86s /tmp/tmp5fajrzs2/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.85s /tmp/tmp5fajrzs2/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp5fajrzs2/tests/playbooks/run_tasks.yml:3 ------------------------------ Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmp5fajrzs2/tests/playbooks/down_profile.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmp5fajrzs2/tests/playbooks/tests_bridge.yml:3 --------------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmp5fajrzs2/tests/playbooks/down_profile+delete_interface.yml:4 ---------- Gathering Facts --------------------------------------------------------- 0.81s /tmp/tmp5fajrzs2/tests/playbooks/tests_bridge.yml:15 -------------------------- linux-system-roles.network : Configure networking connection profiles --- 0.78s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which packages are installed --------- 0.70s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Check which packages are installed --------- 0.70s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 linux-system-roles.network : Configure networking connection profiles --- 0.63s /tmp/tmp5fajrzs2/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Re-test connectivity ----------------------- 0.62s /tmp/tmp5fajrzs2/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/tmpdm_c1v_l 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/tmpn6gexhje/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpn6gexhje/tests/network/_backup.yml:6 Wednesday 03 August 2022 17:03:13 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/fedora-35.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": 1659546192.200671, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659546192.201671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36638, "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": 1659338446.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/tmpn6gexhje/tests/network/_backup.yml:13 Wednesday 03 August 2022 17:03:13 +0000 (0:00:00.617) 0:00:00.635 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-35.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': 36638, 'dev': 32, 'nlink': 1, 'atime': 1659546192.200671, 'mtime': 1659338446.0, 'ctime': 1659546192.201671, '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": 1659546192.200671, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659546192.201671, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36638, "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": 1659338446.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/tmpn6gexhje/tests/network/_backup.yml:19 Wednesday 03 August 2022 17:03:13 +0000 (0:00:00.035) 0:00:00.670 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003915", "end": "2022-08-03 17:03:13.927572", "rc": 0, "start": "2022-08-03 17:03:13.923657" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 17:03:14 +0000 (0:00:00.498) 0:00:01.169 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.62s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.50s /tmp/tmpn6gexhje/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpn6gexhje/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_bridge_nm.yml ************************************************** 10 plays in /tmp/tmpn6gexhje/tests/network/tests_bridge_nm.yml PLAY [Run playbook 'playbooks/tests_bridge.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/tests_bridge_nm.yml:5 Wednesday 03 August 2022 17:03:14 +0000 (0:00:00.078) 0:00:01.248 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tests_bridge_nm.yml:8 Wednesday 03 August 2022 17:03:15 +0000 (0:00:01.030) 0:00:02.278 ****** included: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml for /cache/fedora-35.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 17:03:15 +0000 (0:00:00.027) 0:00:02.306 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 17:03:15 +0000 (0:00:00.021) 0:00:02.327 ****** included: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml for /cache/fedora-35.qcow2.snap TASK [Create EPEL 35] ********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 17:03:15 +0000 (0:00:00.028) 0:00:02.356 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 17:03:15 +0000 (0:00:00.017) 0:00:02.374 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 17:03:15 +0000 (0:00:00.017) 0:00:02.391 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 17:03:15 +0000 (0:00:00.017) 0:00:02.408 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpn6gexhje/tests/network/tests_bridge_nm.yml:9 Wednesday 03 August 2022 17:03:15 +0000 (0:00:00.017) 0:00:02.426 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/tests_bridge.yml:3 Wednesday 03 August 2022 17:03:15 +0000 (0:00:00.043) 0:00:02.469 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [set interface=LSR-TST-br31] ********************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bridge.yml:9 Wednesday 03 August 2022 17:03:16 +0000 (0:00:00.789) 0:00:03.259 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "interface": "LSR-TST-br31" }, "changed": false } TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bridge.yml:12 Wednesday 03 August 2022 17:03:16 +0000 (0:00:00.029) 0:00:03.288 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 17:03:16 +0000 (0:00:00.026) 0:00:03.315 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-35.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 17:03:16 +0000 (0:00:00.026) 0:00:03.341 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.007019", "end": "2022-08-03 17:03:16.488478", "rc": 0, "start": "2022-08-03 17:03:16.481459" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 17:03:16 +0000 (0:00:00.385) 0:00:03.727 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 17:03:16 +0000 (0:00:00.029) 0:00:03.756 ****** ok: [/cache/fedora-35.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bridge.yml:13 Wednesday 03 August 2022 17:03:16 +0000 (0:00:00.027) 0:00:03.784 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:03:16 +0000 (0:00:00.030) 0:00:03.815 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:03:17 +0000 (0:00:00.033) 0:00:03.849 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface LSR-TST-br31 is absent] **************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:03:17 +0000 (0:00:00.381) 0:00:04.230 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Add test bridge] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tests_bridge.yml:15 Wednesday 03 August 2022 17:03:17 +0000 (0:00:00.052) 0:00:04.283 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:03:18 +0000 (0:00:00.803) 0:00:05.086 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:03:18 +0000 (0:00:00.032) 0:00:05.119 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:03:18 +0000 (0:00:00.535) 0:00:05.655 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:03:20 +0000 (0:00:02.061) 0:00:07.716 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:03:21 +0000 (0:00:00.988) 0:00:08.705 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:03:21 +0000 (0:00:00.048) 0:00:08.754 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:03:21 +0000 (0:00:00.038) 0:00:08.793 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:03:22 +0000 (0:00:00.040) 0:00:08.833 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:03:22 +0000 (0:00:00.083) 0:00:08.916 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:03:22 +0000 (0:00:00.038) 0:00:08.955 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:03:22 +0000 (0:00:00.037) 0:00:08.993 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:03:22 +0000 (0:00:00.054) 0:00:09.048 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:03:23 +0000 (0:00:00.846) 0:00:09.894 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:03:23 +0000 (0:00:00.054) 0:00:09.949 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:03:23 +0000 (0:00:00.037) 0:00:09.986 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:03:23 +0000 (0:00:00.035) 0:00:10.022 ****** changed: [/cache/fedora-35.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, d680089b-990f-499c-9df0-3e8b28c3623a [004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, d680089b-990f-499c-9df0-3e8b28c3623a (not-active) TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:03:23 +0000 (0:00:00.782) 0:00:10.805 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:03:24 +0000 (0:00:00.037) 0:00:10.842 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, d680089b-990f-499c-9df0-3e8b28c3623a", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, d680089b-990f-499c-9df0-3e8b28c3623a (not-active)" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:03:24 +0000 (0:00:00.051) 0:00:10.894 ****** ok: [/cache/fedora-35.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, d680089b-990f-499c-9df0-3e8b28c3623a\n[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, d680089b-990f-499c-9df0-3e8b28c3623a (not-active)\n", "stderr_lines": [ "[003] #0, state:up persistent_state:present, 'LSR-TST-br31': add connection LSR-TST-br31, d680089b-990f-499c-9df0-3e8b28c3623a", "[004] #0, state:up persistent_state:present, 'LSR-TST-br31': up connection LSR-TST-br31, d680089b-990f-499c-9df0-3e8b28c3623a (not-active)" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:03:24 +0000 (0:00:00.047) 0:00:10.941 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:03:24 +0000 (0:00:00.040) 0:00:10.981 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_device_present.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 17:03:24 +0000 (0:00:00.587) 0:00:11.569 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 17:03:25 +0000 (0:00:00.827) 0:00:12.396 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 17:03:25 +0000 (0:00:00.056) 0:00:12.452 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:03:25 +0000 (0:00:00.055) 0:00:12.507 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546203.5177648, "block_size": 4096, "blocks": 0, "ctime": 1659546203.5177648, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30446, "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": 1659546203.5177648, "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/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 17:03:26 +0000 (0:00:00.452) 0:00:12.960 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 17:03:26 +0000 (0:00:00.089) 0:00:13.050 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 17:03:27 +0000 (0:00:00.829) 0:00:13.879 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 17:03:27 +0000 (0:00:00.057) 0:00:13.936 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:03:27 +0000 (0:00:00.058) 0:00:13.995 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:03:27 +0000 (0:00:00.045) 0:00:14.040 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "atime": 1659546203.5446708, "block_size": 4096, "blocks": 8, "ctime": 1659546203.5156708, "dev": 32, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 36663, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1659546203.5156708, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 249, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:03:27 +0000 (0:00:00.410) 0:00:14.451 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:03:27 +0000 (0:00:00.111) 0:00:14.562 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.017046", "end": "2022-08-03 17:03:27.735697", "rc": 0, "start": "2022-08-03 17:03:27.718651" } STDOUT: LSR-TST-br31 /etc/sysconfig/network-scripts/ifcfg-LSR-TST-br31 TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:03:28 +0000 (0:00:00.434) 0:00:14.997 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:03:28 +0000 (0:00:00.052) 0:00:15.049 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:03:28 +0000 (0:00:00.040) 0:00:15.090 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'LSR-TST-br31' is present] *************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 17:03:28 +0000 (0:00:00.034) 0:00:15.124 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'LSR-TST-br31' is present] ******** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 17:03:28 +0000 (0:00:00.050) 0:00:15.175 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY [Set {{ profile }} down] ************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/down_profile.yml:3 Wednesday 03 August 2022 17:03:28 +0000 (0:00:00.095) 0:00:15.271 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:03:29 +0000 (0:00:00.828) 0:00:16.099 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:03:29 +0000 (0:00:00.114) 0:00:16.213 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:03:29 +0000 (0:00:00.557) 0:00:16.770 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:03:31 +0000 (0:00:01.957) 0:00:18.728 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:03:32 +0000 (0:00:00.761) 0:00:19.489 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:03:32 +0000 (0:00:00.115) 0:00:19.604 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:03:32 +0000 (0:00:00.040) 0:00:19.645 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:03:32 +0000 (0:00:00.040) 0:00:19.685 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:03:32 +0000 (0:00:00.075) 0:00:19.761 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:03:32 +0000 (0:00:00.038) 0:00:19.799 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:03:33 +0000 (0:00:00.038) 0:00:19.838 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:03:33 +0000 (0:00:00.052) 0:00:19.890 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:03:33 +0000 (0:00:00.616) 0:00:20.507 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:03:33 +0000 (0:00:00.056) 0:00:20.564 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:03:33 +0000 (0:00:00.035) 0:00:20.600 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:03:33 +0000 (0:00:00.033) 0:00:20.633 ****** changed: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:03:34 +0000 (0:00:00.648) 0:00:21.282 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:03:34 +0000 (0:00:00.066) 0:00:21.348 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:03:34 +0000 (0:00:00.049) 0:00:21.397 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:03:34 +0000 (0:00:00.046) 0:00:21.444 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:03:34 +0000 (0:00:00.039) 0:00:21.484 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap META: ran handlers META: ran handlers PLAY [Delete the interface] **************************************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/down_profile+delete_interface.yml:4 Wednesday 03 August 2022 17:03:35 +0000 (0:00:00.467) 0:00:21.951 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/down_profile+delete_interface.yml:7 Wednesday 03 August 2022 17:03:35 +0000 (0:00:00.829) 0:00:22.780 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/delete_interface.yml for /cache/fedora-35.qcow2.snap TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 17:03:36 +0000 (0:00:00.054) 0:00:22.835 ****** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "LSR-TST-br31" ], "delta": "0:00:00.010345", "end": "2022-08-03 17:03:36.043031", "rc": 1, "start": "2022-08-03 17:03:36.032686" } 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/tmpn6gexhje/tests/network/playbooks/remove_profile.yml:3 Wednesday 03 August 2022 17:03:36 +0000 (0:00:00.509) 0:00:23.345 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 17:03:37 +0000 (0:00:00.826) 0:00:24.171 ****** included: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-35.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 17:03:37 +0000 (0:00:00.059) 0:00:24.230 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 17:03:37 +0000 (0:00:00.569) 0:00:24.800 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 17:03:39 +0000 (0:00:01.994) 0:00:26.794 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 17:03:40 +0000 (0:00:00.720) 0:00:27.515 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 17:03:40 +0000 (0:00:00.047) 0:00:27.563 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 17:03:40 +0000 (0:00:00.063) 0:00:27.627 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 17:03:40 +0000 (0:00:00.039) 0:00:27.666 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 17:03:40 +0000 (0:00:00.074) 0:00:27.740 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 17:03:40 +0000 (0:00:00.037) 0:00:27.777 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 17:03:40 +0000 (0:00:00.036) 0:00:27.814 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 17:03:41 +0000 (0:00:00.058) 0:00:27.872 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 17:03:41 +0000 (0:00:00.612) 0:00:28.485 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 17:03:41 +0000 (0:00:00.056) 0:00:28.542 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 17:03:41 +0000 (0:00:00.036) 0:00:28.578 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 17:03:41 +0000 (0:00:00.034) 0:00:28.613 ****** changed: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 17:03:42 +0000 (0:00:00.581) 0:00:29.194 ****** skipping: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 17:03:42 +0000 (0:00:00.037) 0:00:29.231 ****** ok: [/cache/fedora-35.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 17:03:42 +0000 (0:00:00.117) 0:00:29.349 ****** ok: [/cache/fedora-35.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/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 17:03:42 +0000 (0:00:00.049) 0:00:29.399 ****** skipping: [/cache/fedora-35.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 17:03:42 +0000 (0:00:00.042) 0:00:29.441 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-35.qcow2.snap META: ran handlers META: ran handlers PLAY [Run the tasklist tasks/assert_profile_absent.yml] ************************ TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 17:03:43 +0000 (0:00:00.483) 0:00:29.925 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 17:03:43 +0000 (0:00:00.833) 0:00:30.758 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 17:03:43 +0000 (0:00:00.055) 0:00:30.814 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-35.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 17:03:44 +0000 (0:00:00.094) 0:00:30.908 ****** ok: [/cache/fedora-35.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 17:03:44 +0000 (0:00:00.047) 0:00:30.956 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 17:03:44 +0000 (0:00:00.418) 0:00:31.375 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 17:03:44 +0000 (0:00:00.036) 0:00:31.411 ****** fatal: [/cache/fedora-35.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep LSR-TST-br31 | grep /etc", "delta": "0:00:00.016577", "end": "2022-08-03 17:03:44.581834", "rc": 1, "start": "2022-08-03 17:03:44.565257" } 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/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 17:03:45 +0000 (0:00:00.420) 0:00:31.832 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-LSR-TST-br31] ******************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 17:03:45 +0000 (0:00:00.039) 0:00:31.871 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-LSR-TST-br31] **************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 17:03:45 +0000 (0:00:00.037) 0:00:31.909 ****** skipping: [/cache/fedora-35.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'LSR-TST-br31' is absent] **************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 17:03:45 +0000 (0:00:00.037) 0:00:31.946 ****** ok: [/cache/fedora-35.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/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:3 Wednesday 03 August 2022 17:03:45 +0000 (0:00:00.092) 0:00:32.038 ****** ok: [/cache/fedora-35.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:6 Wednesday 03 August 2022 17:03:46 +0000 (0:00:00.841) 0:00:32.880 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/fedora-35.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 17:03:46 +0000 (0:00:00.056) 0:00:32.936 ****** included: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-35.qcow2.snap TASK [Get stat for interface LSR-TST-br31] ************************************* task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 17:03:46 +0000 (0:00:00.059) 0:00:32.995 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface LSR-TST-br31 is absent] **************************** task path: /tmp/tmpn6gexhje/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 17:03:46 +0000 (0:00:00.411) 0:00:33.407 ****** ok: [/cache/fedora-35.qcow2.snap] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=81 changed=4 unreachable=0 failed=0 skipped=44 rescued=0 ignored=2 Wednesday 03 August 2022 17:03:46 +0000 (0:00:00.067) 0:00:33.474 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.06s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.99s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.96s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpn6gexhje/tests/network/tests_bridge_nm.yml:5 -------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.85s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpn6gexhje/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpn6gexhje/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpn6gexhje/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpn6gexhje/tests/network/playbooks/tests_bridge.yml:15 ------------------ Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmpn6gexhje/tests/network/playbooks/tests_bridge.yml:3 ------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.78s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.76s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.72s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.65s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.62s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ---------------------------------- PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpn6gexhje/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpn6gexhje/tests/network/_restore.yml:4 Wednesday 03 August 2022 17:03:46 +0000 (0:00:00.043) 0:00:33.517 ****** changed: [/cache/fedora-35.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007828", "end": "2022-08-03 17:03:46.699007", "rc": 0, "start": "2022-08-03 17:03:46.691179" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-35.qcow2.snap : ok=82 changed=5 unreachable=0 failed=0 skipped=44 rescued=0 ignored=2 Wednesday 03 August 2022 17:03:47 +0000 (0:00:00.470) 0:00:33.988 ****** =============================================================================== fedora.linux_system_roles.network : Check which services are running ---- 2.06s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.99s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 1.96s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Gathering Facts --------------------------------------------------------- 1.03s /tmp/tmpn6gexhje/tests/network/tests_bridge_nm.yml:5 -------------------------- fedora.linux_system_roles.network : Check which packages are installed --- 0.99s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 0.85s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Gathering Facts --------------------------------------------------------- 0.84s /tmp/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpn6gexhje/tests/network/playbooks/down_profile+delete_interface.yml:4 -- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpn6gexhje/tests/network/playbooks/down_profile.yml:3 ------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpn6gexhje/tests/network/playbooks/run_tasks.yml:3 ---------------------- Gathering Facts --------------------------------------------------------- 0.83s /tmp/tmpn6gexhje/tests/network/playbooks/remove_profile.yml:3 ----------------- Gathering Facts --------------------------------------------------------- 0.80s /tmp/tmpn6gexhje/tests/network/playbooks/tests_bridge.yml:15 ------------------ Gathering Facts --------------------------------------------------------- 0.79s /tmp/tmpn6gexhje/tests/network/playbooks/tests_bridge.yml:3 ------------------- fedora.linux_system_roles.network : Configure networking connection profiles --- 0.78s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Check which packages are installed --- 0.76s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Check which packages are installed --- 0.72s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 fedora.linux_system_roles.network : Configure networking connection profiles --- 0.65s /tmp/tmpdm_c1v_l/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Get stats of system files ----------------------------------------------- 0.62s /tmp/tmpn6gexhje/tests/network/_backup.yml:6 ----------------------------------