ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpxngj32xw executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpcu0yxwd0/tests/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpcu0yxwd0/tests/_backup.yml:6 Wednesday 03 August 2022 15:54:16 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659542054.632274, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659542054.632274, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 45414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/_backup.yml:13 Wednesday 03 August 2022 15:54:16 +0000 (0:00:00.637) 0:00:00.655 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-36.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 45414, 'dev': 31, 'nlink': 1, 'atime': 1659542054.632274, 'mtime': 1659248396.0, 'ctime': 1659542054.632274, '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": 1659542054.632274, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659542054.632274, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 45414, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/_backup.yml:19 Wednesday 03 August 2022 15:54:16 +0000 (0:00:00.035) 0:00:00.691 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.003993", "end": "2022-08-03 15:54:16.459410", "rc": 0, "start": "2022-08-03 15:54:16.455417" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 15:54:17 +0000 (0:00:00.559) 0:00:01.250 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.64s /tmp/tmpcu0yxwd0/tests/_backup.yml:6 ------------------------------------------ Back up system files ---------------------------------------------------- 0.56s /tmp/tmpcu0yxwd0/tests/_backup.yml:19 ----------------------------------------- Check if system files exist --------------------------------------------- 0.04s /tmp/tmpcu0yxwd0/tests/_backup.yml:13 ----------------------------------------- PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/tmpcu0yxwd0/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/tests_states_nm.yml:5 Wednesday 03 August 2022 15:54:17 +0000 (0:00:00.015) 0:00:01.265 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tests_states_nm.yml:8 Wednesday 03 August 2022 15:54:18 +0000 (0:00:01.089) 0:00:02.355 ****** included: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml for /cache/fedora-36.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 15:54:18 +0000 (0:00:00.028) 0:00:02.383 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 15:54:18 +0000 (0:00:00.019) 0:00:02.402 ****** included: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml for /cache/fedora-36.qcow2.snap TASK [Create EPEL 36] ********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:4 Wednesday 03 August 2022 15:54:18 +0000 (0:00:00.027) 0:00:02.429 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:11 Wednesday 03 August 2022 15:54:18 +0000 (0:00:00.017) 0:00:02.447 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:17 Wednesday 03 August 2022 15:54:18 +0000 (0:00:00.017) 0:00:02.465 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/tasks/enable_epel.yml:26 Wednesday 03 August 2022 15:54:18 +0000 (0:00:00.017) 0:00:02.482 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/tests_states_nm.yml:9 Wednesday 03 August 2022 15:54:18 +0000 (0:00:00.017) 0:00:02.500 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_states.yml:3 Wednesday 03 August 2022 15:54:18 +0000 (0:00:00.045) 0:00:02.545 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_states.yml:10 Wednesday 03 August 2022 15:54:19 +0000 (0:00:00.859) 0:00:03.404 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: this is: playbooks/tests_states.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_states.yml:18 Wednesday 03 August 2022 15:54:19 +0000 (0:00:00.032) 0:00:03.437 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml for /cache/fedora-36.qcow2.snap TASK [TEST: I can create a profile] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 15:54:19 +0000 (0:00:00.033) 0:00:03.470 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 15:54:19 +0000 (0:00:00.029) 0:00:03.500 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_present.yml", "when": true } ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 15:54:19 +0000 (0:00:00.116) 0:00:03.616 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:54:19 +0000 (0:00:00.031) 0:00:03.648 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:54:19 +0000 (0:00:00.029) 0:00:03.678 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003863", "end": "2022-08-03 15:54:19.289684", "rc": 0, "start": "2022-08-03 15:54:19.285821" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:54:20 +0000 (0:00:00.397) 0:00:04.076 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:54:20 +0000 (0:00:00.031) 0:00:04.107 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 15:54:20 +0000 (0:00:00.033) 0:00:04.140 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/delete_interface.yml for /cache/fedora-36.qcow2.snap => (item=tasks/delete_interface.yml) included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 15:54:20 +0000 (0:00:00.049) 0:00:04.189 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009028", "end": "2022-08-03 15:54:19.824472", "rc": 1, "start": "2022-08-03 15:54:19.815444" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 15:54:20 +0000 (0:00:00.423) 0:00:04.613 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:54:20 +0000 (0:00:00.034) 0:00:04.647 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 15:54:21 +0000 (0:00:00.459) 0:00:05.107 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 15:54:21 +0000 (0:00:00.037) 0:00:05.144 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 15:54:21 +0000 (0:00:00.036) 0:00:05.181 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:54:21 +0000 (0:00:00.046) 0:00:05.227 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:54:21 +0000 (0:00:00.038) 0:00:05.266 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:54:21 +0000 (0:00:00.592) 0:00:05.859 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:54:24 +0000 (0:00:02.190) 0:00:08.050 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:54:25 +0000 (0:00:01.026) 0:00:09.076 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:54:25 +0000 (0:00:00.046) 0:00:09.123 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:54:25 +0000 (0:00:00.042) 0:00:09.165 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:54:25 +0000 (0:00:00.040) 0:00:09.206 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:54:25 +0000 (0:00:00.077) 0:00:09.283 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:54:25 +0000 (0:00:00.039) 0:00:09.323 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:54:25 +0000 (0:00:00.040) 0:00:09.363 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:54:25 +0000 (0:00:00.057) 0:00:09.421 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:54:26 +0000 (0:00:00.885) 0:00:10.307 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:54:26 +0000 (0:00:00.055) 0:00:10.362 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:54:26 +0000 (0:00:00.035) 0:00:10.398 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:54:26 +0000 (0:00:00.038) 0:00:10.437 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec089847-94e6-4065-9a2b-317264eda4a4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:54:27 +0000 (0:00:00.827) 0:00:11.264 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:54:27 +0000 (0:00:00.040) 0:00:11.305 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec089847-94e6-4065-9a2b-317264eda4a4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:54:27 +0000 (0:00:00.047) 0:00:11.352 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec089847-94e6-4065-9a2b-317264eda4a4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec089847-94e6-4065-9a2b-317264eda4a4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:54:27 +0000 (0:00:00.050) 0:00:11.403 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:54:27 +0000 (0:00:00.039) 0:00:11.443 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Show result] ************************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 15:54:28 +0000 (0:00:00.583) 0:00:12.026 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec089847-94e6-4065-9a2b-317264eda4a4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec089847-94e6-4065-9a2b-317264eda4a4" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 15:54:28 +0000 (0:00:00.049) 0:00:12.076 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:54:28 +0000 (0:00:00.069) 0:00:12.145 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:54:28 +0000 (0:00:00.093) 0:00:12.239 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:54:28 +0000 (0:00:00.047) 0:00:12.287 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:54:28 +0000 (0:00:00.437) 0:00:12.724 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:54:28 +0000 (0:00:00.038) 0:00:12.762 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025475", "end": "2022-08-03 15:54:28.415066", "rc": 0, "start": "2022-08-03 15:54:28.389591" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:54:29 +0000 (0:00:00.460) 0:00:13.223 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:54:29 +0000 (0:00:00.052) 0:00:13.275 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:54:29 +0000 (0:00:00.038) 0:00:13.313 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:54:29 +0000 (0:00:00.037) 0:00:13.350 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:54:29 +0000 (0:00:00.052) 0:00:13.403 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 15:54:29 +0000 (0:00:00.051) 0:00:13.454 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap => (item={'what': 'tasks/assert_device_present.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:54:29 +0000 (0:00:00.113) 0:00:13.567 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:54:29 +0000 (0:00:00.061) 0:00:13.629 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542066.4332063, "block_size": 4096, "blocks": 0, "ctime": 1659542066.4332063, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35327, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1659542066.4332063, "nlink": 1, "path": "/sys/class/net/statebr", "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 statebr is present] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:54:30 +0000 (0:00:00.431) 0:00:14.060 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 15:54:30 +0000 (0:00:00.051) 0:00:14.111 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 15:54:30 +0000 (0:00:00.053) 0:00:14.165 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-36.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 15:54:30 +0000 (0:00:00.073) 0:00:14.238 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.064723", "end": "2022-08-03 15:54:29.929982", "rc": 1, "start": "2022-08-03 15:54:29.865259" } STDOUT: Connection 'statebr' (ec089847-94e6-4065-9a2b-317264eda4a4) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_states.yml:39 Wednesday 03 August 2022 15:54:30 +0000 (0:00:00.501) 0:00:14.739 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml for /cache/fedora-36.qcow2.snap TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 15:54:30 +0000 (0:00:00.063) 0:00:14.803 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 15:54:31 +0000 (0:00:00.143) 0:00:14.946 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 15:54:31 +0000 (0:00:00.119) 0:00:15.066 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:54:31 +0000 (0:00:00.061) 0:00:15.127 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:54:31 +0000 (0:00:00.057) 0:00:15.185 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003342", "end": "2022-08-03 15:54:30.802893", "rc": 0, "start": "2022-08-03 15:54:30.799551" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:54:31 +0000 (0:00:00.420) 0:00:15.605 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:54:31 +0000 (0:00:00.047) 0:00:15.652 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 15:54:31 +0000 (0:00:00.052) 0:00:15.705 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/delete_interface.yml for /cache/fedora-36.qcow2.snap => (item=tasks/delete_interface.yml) included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 15:54:31 +0000 (0:00:00.070) 0:00:15.776 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008009", "end": "2022-08-03 15:54:31.411596", "rc": 1, "start": "2022-08-03 15:54:31.403587" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 15:54:32 +0000 (0:00:00.441) 0:00:16.217 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:54:32 +0000 (0:00:00.101) 0:00:16.319 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 15:54:32 +0000 (0:00:00.428) 0:00:16.747 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 15:54:32 +0000 (0:00:00.050) 0:00:16.797 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for /cache/fedora-36.qcow2.snap => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 03 August 2022 15:54:32 +0000 (0:00:00.068) 0:00:16.866 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:54:33 +0000 (0:00:00.071) 0:00:16.937 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:54:33 +0000 (0:00:00.066) 0:00:17.004 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:54:33 +0000 (0:00:00.578) 0:00:17.583 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:54:35 +0000 (0:00:02.190) 0:00:19.773 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:54:36 +0000 (0:00:00.794) 0:00:20.567 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:54:36 +0000 (0:00:00.107) 0:00:20.675 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:54:36 +0000 (0:00:00.041) 0:00:20.716 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:54:36 +0000 (0:00:00.042) 0:00:20.759 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:54:36 +0000 (0:00:00.076) 0:00:20.835 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:54:36 +0000 (0:00:00.043) 0:00:20.878 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:54:37 +0000 (0:00:00.042) 0:00:20.921 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:54:37 +0000 (0:00:00.058) 0:00:20.980 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:54:37 +0000 (0:00:00.630) 0:00:21.610 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:54:37 +0000 (0:00:00.055) 0:00:21.666 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:54:37 +0000 (0:00:00.036) 0:00:21.703 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:54:37 +0000 (0:00:00.036) 0:00:21.739 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d558f603-560f-44da-99f4-126c03732e17 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:54:38 +0000 (0:00:00.677) 0:00:22.416 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:54:38 +0000 (0:00:00.043) 0:00:22.460 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d558f603-560f-44da-99f4-126c03732e17" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:54:38 +0000 (0:00:00.051) 0:00:22.511 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d558f603-560f-44da-99f4-126c03732e17\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d558f603-560f-44da-99f4-126c03732e17" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:54:38 +0000 (0:00:00.051) 0:00:22.563 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:54:38 +0000 (0:00:00.042) 0:00:22.605 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Show result] ************************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 03 August 2022 15:54:39 +0000 (0:00:00.450) 0:00:23.056 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d558f603-560f-44da-99f4-126c03732e17\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d558f603-560f-44da-99f4-126c03732e17" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 15:54:39 +0000 (0:00:00.048) 0:00:23.104 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_device_absent.yml) included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 15:54:39 +0000 (0:00:00.072) 0:00:23.176 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:54:39 +0000 (0:00:00.063) 0:00:23.239 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 15:54:39 +0000 (0:00:00.461) 0:00:23.701 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:54:39 +0000 (0:00:00.048) 0:00:23.749 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:54:39 +0000 (0:00:00.060) 0:00:23.810 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:54:39 +0000 (0:00:00.044) 0:00:23.854 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:54:40 +0000 (0:00:00.417) 0:00:24.272 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:54:40 +0000 (0:00:00.038) 0:00:24.311 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021949", "end": "2022-08-03 15:54:39.955673", "rc": 0, "start": "2022-08-03 15:54:39.933724" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:54:40 +0000 (0:00:00.449) 0:00:24.760 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:54:40 +0000 (0:00:00.047) 0:00:24.808 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:54:40 +0000 (0:00:00.039) 0:00:24.848 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:54:40 +0000 (0:00:00.040) 0:00:24.888 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:54:41 +0000 (0:00:00.051) 0:00:24.939 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 15:54:41 +0000 (0:00:00.100) 0:00:25.040 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 15:54:41 +0000 (0:00:00.045) 0:00:25.085 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 15:54:41 +0000 (0:00:00.045) 0:00:25.131 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-36.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 15:54:41 +0000 (0:00:00.065) 0:00:25.196 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.047926", "end": "2022-08-03 15:54:40.859893", "rc": 1, "start": "2022-08-03 15:54:40.811967" } STDOUT: Connection 'statebr' (d558f603-560f-44da-99f4-126c03732e17) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_states.yml:57 Wednesday 03 August 2022 15:54:41 +0000 (0:00:00.467) 0:00:25.664 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml for /cache/fedora-36.qcow2.snap TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 15:54:41 +0000 (0:00:00.065) 0:00:25.730 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 15:54:41 +0000 (0:00:00.047) 0:00:25.777 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 15:54:42 +0000 (0:00:00.161) 0:00:25.939 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:54:42 +0000 (0:00:00.064) 0:00:26.003 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:54:42 +0000 (0:00:00.095) 0:00:26.099 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004114", "end": "2022-08-03 15:54:41.740050", "rc": 0, "start": "2022-08-03 15:54:41.735936" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:54:42 +0000 (0:00:00.449) 0:00:26.548 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:54:42 +0000 (0:00:00.050) 0:00:26.599 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 15:54:42 +0000 (0:00:00.050) 0:00:26.649 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 15:54:42 +0000 (0:00:00.064) 0:00:26.714 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:54:42 +0000 (0:00:00.063) 0:00:26.777 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:54:42 +0000 (0:00:00.066) 0:00:26.844 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:54:43 +0000 (0:00:00.582) 0:00:27.426 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:54:45 +0000 (0:00:02.161) 0:00:29.588 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:54:46 +0000 (0:00:00.774) 0:00:30.362 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:54:46 +0000 (0:00:00.046) 0:00:30.409 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:54:46 +0000 (0:00:00.073) 0:00:30.482 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:54:46 +0000 (0:00:00.043) 0:00:30.525 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:54:46 +0000 (0:00:00.077) 0:00:30.603 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:54:46 +0000 (0:00:00.040) 0:00:30.643 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:54:46 +0000 (0:00:00.043) 0:00:30.687 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:54:46 +0000 (0:00:00.056) 0:00:30.743 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:54:47 +0000 (0:00:00.612) 0:00:31.355 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:54:47 +0000 (0:00:00.057) 0:00:31.413 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:54:47 +0000 (0:00:00.037) 0:00:31.450 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:54:47 +0000 (0:00:00.038) 0:00:31.488 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b87912c2-cc31-4bae-a083-27cde21e6495 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:54:48 +0000 (0:00:00.718) 0:00:32.207 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:54:48 +0000 (0:00:00.046) 0:00:32.253 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b87912c2-cc31-4bae-a083-27cde21e6495" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:54:48 +0000 (0:00:00.053) 0:00:32.307 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b87912c2-cc31-4bae-a083-27cde21e6495\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b87912c2-cc31-4bae-a083-27cde21e6495" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:54:48 +0000 (0:00:00.053) 0:00:32.360 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:54:48 +0000 (0:00:00.047) 0:00:32.408 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Show result] ************************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 15:54:48 +0000 (0:00:00.458) 0:00:32.866 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b87912c2-cc31-4bae-a083-27cde21e6495\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b87912c2-cc31-4bae-a083-27cde21e6495" ] } } TASK [test] ******************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 15:54:49 +0000 (0:00:00.051) 0:00:32.918 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/activate_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 15:54:49 +0000 (0:00:00.064) 0:00:32.982 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:54:49 +0000 (0:00:00.068) 0:00:33.050 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:54:49 +0000 (0:00:00.108) 0:00:33.159 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:54:49 +0000 (0:00:00.579) 0:00:33.739 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:54:51 +0000 (0:00:02.104) 0:00:35.843 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:54:52 +0000 (0:00:00.854) 0:00:36.698 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:54:52 +0000 (0:00:00.050) 0:00:36.749 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:54:52 +0000 (0:00:00.044) 0:00:36.793 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:54:52 +0000 (0:00:00.042) 0:00:36.836 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:54:53 +0000 (0:00:00.076) 0:00:36.912 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:54:53 +0000 (0:00:00.040) 0:00:36.953 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:54:53 +0000 (0:00:00.044) 0:00:36.998 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:54:53 +0000 (0:00:00.056) 0:00:37.054 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:54:53 +0000 (0:00:00.609) 0:00:37.663 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:54:53 +0000 (0:00:00.060) 0:00:37.724 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:54:53 +0000 (0:00:00.038) 0:00:37.762 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:54:53 +0000 (0:00:00.036) 0:00:37.799 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b87912c2-cc31-4bae-a083-27cde21e6495 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:54:54 +0000 (0:00:00.644) 0:00:38.444 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:54:54 +0000 (0:00:00.043) 0:00:38.487 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b87912c2-cc31-4bae-a083-27cde21e6495 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:54:54 +0000 (0:00:00.057) 0:00:38.545 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b87912c2-cc31-4bae-a083-27cde21e6495 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b87912c2-cc31-4bae-a083-27cde21e6495 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:54:54 +0000 (0:00:00.056) 0:00:38.601 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:54:54 +0000 (0:00:00.044) 0:00:38.645 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [asserts] ***************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 15:54:55 +0000 (0:00:00.457) 0:00:39.103 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_device_present.yml) included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:54:55 +0000 (0:00:00.077) 0:00:39.180 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:54:55 +0000 (0:00:00.063) 0:00:39.244 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542087.3369427, "block_size": 4096, "blocks": 0, "ctime": 1659542087.3369427, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35458, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1659542087.3369427, "nlink": 1, "path": "/sys/class/net/statebr", "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 statebr is present] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:54:55 +0000 (0:00:00.501) 0:00:39.746 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 15:54:55 +0000 (0:00:00.050) 0:00:39.796 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:54:55 +0000 (0:00:00.064) 0:00:39.861 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:54:56 +0000 (0:00:00.048) 0:00:39.909 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:54:56 +0000 (0:00:00.451) 0:00:40.360 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:54:56 +0000 (0:00:00.038) 0:00:40.399 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021790", "end": "2022-08-03 15:54:56.055061", "rc": 0, "start": "2022-08-03 15:54:56.033271" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:54:56 +0000 (0:00:00.464) 0:00:40.863 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:54:57 +0000 (0:00:00.050) 0:00:40.913 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:54:57 +0000 (0:00:00.040) 0:00:40.954 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 15:54:57 +0000 (0:00:00.040) 0:00:40.994 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 15:54:57 +0000 (0:00:00.122) 0:00:41.116 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 15:54:57 +0000 (0:00:00.048) 0:00:41.165 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 15:54:57 +0000 (0:00:00.048) 0:00:41.213 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 15:54:57 +0000 (0:00:00.045) 0:00:41.259 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-36.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 15:54:57 +0000 (0:00:00.065) 0:00:41.324 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.059176", "end": "2022-08-03 15:54:57.011775", "rc": 1, "start": "2022-08-03 15:54:56.952599" } STDOUT: Connection 'statebr' (b87912c2-cc31-4bae-a083-27cde21e6495) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_states.yml:73 Wednesday 03 August 2022 15:54:57 +0000 (0:00:00.496) 0:00:41.821 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml for /cache/fedora-36.qcow2.snap TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 15:54:57 +0000 (0:00:00.064) 0:00:41.886 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 15:54:58 +0000 (0:00:00.054) 0:00:41.940 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 15:54:58 +0000 (0:00:00.158) 0:00:42.099 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:54:58 +0000 (0:00:00.061) 0:00:42.161 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:54:58 +0000 (0:00:00.098) 0:00:42.260 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004284", "end": "2022-08-03 15:54:57.905842", "rc": 0, "start": "2022-08-03 15:54:57.901558" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:54:58 +0000 (0:00:00.460) 0:00:42.720 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:54:58 +0000 (0:00:00.052) 0:00:42.772 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 15:54:58 +0000 (0:00:00.049) 0:00:42.822 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/create_bridge_profile.yml) included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/activate_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 15:54:58 +0000 (0:00:00.072) 0:00:42.894 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:54:59 +0000 (0:00:00.066) 0:00:42.961 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:54:59 +0000 (0:00:00.070) 0:00:43.031 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:54:59 +0000 (0:00:00.635) 0:00:43.666 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:55:01 +0000 (0:00:02.087) 0:00:45.754 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:55:02 +0000 (0:00:00.739) 0:00:46.494 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:55:02 +0000 (0:00:00.051) 0:00:46.545 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:55:02 +0000 (0:00:00.087) 0:00:46.633 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:55:02 +0000 (0:00:00.043) 0:00:46.676 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:55:02 +0000 (0:00:00.078) 0:00:46.755 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:55:02 +0000 (0:00:00.041) 0:00:46.797 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:55:02 +0000 (0:00:00.044) 0:00:46.841 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:55:03 +0000 (0:00:00.058) 0:00:46.899 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:55:03 +0000 (0:00:00.632) 0:00:47.532 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:55:03 +0000 (0:00:00.057) 0:00:47.589 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:55:03 +0000 (0:00:00.037) 0:00:47.626 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:55:03 +0000 (0:00:00.038) 0:00:47.664 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b965bd70-6ad6-4b06-9126-101b974c5045 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:55:04 +0000 (0:00:00.677) 0:00:48.342 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:55:04 +0000 (0:00:00.043) 0:00:48.385 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b965bd70-6ad6-4b06-9126-101b974c5045" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:55:04 +0000 (0:00:00.051) 0:00:48.437 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b965bd70-6ad6-4b06-9126-101b974c5045\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b965bd70-6ad6-4b06-9126-101b974c5045" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:55:04 +0000 (0:00:00.050) 0:00:48.488 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:55:04 +0000 (0:00:00.048) 0:00:48.536 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Show result] ************************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 15:55:05 +0000 (0:00:00.469) 0:00:49.006 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b965bd70-6ad6-4b06-9126-101b974c5045\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b965bd70-6ad6-4b06-9126-101b974c5045" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 15:55:05 +0000 (0:00:00.061) 0:00:49.067 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:55:05 +0000 (0:00:00.063) 0:00:49.130 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:55:05 +0000 (0:00:00.068) 0:00:49.199 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:55:05 +0000 (0:00:00.584) 0:00:49.783 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:55:07 +0000 (0:00:02.082) 0:00:51.866 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:55:08 +0000 (0:00:00.845) 0:00:52.712 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:55:08 +0000 (0:00:00.052) 0:00:52.765 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:55:08 +0000 (0:00:00.042) 0:00:52.808 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:55:08 +0000 (0:00:00.042) 0:00:52.850 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:55:09 +0000 (0:00:00.079) 0:00:52.930 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:55:09 +0000 (0:00:00.042) 0:00:52.972 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:55:09 +0000 (0:00:00.048) 0:00:53.021 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:55:09 +0000 (0:00:00.057) 0:00:53.078 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:55:09 +0000 (0:00:00.621) 0:00:53.699 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:55:09 +0000 (0:00:00.058) 0:00:53.758 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:55:09 +0000 (0:00:00.040) 0:00:53.799 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:55:09 +0000 (0:00:00.040) 0:00:53.839 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b965bd70-6ad6-4b06-9126-101b974c5045 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:55:10 +0000 (0:00:00.640) 0:00:54.480 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:55:10 +0000 (0:00:00.043) 0:00:54.524 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b965bd70-6ad6-4b06-9126-101b974c5045 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:55:10 +0000 (0:00:00.047) 0:00:54.571 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b965bd70-6ad6-4b06-9126-101b974c5045 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b965bd70-6ad6-4b06-9126-101b974c5045 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:55:10 +0000 (0:00:00.051) 0:00:54.623 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:55:10 +0000 (0:00:00.047) 0:00:54.671 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [test] ******************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 15:55:11 +0000 (0:00:00.451) 0:00:55.122 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/remove_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 03 August 2022 15:55:11 +0000 (0:00:00.070) 0:00:55.192 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:55:11 +0000 (0:00:00.073) 0:00:55.266 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:55:11 +0000 (0:00:00.116) 0:00:55.382 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:55:12 +0000 (0:00:00.582) 0:00:55.965 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:55:14 +0000 (0:00:02.126) 0:00:58.091 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:55:15 +0000 (0:00:00.856) 0:00:58.947 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:55:15 +0000 (0:00:00.051) 0:00:58.999 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:55:15 +0000 (0:00:00.042) 0:00:59.042 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:55:15 +0000 (0:00:00.043) 0:00:59.085 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:55:15 +0000 (0:00:00.080) 0:00:59.166 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:55:15 +0000 (0:00:00.043) 0:00:59.209 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:55:15 +0000 (0:00:00.040) 0:00:59.250 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:55:15 +0000 (0:00:00.055) 0:00:59.305 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:55:16 +0000 (0:00:00.627) 0:00:59.933 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:55:16 +0000 (0:00:00.060) 0:00:59.993 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:55:16 +0000 (0:00:00.038) 0:01:00.032 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:55:16 +0000 (0:00:00.038) 0:01:00.071 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:55:16 +0000 (0:00:00.680) 0:01:00.751 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:55:16 +0000 (0:00:00.044) 0:01:00.796 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:55:16 +0000 (0:00:00.047) 0:01:00.843 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:55:16 +0000 (0:00:00.045) 0:01:00.889 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:55:17 +0000 (0:00:00.043) 0:01:00.933 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [asserts] ***************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 15:55:17 +0000 (0:00:00.464) 0:01:01.397 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_device_present.yml) included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_profile_absent.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 15:55:17 +0000 (0:00:00.074) 0:01:01.471 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:55:17 +0000 (0:00:00.063) 0:01:01.535 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659542103.489969, "block_size": 4096, "blocks": 0, "ctime": 1659542103.489969, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35589, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1659542103.489969, "nlink": 1, "path": "/sys/class/net/statebr", "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 statebr is present] ******************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 15:55:18 +0000 (0:00:00.456) 0:01:01.992 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 15:55:18 +0000 (0:00:00.076) 0:01:02.069 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:55:18 +0000 (0:00:00.071) 0:01:02.141 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:55:18 +0000 (0:00:00.057) 0:01:02.198 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:55:18 +0000 (0:00:00.423) 0:01:02.622 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:55:18 +0000 (0:00:00.040) 0:01:02.662 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021261", "end": "2022-08-03 15:55:18.302190", "rc": 1, "start": "2022-08-03 15:55:18.280929" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:55:19 +0000 (0:00:00.449) 0:01:03.112 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:55:19 +0000 (0:00:00.040) 0:01:03.152 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:55:19 +0000 (0:00:00.039) 0:01:03.192 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 15:55:19 +0000 (0:00:00.039) 0:01:03.231 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 15:55:19 +0000 (0:00:00.051) 0:01:03.283 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 15:55:19 +0000 (0:00:00.112) 0:01:03.395 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 15:55:19 +0000 (0:00:00.047) 0:01:03.443 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-36.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 15:55:19 +0000 (0:00:00.067) 0:01:03.511 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.061849", "end": "2022-08-03 15:55:19.186696", "rc": 1, "start": "2022-08-03 15:55:19.124847" } STDOUT: Connection 'statebr' (b965bd70-6ad6-4b06-9126-101b974c5045) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_states.yml:91 Wednesday 03 August 2022 15:55:20 +0000 (0:00:00.495) 0:01:04.006 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml for /cache/fedora-36.qcow2.snap TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 15:55:20 +0000 (0:00:00.067) 0:01:04.074 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 15:55:20 +0000 (0:00:00.052) 0:01:04.126 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_absent.yml", "when": true } ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 15:55:20 +0000 (0:00:00.157) 0:01:04.284 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:55:20 +0000 (0:00:00.063) 0:01:04.348 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:55:20 +0000 (0:00:00.063) 0:01:04.411 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004919", "end": "2022-08-03 15:55:20.092785", "rc": 0, "start": "2022-08-03 15:55:20.087866" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:55:21 +0000 (0:00:00.488) 0:01:04.899 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:55:21 +0000 (0:00:00.051) 0:01:04.951 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 15:55:21 +0000 (0:00:00.050) 0:01:05.002 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/create_bridge_profile.yml) included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/activate_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/activate_profile.yml) included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/remove_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 15:55:21 +0000 (0:00:00.070) 0:01:05.073 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:55:21 +0000 (0:00:00.062) 0:01:05.135 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:55:21 +0000 (0:00:00.067) 0:01:05.202 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:55:21 +0000 (0:00:00.582) 0:01:05.785 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:55:24 +0000 (0:00:02.142) 0:01:07.927 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:55:24 +0000 (0:00:00.759) 0:01:08.686 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:55:24 +0000 (0:00:00.119) 0:01:08.806 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:55:24 +0000 (0:00:00.041) 0:01:08.848 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:55:24 +0000 (0:00:00.040) 0:01:08.888 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:55:25 +0000 (0:00:00.074) 0:01:08.962 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:55:25 +0000 (0:00:00.040) 0:01:09.003 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:55:25 +0000 (0:00:00.041) 0:01:09.044 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:55:25 +0000 (0:00:00.053) 0:01:09.098 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:55:25 +0000 (0:00:00.630) 0:01:09.728 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:55:25 +0000 (0:00:00.058) 0:01:09.786 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:55:25 +0000 (0:00:00.038) 0:01:09.825 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:55:25 +0000 (0:00:00.045) 0:01:09.870 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 14d5395a-d371-40df-9146-11c20c79e0f4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:55:26 +0000 (0:00:00.685) 0:01:10.555 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:55:26 +0000 (0:00:00.044) 0:01:10.600 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 14d5395a-d371-40df-9146-11c20c79e0f4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:55:26 +0000 (0:00:00.052) 0:01:10.653 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 14d5395a-d371-40df-9146-11c20c79e0f4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 14d5395a-d371-40df-9146-11c20c79e0f4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:55:26 +0000 (0:00:00.052) 0:01:10.706 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:55:26 +0000 (0:00:00.043) 0:01:10.749 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Show result] ************************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 15:55:27 +0000 (0:00:00.466) 0:01:11.215 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 14d5395a-d371-40df-9146-11c20c79e0f4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 14d5395a-d371-40df-9146-11c20c79e0f4" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 15:55:27 +0000 (0:00:00.048) 0:01:11.264 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:55:27 +0000 (0:00:00.063) 0:01:11.327 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:55:27 +0000 (0:00:00.073) 0:01:11.400 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:55:28 +0000 (0:00:00.620) 0:01:12.021 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:55:30 +0000 (0:00:02.162) 0:01:14.184 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:55:31 +0000 (0:00:00.797) 0:01:14.982 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:55:31 +0000 (0:00:00.120) 0:01:15.102 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:55:31 +0000 (0:00:00.043) 0:01:15.146 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:55:31 +0000 (0:00:00.043) 0:01:15.190 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:55:31 +0000 (0:00:00.078) 0:01:15.269 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:55:31 +0000 (0:00:00.043) 0:01:15.312 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:55:31 +0000 (0:00:00.041) 0:01:15.354 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:55:31 +0000 (0:00:00.054) 0:01:15.408 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:55:32 +0000 (0:00:00.620) 0:01:16.029 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:55:32 +0000 (0:00:00.059) 0:01:16.088 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:55:32 +0000 (0:00:00.038) 0:01:16.127 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:55:32 +0000 (0:00:00.037) 0:01:16.165 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 14d5395a-d371-40df-9146-11c20c79e0f4 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:55:32 +0000 (0:00:00.642) 0:01:16.807 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:55:32 +0000 (0:00:00.041) 0:01:16.849 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 14d5395a-d371-40df-9146-11c20c79e0f4 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:55:33 +0000 (0:00:00.050) 0:01:16.900 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 14d5395a-d371-40df-9146-11c20c79e0f4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 14d5395a-d371-40df-9146-11c20c79e0f4 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:55:33 +0000 (0:00:00.047) 0:01:16.948 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:55:33 +0000 (0:00:00.039) 0:01:16.988 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 03 August 2022 15:55:33 +0000 (0:00:00.442) 0:01:17.431 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:55:33 +0000 (0:00:00.067) 0:01:17.498 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:55:33 +0000 (0:00:00.068) 0:01:17.567 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:55:34 +0000 (0:00:00.613) 0:01:18.181 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:55:36 +0000 (0:00:02.135) 0:01:20.316 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:55:37 +0000 (0:00:00.823) 0:01:21.140 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:55:37 +0000 (0:00:00.047) 0:01:21.188 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:55:37 +0000 (0:00:00.056) 0:01:21.244 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:55:37 +0000 (0:00:00.045) 0:01:21.290 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:55:37 +0000 (0:00:00.081) 0:01:21.371 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:55:37 +0000 (0:00:00.040) 0:01:21.412 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:55:37 +0000 (0:00:00.041) 0:01:21.454 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:55:37 +0000 (0:00:00.058) 0:01:21.512 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:55:38 +0000 (0:00:00.627) 0:01:22.140 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:55:38 +0000 (0:00:00.060) 0:01:22.201 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:55:38 +0000 (0:00:00.043) 0:01:22.244 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:55:38 +0000 (0:00:00.040) 0:01:22.285 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:55:39 +0000 (0:00:00.670) 0:01:22.955 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:55:39 +0000 (0:00:00.040) 0:01:22.996 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:55:39 +0000 (0:00:00.047) 0:01:23.043 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:55:39 +0000 (0:00:00.044) 0:01:23.088 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:55:39 +0000 (0:00:00.039) 0:01:23.127 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [test] ******************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 15:55:39 +0000 (0:00:00.445) 0:01:23.572 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/remove+down_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 15:55:39 +0000 (0:00:00.066) 0:01:23.639 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:55:39 +0000 (0:00:00.071) 0:01:23.710 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:55:39 +0000 (0:00:00.117) 0:01:23.827 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:55:40 +0000 (0:00:00.596) 0:01:24.424 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:55:42 +0000 (0:00:02.142) 0:01:26.567 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:55:43 +0000 (0:00:00.844) 0:01:27.411 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:55:43 +0000 (0:00:00.127) 0:01:27.538 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:55:43 +0000 (0:00:00.043) 0:01:27.581 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:55:43 +0000 (0:00:00.046) 0:01:27.628 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:55:43 +0000 (0:00:00.078) 0:01:27.706 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:55:43 +0000 (0:00:00.042) 0:01:27.749 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:55:43 +0000 (0:00:00.041) 0:01:27.790 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:55:43 +0000 (0:00:00.060) 0:01:27.851 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:55:44 +0000 (0:00:00.629) 0:01:28.480 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:55:44 +0000 (0:00:00.056) 0:01:28.537 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:55:44 +0000 (0:00:00.035) 0:01:28.572 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:55:44 +0000 (0:00:00.039) 0:01:28.612 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:55:45 +0000 (0:00:00.723) 0:01:29.336 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:55:45 +0000 (0:00:00.043) 0:01:29.379 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:55:45 +0000 (0:00:00.053) 0:01:29.433 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:55:45 +0000 (0:00:00.053) 0:01:29.487 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:55:45 +0000 (0:00:00.042) 0:01:29.530 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [asserts] ***************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 15:55:46 +0000 (0:00:00.457) 0:01:29.987 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_profile_absent.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 15:55:46 +0000 (0:00:00.068) 0:01:30.056 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:55:46 +0000 (0:00:00.064) 0:01:30.120 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:55:46 +0000 (0:00:00.048) 0:01:30.169 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:55:46 +0000 (0:00:00.446) 0:01:30.616 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:55:46 +0000 (0:00:00.037) 0:01:30.653 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022471", "end": "2022-08-03 15:55:46.308891", "rc": 1, "start": "2022-08-03 15:55:46.286420" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:55:47 +0000 (0:00:00.468) 0:01:31.122 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:55:47 +0000 (0:00:00.042) 0:01:31.164 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:55:47 +0000 (0:00:00.040) 0:01:31.204 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 15:55:47 +0000 (0:00:00.038) 0:01:31.243 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 15:55:47 +0000 (0:00:00.054) 0:01:31.297 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-36.qcow2.snap => (item={'what': 'tasks/assert_device_absent.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 15:55:47 +0000 (0:00:00.094) 0:01:31.391 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:55:47 +0000 (0:00:00.066) 0:01:31.458 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 15:55:48 +0000 (0:00:00.475) 0:01:31.933 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 15:55:48 +0000 (0:00:00.051) 0:01:31.984 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 15:55:48 +0000 (0:00:00.052) 0:01:32.037 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-36.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 15:55:48 +0000 (0:00:00.068) 0:01:32.105 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.040271", "end": "2022-08-03 15:55:47.775212", "rc": 1, "start": "2022-08-03 15:55:47.734941" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tests_states.yml:111 Wednesday 03 August 2022 15:55:48 +0000 (0:00:00.480) 0:01:32.586 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml for /cache/fedora-36.qcow2.snap TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 15:55:48 +0000 (0:00:00.067) 0:01:32.653 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 15:55:48 +0000 (0:00:00.052) 0:01:32.706 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_absent.yml", "when": true } ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 15:55:48 +0000 (0:00:00.152) 0:01:32.859 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 15:55:49 +0000 (0:00:00.063) 0:01:32.922 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 15:55:49 +0000 (0:00:00.062) 0:01:32.984 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003451", "end": "2022-08-03 15:55:48.658953", "rc": 0, "start": "2022-08-03 15:55:48.655502" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 15:55:49 +0000 (0:00:00.479) 0:01:33.464 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 15:55:49 +0000 (0:00:00.047) 0:01:33.512 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 15:55:49 +0000 (0:00:00.049) 0:01:33.561 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/create_bridge_profile.yml) included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/activate_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/activate_profile.yml) included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/remove+down_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 15:55:49 +0000 (0:00:00.070) 0:01:33.632 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:55:49 +0000 (0:00:00.062) 0:01:33.694 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:55:49 +0000 (0:00:00.068) 0:01:33.763 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:55:50 +0000 (0:00:00.602) 0:01:34.365 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:55:52 +0000 (0:00:02.186) 0:01:36.552 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:55:53 +0000 (0:00:00.784) 0:01:37.336 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:55:53 +0000 (0:00:00.123) 0:01:37.460 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:55:53 +0000 (0:00:00.042) 0:01:37.502 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:55:53 +0000 (0:00:00.039) 0:01:37.542 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:55:53 +0000 (0:00:00.075) 0:01:37.617 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:55:53 +0000 (0:00:00.040) 0:01:37.658 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:55:53 +0000 (0:00:00.042) 0:01:37.700 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:55:53 +0000 (0:00:00.063) 0:01:37.763 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:55:54 +0000 (0:00:00.617) 0:01:38.381 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:55:54 +0000 (0:00:00.055) 0:01:38.437 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:55:54 +0000 (0:00:00.034) 0:01:38.471 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:55:54 +0000 (0:00:00.034) 0:01:38.506 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6ffcc96-0552-4568-942b-4d46fc612dab TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:55:55 +0000 (0:00:00.660) 0:01:39.166 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:55:55 +0000 (0:00:00.042) 0:01:39.208 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6ffcc96-0552-4568-942b-4d46fc612dab" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:55:55 +0000 (0:00:00.052) 0:01:39.261 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6ffcc96-0552-4568-942b-4d46fc612dab\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6ffcc96-0552-4568-942b-4d46fc612dab" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:55:55 +0000 (0:00:00.051) 0:01:39.312 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:55:55 +0000 (0:00:00.039) 0:01:39.352 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Show result] ************************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 15:55:55 +0000 (0:00:00.479) 0:01:39.832 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6ffcc96-0552-4568-942b-4d46fc612dab\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d6ffcc96-0552-4568-942b-4d46fc612dab" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 15:55:55 +0000 (0:00:00.050) 0:01:39.882 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:55:56 +0000 (0:00:00.066) 0:01:39.948 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:55:56 +0000 (0:00:00.069) 0:01:40.017 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:55:56 +0000 (0:00:00.630) 0:01:40.647 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:55:58 +0000 (0:00:02.109) 0:01:42.757 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:55:59 +0000 (0:00:00.799) 0:01:43.556 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:55:59 +0000 (0:00:00.122) 0:01:43.679 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:55:59 +0000 (0:00:00.043) 0:01:43.723 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:55:59 +0000 (0:00:00.043) 0:01:43.766 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:55:59 +0000 (0:00:00.076) 0:01:43.843 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:55:59 +0000 (0:00:00.042) 0:01:43.885 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:56:00 +0000 (0:00:00.043) 0:01:43.928 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:56:00 +0000 (0:00:00.056) 0:01:43.985 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:56:00 +0000 (0:00:00.618) 0:01:44.604 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:56:00 +0000 (0:00:00.056) 0:01:44.660 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:56:00 +0000 (0:00:00.035) 0:01:44.696 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:56:00 +0000 (0:00:00.035) 0:01:44.731 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d6ffcc96-0552-4568-942b-4d46fc612dab skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:56:01 +0000 (0:00:00.625) 0:01:45.357 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:56:01 +0000 (0:00:00.042) 0:01:45.400 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d6ffcc96-0552-4568-942b-4d46fc612dab skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:56:01 +0000 (0:00:00.054) 0:01:45.454 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d6ffcc96-0552-4568-942b-4d46fc612dab skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d6ffcc96-0552-4568-942b-4d46fc612dab skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:56:01 +0000 (0:00:00.048) 0:01:45.503 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:56:01 +0000 (0:00:00.038) 0:01:45.542 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 15:56:02 +0000 (0:00:00.428) 0:01:45.971 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:56:02 +0000 (0:00:00.066) 0:01:46.037 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:56:02 +0000 (0:00:00.068) 0:01:46.105 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:56:02 +0000 (0:00:00.574) 0:01:46.680 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:56:04 +0000 (0:00:02.076) 0:01:48.757 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:56:05 +0000 (0:00:00.785) 0:01:49.542 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:56:05 +0000 (0:00:00.084) 0:01:49.627 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:56:05 +0000 (0:00:00.040) 0:01:49.667 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:56:05 +0000 (0:00:00.039) 0:01:49.707 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:56:05 +0000 (0:00:00.073) 0:01:49.780 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:56:05 +0000 (0:00:00.042) 0:01:49.823 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:56:05 +0000 (0:00:00.043) 0:01:49.866 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:56:06 +0000 (0:00:00.058) 0:01:49.924 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:56:06 +0000 (0:00:00.621) 0:01:50.546 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:56:06 +0000 (0:00:00.058) 0:01:50.605 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:56:06 +0000 (0:00:00.037) 0:01:50.642 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:56:06 +0000 (0:00:00.037) 0:01:50.680 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:56:07 +0000 (0:00:00.729) 0:01:51.409 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:56:07 +0000 (0:00:00.042) 0:01:51.452 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:56:07 +0000 (0:00:00.049) 0:01:51.502 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:56:07 +0000 (0:00:00.053) 0:01:51.555 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:56:07 +0000 (0:00:00.042) 0:01:51.597 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [test] ******************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 15:56:08 +0000 (0:00:00.440) 0:01:52.037 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/remove+down_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 15:56:08 +0000 (0:00:00.065) 0:01:52.103 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 03 August 2022 15:56:08 +0000 (0:00:00.061) 0:01:52.165 ****** included: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 03 August 2022 15:56:08 +0000 (0:00:00.097) 0:01:52.263 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which services are running] *********** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 Wednesday 03 August 2022 15:56:08 +0000 (0:00:00.571) 0:01:52.834 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:15 Wednesday 03 August 2022 15:56:11 +0000 (0:00:02.098) 0:01:54.933 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 03 August 2022 15:56:11 +0000 (0:00:00.804) 0:01:55.738 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 03 August 2022 15:56:11 +0000 (0:00:00.139) 0:01:55.878 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 03 August 2022 15:56:12 +0000 (0:00:00.045) 0:01:55.923 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 03 August 2022 15:56:12 +0000 (0:00:00.043) 0:01:55.967 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:38 Wednesday 03 August 2022 15:56:12 +0000 (0:00:00.078) 0:01:56.045 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:51 Wednesday 03 August 2022 15:56:12 +0000 (0:00:00.044) 0:01:56.090 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:65 Wednesday 03 August 2022 15:56:12 +0000 (0:00:00.044) 0:01:56.134 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 Wednesday 03 August 2022 15:56:12 +0000 (0:00:00.067) 0:01:56.202 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:90 Wednesday 03 August 2022 15:56:12 +0000 (0:00:00.636) 0:01:56.839 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 03 August 2022 15:56:12 +0000 (0:00:00.059) 0:01:56.898 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:107 Wednesday 03 August 2022 15:56:13 +0000 (0:00:00.038) 0:01:56.937 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 03 August 2022 15:56:13 +0000 (0:00:00.039) 0:01:56.976 ****** redirecting (type: action) ansible.builtin.network to ansible.netcommon.network ok: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:128 Wednesday 03 August 2022 15:56:13 +0000 (0:00:00.658) 0:01:57.634 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 03 August 2022 15:56:13 +0000 (0:00:00.040) 0:01:57.675 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:138 Wednesday 03 August 2022 15:56:13 +0000 (0:00:00.048) 0:01:57.723 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 03 August 2022 15:56:13 +0000 (0:00:00.047) 0:01:57.770 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 03 August 2022 15:56:13 +0000 (0:00:00.039) 0:01:57.810 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [asserts] ***************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 15:56:14 +0000 (0:00:00.452) 0:01:58.262 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_profile_absent.yml) included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_NetworkManager_NVR.yml for /cache/fedora-36.qcow2.snap => (item=tasks/get_NetworkManager_NVR.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 15:56:14 +0000 (0:00:00.072) 0:01:58.335 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 15:56:14 +0000 (0:00:00.060) 0:01:58.396 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 15:56:14 +0000 (0:00:00.045) 0:01:58.442 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 15:56:14 +0000 (0:00:00.411) 0:01:58.854 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 15:56:14 +0000 (0:00:00.036) 0:01:58.890 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021159", "end": "2022-08-03 15:56:14.525176", "rc": 1, "start": "2022-08-03 15:56:14.504017" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 15:56:15 +0000 (0:00:00.489) 0:01:59.379 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 15:56:15 +0000 (0:00:00.037) 0:01:59.416 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 15:56:15 +0000 (0:00:00.038) 0:01:59.454 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 15:56:15 +0000 (0:00:00.036) 0:01:59.491 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_NetworkManager_NVR.yml:4 Wednesday 03 August 2022 15:56:15 +0000 (0:00:00.054) 0:01:59.546 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.139382", "end": "2022-08-03 15:56:15.292446", "rc": 0, "start": "2022-08-03 15:56:15.153064" } STDOUT: NetworkManager-1.38.2-1.fc36 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_NetworkManager_NVR.yml:10 Wednesday 03 August 2022 15:56:16 +0000 (0:00:00.561) 0:02:00.108 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "NetworkManager_NVR": "NetworkManager-1.38.2-1.fc36" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 03 August 2022 15:56:16 +0000 (0:00:00.046) 0:02:00.154 ****** ok: [/cache/fedora-36.qcow2.snap] => { "NetworkManager_NVR": "NetworkManager-1.38.2-1.fc36" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 15:56:16 +0000 (0:00:00.052) 0:02:00.207 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml for /cache/fedora-36.qcow2.snap => (item={'what': 'tasks/assert_device_absent.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 15:56:16 +0000 (0:00:00.121) 0:02:00.328 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 15:56:16 +0000 (0:00:00.064) 0:02:00.393 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 15:56:16 +0000 (0:00:00.438) 0:02:00.831 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 15:56:16 +0000 (0:00:00.049) 0:02:00.881 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 15:56:17 +0000 (0:00:00.047) 0:02:00.928 ****** included: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-36.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpcu0yxwd0/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 15:56:17 +0000 (0:00:00.071) 0:02:01.000 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.039304", "end": "2022-08-03 15:56:16.656674", "rc": 1, "start": "2022-08-03 15:56:16.617370" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=328 changed=12 unreachable=0 failed=0 skipped=194 rescued=0 ignored=11 Wednesday 03 August 2022 15:56:17 +0000 (0:00:00.486) 0:02:01.486 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 3.57s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 3.38s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 2.55s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 2.47s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Re-test connectivity ----------------------- 2.46s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Check which services are running ----------- 2.19s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.19s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.19s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.16s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.16s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.14s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.14s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.14s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.13s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 2.11s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 2.11s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.10s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.10s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.09s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.08s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpcu0yxwd0/tests/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpcu0yxwd0/tests/_restore.yml:4 Wednesday 03 August 2022 15:56:17 +0000 (0:00:00.093) 0:02:01.580 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.007615", "end": "2022-08-03 15:56:17.202104", "rc": 0, "start": "2022-08-03 15:56:17.194489" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=329 changed=13 unreachable=0 failed=0 skipped=194 rescued=0 ignored=11 Wednesday 03 August 2022 15:56:18 +0000 (0:00:00.457) 0:02:02.038 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 3.57s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 3.38s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Configure networking connection profiles --- 2.55s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Enable and start NetworkManager ------------ 2.47s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:79 ----- linux-system-roles.network : Re-test connectivity ----------------------- 2.46s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:149 ---- linux-system-roles.network : Check which services are running ----------- 2.19s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.19s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.19s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.16s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.16s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.14s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.14s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.14s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.13s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Configure networking connection profiles --- 2.11s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/main.yml:116 ---- linux-system-roles.network : Check which services are running ----------- 2.11s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.10s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.10s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.09s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 linux-system-roles.network : Check which services are running ----------- 2.08s /tmp/tmpcu0yxwd0/tests/roles/linux-system-roles.network/tasks/set_facts.yml:10 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpxngj32xw executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _backup.yml ********************************************************** 1 plays in /tmp/tmpsh02am6p/tests/network/_backup.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Get stats of system files] *********************************************** task path: /tmp/tmpsh02am6p/tests/network/_backup.yml:6 Wednesday 03 August 2022 16:21:21 +0000 (0:00:00.017) 0:00:00.017 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=/etc/resolv.conf) => { "ansible_facts": { "discovered_interpreter_python": "/usr/bin/python3" }, "ansible_loop_var": "item", "changed": false, "item": "/etc/resolv.conf", "stat": { "atime": 1659543680.4075513, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659543680.4075513, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 45417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Check if system files exist] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/_backup.yml:13 Wednesday 03 August 2022 16:21:22 +0000 (0:00:00.639) 0:00:00.656 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item.stat.exists }} ok: [/cache/fedora-36.qcow2.snap] => (item={'changed': False, 'stat': {'exists': True, 'path': '/etc/resolv.conf', 'mode': '0777', 'isdir': False, 'ischr': False, 'isblk': False, 'isreg': False, 'isfifo': False, 'islnk': True, 'issock': False, 'uid': 0, 'gid': 0, 'size': 39, 'inode': 45417, 'dev': 31, 'nlink': 1, 'atime': 1659543680.4075513, 'mtime': 1659248396.0, 'ctime': 1659543680.4075513, '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": 1659543680.4075513, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1659543680.4075513, "dev": 31, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 45417, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/run/systemd/resolve/stub-resolv.conf", "lnk_target": "../run/systemd/resolve/stub-resolv.conf", "mimetype": "inode/symlink", "mode": "0777", "mtime": 1659248396.0, "nlink": 1, "path": "/etc/resolv.conf", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 39, "uid": 0, "version": null, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } } TASK [Back up system files] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/_backup.yml:19 Wednesday 03 August 2022 16:21:22 +0000 (0:00:00.033) 0:00:00.689 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "tar", "-cf", "/tmp/network.backup.tar", "--same-owner", "--same-permissions", "/etc/resolv.conf" ], "delta": "0:00:00.004518", "end": "2022-08-03 16:21:22.207889", "rc": 0, "start": "2022-08-03 16:21:22.203371" } STDERR: tar: Removing leading `/' from member names META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=3 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 03 August 2022 16:21:23 +0000 (0:00:00.533) 0:00:01.223 ****** =============================================================================== Get stats of system files ----------------------------------------------- 0.64s /tmp/tmpsh02am6p/tests/network/_backup.yml:6 ---------------------------------- Back up system files ---------------------------------------------------- 0.53s /tmp/tmpsh02am6p/tests/network/_backup.yml:19 --------------------------------- Check if system files exist --------------------------------------------- 0.03s /tmp/tmpsh02am6p/tests/network/_backup.yml:13 --------------------------------- PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /tmp/tmpsh02am6p/tests/network/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/tests_states_nm.yml:5 Wednesday 03 August 2022 16:21:23 +0000 (0:00:00.015) 0:00:01.238 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tests_states_nm.yml:8 Wednesday 03 August 2022 16:21:24 +0000 (0:00:01.109) 0:00:02.347 ****** included: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml for /cache/fedora-36.qcow2.snap TASK [Fix CentOS6 Base repo] *************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml:2 Wednesday 03 August 2022 16:21:24 +0000 (0:00:00.028) 0:00:02.376 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/el_repo_setup.yml:27 Wednesday 03 August 2022 16:21:24 +0000 (0:00:00.021) 0:00:02.397 ****** included: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml for /cache/fedora-36.qcow2.snap TASK [Create EPEL 36] ********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:4 Wednesday 03 August 2022 16:21:24 +0000 (0:00:00.029) 0:00:02.427 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:11 Wednesday 03 August 2022 16:21:24 +0000 (0:00:00.019) 0:00:02.447 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:17 Wednesday 03 August 2022 16:21:24 +0000 (0:00:00.019) 0:00:02.467 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/tasks/enable_epel.yml:26 Wednesday 03 August 2022 16:21:24 +0000 (0:00:00.020) 0:00:02.487 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/tests_states_nm.yml:9 Wednesday 03 August 2022 16:21:24 +0000 (0:00:00.018) 0:00:02.506 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_states.yml:3 Wednesday 03 August 2022 16:21:24 +0000 (0:00:00.048) 0:00:02.554 ****** ok: [/cache/fedora-36.qcow2.snap] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_states.yml:10 Wednesday 03 August 2022 16:21:25 +0000 (0:00:00.845) 0:00:03.399 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: this is: playbooks/tests_states.yml TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_states.yml:18 Wednesday 03 August 2022 16:21:25 +0000 (0:00:00.028) 0:00:03.428 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml for /cache/fedora-36.qcow2.snap TASK [TEST: I can create a profile] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 16:21:25 +0000 (0:00:00.033) 0:00:03.462 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 16:21:25 +0000 (0:00:00.031) 0:00:03.493 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_present.yml", "when": true } ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 16:21:25 +0000 (0:00:00.117) 0:00:03.610 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:21:25 +0000 (0:00:00.031) 0:00:03.642 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:21:25 +0000 (0:00:00.028) 0:00:03.671 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003775", "end": "2022-08-03 16:21:25.075281", "rc": 0, "start": "2022-08-03 16:21:25.071506" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:21:25 +0000 (0:00:00.414) 0:00:04.085 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:21:25 +0000 (0:00:00.037) 0:00:04.123 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 16:21:25 +0000 (0:00:00.032) 0:00:04.156 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/delete_interface.yml for /cache/fedora-36.qcow2.snap => (item=tasks/delete_interface.yml) included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 16:21:26 +0000 (0:00:00.041) 0:00:04.197 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009001", "end": "2022-08-03 16:21:25.604543", "rc": 1, "start": "2022-08-03 16:21:25.595542" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:21:26 +0000 (0:00:00.416) 0:00:04.614 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:21:26 +0000 (0:00:00.032) 0:00:04.646 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:21:26 +0000 (0:00:00.446) 0:00:05.093 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 16:21:26 +0000 (0:00:00.035) 0:00:05.129 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 16:21:27 +0000 (0:00:00.038) 0:00:05.167 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:21:27 +0000 (0:00:00.083) 0:00:05.251 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:21:27 +0000 (0:00:00.042) 0:00:05.294 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:21:27 +0000 (0:00:00.588) 0:00:05.882 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:21:29 +0000 (0:00:02.225) 0:00:08.108 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:21:30 +0000 (0:00:01.049) 0:00:09.157 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:21:31 +0000 (0:00:00.046) 0:00:09.204 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:21:31 +0000 (0:00:00.059) 0:00:09.264 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:21:31 +0000 (0:00:00.041) 0:00:09.306 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:21:31 +0000 (0:00:00.073) 0:00:09.380 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:21:31 +0000 (0:00:00.038) 0:00:09.418 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:21:31 +0000 (0:00:00.039) 0:00:09.457 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:21:31 +0000 (0:00:00.052) 0:00:09.510 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:21:32 +0000 (0:00:00.825) 0:00:10.335 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:21:32 +0000 (0:00:00.058) 0:00:10.394 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:21:32 +0000 (0:00:00.037) 0:00:10.431 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:21:32 +0000 (0:00:00.036) 0:00:10.468 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48443d8b-de51-4d8c-8b9c-a9e602680ea4 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:21:33 +0000 (0:00:00.943) 0:00:11.412 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:21:33 +0000 (0:00:00.042) 0:00:11.454 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48443d8b-de51-4d8c-8b9c-a9e602680ea4" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:21:33 +0000 (0:00:00.054) 0:00:11.509 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48443d8b-de51-4d8c-8b9c-a9e602680ea4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48443d8b-de51-4d8c-8b9c-a9e602680ea4" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:21:33 +0000 (0:00:00.050) 0:00:11.559 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:21:33 +0000 (0:00:00.039) 0:00:11.599 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Show result] ************************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 16:21:34 +0000 (0:00:00.577) 0:00:12.176 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48443d8b-de51-4d8c-8b9c-a9e602680ea4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48443d8b-de51-4d8c-8b9c-a9e602680ea4" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 16:21:34 +0000 (0:00:00.051) 0:00:12.228 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:21:34 +0000 (0:00:00.101) 0:00:12.329 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:21:34 +0000 (0:00:00.063) 0:00:12.393 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:21:34 +0000 (0:00:00.047) 0:00:12.440 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:21:34 +0000 (0:00:00.423) 0:00:12.864 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:21:34 +0000 (0:00:00.038) 0:00:12.902 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022591", "end": "2022-08-03 16:21:34.330881", "rc": 0, "start": "2022-08-03 16:21:34.308290" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:21:35 +0000 (0:00:00.456) 0:00:13.359 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:21:35 +0000 (0:00:00.053) 0:00:13.412 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:21:35 +0000 (0:00:00.041) 0:00:13.453 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:21:35 +0000 (0:00:00.039) 0:00:13.492 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:21:35 +0000 (0:00:00.053) 0:00:13.545 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 16:21:35 +0000 (0:00:00.049) 0:00:13.594 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap => (item={'what': 'tasks/assert_device_present.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:21:35 +0000 (0:00:00.117) 0:00:13.712 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:21:35 +0000 (0:00:00.062) 0:00:13.774 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659543692.3574886, "block_size": 4096, "blocks": 0, "ctime": 1659543692.3574886, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35327, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1659543692.3574886, "nlink": 1, "path": "/sys/class/net/statebr", "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 statebr is present] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:21:36 +0000 (0:00:00.422) 0:00:14.196 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 16:21:36 +0000 (0:00:00.048) 0:00:14.245 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 16:21:36 +0000 (0:00:00.049) 0:00:14.295 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-36.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 16:21:36 +0000 (0:00:00.068) 0:00:14.363 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.065995", "end": "2022-08-03 16:21:35.821745", "rc": 1, "start": "2022-08-03 16:21:35.755750" } STDOUT: Connection 'statebr' (48443d8b-de51-4d8c-8b9c-a9e602680ea4) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_states.yml:39 Wednesday 03 August 2022 16:21:36 +0000 (0:00:00.481) 0:00:14.844 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml for /cache/fedora-36.qcow2.snap TASK [TEST: I can create a profile without autoconnect] ************************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 16:21:36 +0000 (0:00:00.069) 0:00:14.914 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 16:21:36 +0000 (0:00:00.143) 0:00:15.058 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 16:21:37 +0000 (0:00:00.111) 0:00:15.170 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:21:37 +0000 (0:00:00.060) 0:00:15.230 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:21:37 +0000 (0:00:00.058) 0:00:15.289 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003693", "end": "2022-08-03 16:21:36.678132", "rc": 0, "start": "2022-08-03 16:21:36.674439" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:21:37 +0000 (0:00:00.412) 0:00:15.701 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:21:37 +0000 (0:00:00.045) 0:00:15.747 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 16:21:37 +0000 (0:00:00.048) 0:00:15.795 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/delete_interface.yml for /cache/fedora-36.qcow2.snap => (item=tasks/delete_interface.yml) included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_device_absent.yml) TASK [remove test interface if necessary] ************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/delete_interface.yml:3 Wednesday 03 August 2022 16:21:37 +0000 (0:00:00.067) 0:00:15.863 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007337", "end": "2022-08-03 16:21:37.255450", "rc": 1, "start": "2022-08-03 16:21:37.248113" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:21:38 +0000 (0:00:00.415) 0:00:16.279 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:21:38 +0000 (0:00:00.090) 0:00:16.369 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:21:38 +0000 (0:00:00.424) 0:00:16.793 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [test] ******************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 16:21:38 +0000 (0:00:00.048) 0:00:16.842 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for /cache/fedora-36.qcow2.snap => (item=tasks/create_bridge_profile_no_autoconnect.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 03 August 2022 16:21:38 +0000 (0:00:00.069) 0:00:16.911 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:21:38 +0000 (0:00:00.075) 0:00:16.987 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:21:38 +0000 (0:00:00.069) 0:00:17.056 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:21:39 +0000 (0:00:00.586) 0:00:17.642 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:21:41 +0000 (0:00:02.187) 0:00:19.830 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:21:42 +0000 (0:00:00.785) 0:00:20.615 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:21:42 +0000 (0:00:00.048) 0:00:20.663 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:21:42 +0000 (0:00:00.069) 0:00:20.732 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:21:42 +0000 (0:00:00.043) 0:00:20.776 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:21:42 +0000 (0:00:00.077) 0:00:20.853 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:21:42 +0000 (0:00:00.045) 0:00:20.899 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:21:42 +0000 (0:00:00.041) 0:00:20.940 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:21:42 +0000 (0:00:00.054) 0:00:20.995 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:21:43 +0000 (0:00:00.618) 0:00:21.614 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:21:43 +0000 (0:00:00.056) 0:00:21.670 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:21:43 +0000 (0:00:00.039) 0:00:21.709 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:21:43 +0000 (0:00:00.038) 0:00:21.748 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddde425c-e364-468f-88a3-4c0f1ed7a7a0 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:21:44 +0000 (0:00:00.668) 0:00:22.417 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:21:44 +0000 (0:00:00.044) 0:00:22.462 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddde425c-e364-468f-88a3-4c0f1ed7a7a0" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:21:44 +0000 (0:00:00.053) 0:00:22.515 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddde425c-e364-468f-88a3-4c0f1ed7a7a0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddde425c-e364-468f-88a3-4c0f1ed7a7a0" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:21:44 +0000 (0:00:00.054) 0:00:22.570 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:21:44 +0000 (0:00:00.044) 0:00:22.614 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Show result] ************************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 03 August 2022 16:21:44 +0000 (0:00:00.453) 0:00:23.068 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddde425c-e364-468f-88a3-4c0f1ed7a7a0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ddde425c-e364-468f-88a3-4c0f1ed7a7a0" ] } } TASK [asserts] ***************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 16:21:44 +0000 (0:00:00.052) 0:00:23.120 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_device_absent.yml) included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:21:45 +0000 (0:00:00.075) 0:00:23.196 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:21:45 +0000 (0:00:00.061) 0:00:23.258 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:21:45 +0000 (0:00:00.465) 0:00:23.723 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:21:45 +0000 (0:00:00.050) 0:00:23.773 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:21:45 +0000 (0:00:00.063) 0:00:23.837 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:21:45 +0000 (0:00:00.048) 0:00:23.885 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:21:46 +0000 (0:00:00.425) 0:00:24.310 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:21:46 +0000 (0:00:00.041) 0:00:24.352 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019853", "end": "2022-08-03 16:21:45.772834", "rc": 0, "start": "2022-08-03 16:21:45.752981" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:21:46 +0000 (0:00:00.445) 0:00:24.797 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:21:46 +0000 (0:00:00.049) 0:00:24.847 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:21:46 +0000 (0:00:00.037) 0:00:24.885 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:21:46 +0000 (0:00:00.038) 0:00:24.923 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:21:46 +0000 (0:00:00.049) 0:00:24.972 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 16:21:46 +0000 (0:00:00.124) 0:00:25.097 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 16:21:46 +0000 (0:00:00.048) 0:00:25.145 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 16:21:47 +0000 (0:00:00.049) 0:00:25.195 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-36.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 16:21:47 +0000 (0:00:00.083) 0:00:25.278 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.040369", "end": "2022-08-03 16:21:46.721375", "rc": 1, "start": "2022-08-03 16:21:46.681006" } STDOUT: Connection 'statebr' (ddde425c-e364-468f-88a3-4c0f1ed7a7a0) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_states.yml:57 Wednesday 03 August 2022 16:21:47 +0000 (0:00:00.468) 0:00:25.746 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml for /cache/fedora-36.qcow2.snap TASK [TEST: I can activate an existing profile] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 16:21:47 +0000 (0:00:00.064) 0:00:25.811 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 16:21:47 +0000 (0:00:00.047) 0:00:25.858 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 16:21:47 +0000 (0:00:00.155) 0:00:26.014 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:21:47 +0000 (0:00:00.061) 0:00:26.076 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:21:48 +0000 (0:00:00.091) 0:00:26.167 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003678", "end": "2022-08-03 16:21:47.565216", "rc": 0, "start": "2022-08-03 16:21:47.561538" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:21:48 +0000 (0:00:00.423) 0:00:26.590 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:21:48 +0000 (0:00:00.047) 0:00:26.638 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 16:21:48 +0000 (0:00:00.046) 0:00:26.685 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/create_bridge_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 16:21:48 +0000 (0:00:00.063) 0:00:26.748 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:21:48 +0000 (0:00:00.063) 0:00:26.812 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:21:48 +0000 (0:00:00.069) 0:00:26.881 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:21:49 +0000 (0:00:00.576) 0:00:27.458 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:21:51 +0000 (0:00:02.249) 0:00:29.708 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:21:52 +0000 (0:00:00.767) 0:00:30.475 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:21:52 +0000 (0:00:00.049) 0:00:30.525 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:21:52 +0000 (0:00:00.082) 0:00:30.607 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:21:52 +0000 (0:00:00.043) 0:00:30.650 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:21:52 +0000 (0:00:00.082) 0:00:30.733 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:21:52 +0000 (0:00:00.045) 0:00:30.778 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:21:52 +0000 (0:00:00.045) 0:00:30.823 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:21:52 +0000 (0:00:00.055) 0:00:30.879 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:21:53 +0000 (0:00:00.613) 0:00:31.493 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:21:53 +0000 (0:00:00.059) 0:00:31.553 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:21:53 +0000 (0:00:00.038) 0:00:31.591 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:21:53 +0000 (0:00:00.038) 0:00:31.630 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5d42df2-5a83-402d-83da-ab5053feb80c TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:21:54 +0000 (0:00:00.697) 0:00:32.327 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:21:54 +0000 (0:00:00.040) 0:00:32.368 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5d42df2-5a83-402d-83da-ab5053feb80c" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:21:54 +0000 (0:00:00.047) 0:00:32.416 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5d42df2-5a83-402d-83da-ab5053feb80c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5d42df2-5a83-402d-83da-ab5053feb80c" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:21:54 +0000 (0:00:00.046) 0:00:32.462 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:21:54 +0000 (0:00:00.041) 0:00:32.504 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Show result] ************************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 16:21:54 +0000 (0:00:00.433) 0:00:32.937 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5d42df2-5a83-402d-83da-ab5053feb80c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b5d42df2-5a83-402d-83da-ab5053feb80c" ] } } TASK [test] ******************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 16:21:54 +0000 (0:00:00.046) 0:00:32.984 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/activate_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 16:21:54 +0000 (0:00:00.063) 0:00:33.047 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:21:54 +0000 (0:00:00.073) 0:00:33.121 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:21:55 +0000 (0:00:00.099) 0:00:33.220 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:21:55 +0000 (0:00:00.592) 0:00:33.813 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:21:57 +0000 (0:00:02.212) 0:00:36.025 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:21:58 +0000 (0:00:00.836) 0:00:36.862 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:21:58 +0000 (0:00:00.049) 0:00:36.912 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:21:58 +0000 (0:00:00.040) 0:00:36.952 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:21:58 +0000 (0:00:00.041) 0:00:36.993 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:21:58 +0000 (0:00:00.077) 0:00:37.070 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:21:58 +0000 (0:00:00.040) 0:00:37.111 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:21:58 +0000 (0:00:00.047) 0:00:37.159 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:21:59 +0000 (0:00:00.057) 0:00:37.217 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:21:59 +0000 (0:00:00.613) 0:00:37.831 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:21:59 +0000 (0:00:00.056) 0:00:37.887 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:21:59 +0000 (0:00:00.035) 0:00:37.923 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:21:59 +0000 (0:00:00.035) 0:00:37.959 ****** ok: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b5d42df2-5a83-402d-83da-ab5053feb80c skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:22:00 +0000 (0:00:00.614) 0:00:38.573 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:22:00 +0000 (0:00:00.040) 0:00:38.614 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b5d42df2-5a83-402d-83da-ab5053feb80c skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:22:00 +0000 (0:00:00.046) 0:00:38.661 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b5d42df2-5a83-402d-83da-ab5053feb80c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b5d42df2-5a83-402d-83da-ab5053feb80c skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:22:00 +0000 (0:00:00.049) 0:00:38.711 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:22:00 +0000 (0:00:00.039) 0:00:38.750 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [asserts] ***************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 16:22:01 +0000 (0:00:00.420) 0:00:39.171 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_device_present.yml) included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_profile_present.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:22:01 +0000 (0:00:00.070) 0:00:39.241 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:22:01 +0000 (0:00:00.059) 0:00:39.301 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659543713.243134, "block_size": 4096, "blocks": 0, "ctime": 1659543713.243134, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35458, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1659543713.243134, "nlink": 1, "path": "/sys/class/net/statebr", "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 statebr is present] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:22:01 +0000 (0:00:00.437) 0:00:39.738 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:3 Wednesday 03 August 2022 16:22:01 +0000 (0:00:00.048) 0:00:39.787 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:22:01 +0000 (0:00:00.060) 0:00:39.848 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:22:01 +0000 (0:00:00.044) 0:00:39.893 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:22:02 +0000 (0:00:00.413) 0:00:40.307 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:22:02 +0000 (0:00:00.035) 0:00:40.342 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021101", "end": "2022-08-03 16:22:01.754898", "rc": 0, "start": "2022-08-03 16:22:01.733797" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:22:02 +0000 (0:00:00.440) 0:00:40.783 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:22:02 +0000 (0:00:00.053) 0:00:40.836 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:22:02 +0000 (0:00:00.040) 0:00:40.876 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is present] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:4 Wednesday 03 August 2022 16:22:02 +0000 (0:00:00.038) 0:00:40.915 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [assert that ansible managed comment in 'statebr' is present] ************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_present.yml:9 Wednesday 03 August 2022 16:22:02 +0000 (0:00:00.051) 0:00:40.966 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 16:22:02 +0000 (0:00:00.123) 0:00:41.090 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 16:22:02 +0000 (0:00:00.048) 0:00:41.139 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 16:22:03 +0000 (0:00:00.048) 0:00:41.188 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-36.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 16:22:03 +0000 (0:00:00.068) 0:00:41.256 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.062808", "end": "2022-08-03 16:22:02.719788", "rc": 1, "start": "2022-08-03 16:22:02.656980" } STDOUT: Connection 'statebr' (b5d42df2-5a83-402d-83da-ab5053feb80c) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_states.yml:73 Wednesday 03 August 2022 16:22:03 +0000 (0:00:00.490) 0:00:41.746 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml for /cache/fedora-36.qcow2.snap TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 16:22:03 +0000 (0:00:00.065) 0:00:41.812 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 16:22:03 +0000 (0:00:00.046) 0:00:41.858 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 16:22:03 +0000 (0:00:00.146) 0:00:42.005 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:22:03 +0000 (0:00:00.061) 0:00:42.066 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:22:03 +0000 (0:00:00.089) 0:00:42.156 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003671", "end": "2022-08-03 16:22:03.547914", "rc": 0, "start": "2022-08-03 16:22:03.544243" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:22:04 +0000 (0:00:00.418) 0:00:42.574 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:22:04 +0000 (0:00:00.048) 0:00:42.622 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 16:22:04 +0000 (0:00:00.046) 0:00:42.669 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/create_bridge_profile.yml) included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/activate_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/activate_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 16:22:04 +0000 (0:00:00.067) 0:00:42.737 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:22:04 +0000 (0:00:00.078) 0:00:42.815 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:22:04 +0000 (0:00:00.068) 0:00:42.884 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:22:05 +0000 (0:00:00.565) 0:00:43.449 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:22:07 +0000 (0:00:02.146) 0:00:45.596 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:22:08 +0000 (0:00:00.750) 0:00:46.347 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:22:08 +0000 (0:00:00.053) 0:00:46.400 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:22:08 +0000 (0:00:00.071) 0:00:46.472 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:22:08 +0000 (0:00:00.044) 0:00:46.516 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:22:08 +0000 (0:00:00.079) 0:00:46.596 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:22:08 +0000 (0:00:00.044) 0:00:46.640 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:22:08 +0000 (0:00:00.044) 0:00:46.685 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:22:08 +0000 (0:00:00.057) 0:00:46.742 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:22:09 +0000 (0:00:00.625) 0:00:47.368 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:22:09 +0000 (0:00:00.057) 0:00:47.425 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:22:09 +0000 (0:00:00.038) 0:00:47.464 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:22:09 +0000 (0:00:00.037) 0:00:47.501 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7deae9e1-dce8-4284-8988-e5658b4a06a9 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:22:10 +0000 (0:00:00.683) 0:00:48.184 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:22:10 +0000 (0:00:00.042) 0:00:48.227 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7deae9e1-dce8-4284-8988-e5658b4a06a9" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:22:10 +0000 (0:00:00.049) 0:00:48.277 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7deae9e1-dce8-4284-8988-e5658b4a06a9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7deae9e1-dce8-4284-8988-e5658b4a06a9" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:22:10 +0000 (0:00:00.055) 0:00:48.333 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:22:10 +0000 (0:00:00.044) 0:00:48.377 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Show result] ************************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 16:22:10 +0000 (0:00:00.439) 0:00:48.817 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7deae9e1-dce8-4284-8988-e5658b4a06a9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7deae9e1-dce8-4284-8988-e5658b4a06a9" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 16:22:10 +0000 (0:00:00.051) 0:00:48.868 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:22:10 +0000 (0:00:00.063) 0:00:48.932 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:22:10 +0000 (0:00:00.068) 0:00:49.000 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:22:11 +0000 (0:00:00.589) 0:00:49.590 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:22:13 +0000 (0:00:02.086) 0:00:51.676 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:22:14 +0000 (0:00:00.821) 0:00:52.498 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:22:14 +0000 (0:00:00.084) 0:00:52.583 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:22:14 +0000 (0:00:00.041) 0:00:52.624 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:22:14 +0000 (0:00:00.041) 0:00:52.665 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:22:14 +0000 (0:00:00.075) 0:00:52.741 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:22:14 +0000 (0:00:00.041) 0:00:52.782 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:22:14 +0000 (0:00:00.041) 0:00:52.823 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:22:14 +0000 (0:00:00.055) 0:00:52.878 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:22:15 +0000 (0:00:00.619) 0:00:53.498 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:22:15 +0000 (0:00:00.056) 0:00:53.555 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:22:15 +0000 (0:00:00.037) 0:00:53.592 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:22:15 +0000 (0:00:00.037) 0:00:53.629 ****** ok: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7deae9e1-dce8-4284-8988-e5658b4a06a9 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:22:16 +0000 (0:00:00.628) 0:00:54.258 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:22:16 +0000 (0:00:00.060) 0:00:54.318 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7deae9e1-dce8-4284-8988-e5658b4a06a9 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:22:16 +0000 (0:00:00.074) 0:00:54.392 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7deae9e1-dce8-4284-8988-e5658b4a06a9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7deae9e1-dce8-4284-8988-e5658b4a06a9 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:22:16 +0000 (0:00:00.073) 0:00:54.466 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:22:16 +0000 (0:00:00.041) 0:00:54.508 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [test] ******************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 16:22:16 +0000 (0:00:00.435) 0:00:54.943 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/remove_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 03 August 2022 16:22:16 +0000 (0:00:00.068) 0:00:55.011 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:22:16 +0000 (0:00:00.076) 0:00:55.088 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:22:16 +0000 (0:00:00.070) 0:00:55.158 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:22:17 +0000 (0:00:00.620) 0:00:55.778 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:22:19 +0000 (0:00:02.116) 0:00:57.895 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:22:20 +0000 (0:00:00.814) 0:00:58.710 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:22:20 +0000 (0:00:00.126) 0:00:58.836 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:22:20 +0000 (0:00:00.042) 0:00:58.879 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:22:20 +0000 (0:00:00.046) 0:00:58.926 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:22:20 +0000 (0:00:00.076) 0:00:59.002 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:22:20 +0000 (0:00:00.040) 0:00:59.043 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:22:20 +0000 (0:00:00.040) 0:00:59.083 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:22:20 +0000 (0:00:00.053) 0:00:59.136 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:22:21 +0000 (0:00:00.602) 0:00:59.739 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:22:21 +0000 (0:00:00.057) 0:00:59.796 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:22:21 +0000 (0:00:00.036) 0:00:59.833 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:22:21 +0000 (0:00:00.036) 0:00:59.869 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:22:22 +0000 (0:00:00.664) 0:01:00.534 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:22:22 +0000 (0:00:00.042) 0:01:00.576 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:22:22 +0000 (0:00:00.052) 0:01:00.629 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:22:22 +0000 (0:00:00.054) 0:01:00.683 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:22:22 +0000 (0:00:00.045) 0:01:00.729 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [asserts] ***************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 16:22:23 +0000 (0:00:00.464) 0:01:01.194 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_device_present.yml) included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_profile_absent.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:3 Wednesday 03 August 2022 16:22:23 +0000 (0:00:00.074) 0:01:01.268 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:22:23 +0000 (0:00:00.062) 0:01:01.331 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "atime": 1659543729.0998354, "block_size": 4096, "blocks": 0, "ctime": 1659543729.0998354, "dev": 23, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35589, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": true, "isreg": false, "issock": false, "isuid": false, "lnk_source": "/sys/devices/virtual/net/statebr", "lnk_target": "../../devices/virtual/net/statebr", "mode": "0777", "mtime": 1659543729.0998354, "nlink": 1, "path": "/sys/class/net/statebr", "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 statebr is present] ******************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_present.yml:4 Wednesday 03 August 2022 16:22:23 +0000 (0:00:00.463) 0:01:01.794 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 16:22:23 +0000 (0:00:00.049) 0:01:01.843 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:22:23 +0000 (0:00:00.061) 0:01:01.905 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:22:23 +0000 (0:00:00.047) 0:01:01.952 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:22:24 +0000 (0:00:00.415) 0:01:02.367 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:22:24 +0000 (0:00:00.037) 0:01:02.405 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021117", "end": "2022-08-03 16:22:23.830784", "rc": 1, "start": "2022-08-03 16:22:23.809667" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:22:24 +0000 (0:00:00.453) 0:01:02.859 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:22:24 +0000 (0:00:00.038) 0:01:02.898 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:22:24 +0000 (0:00:00.037) 0:01:02.935 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 16:22:24 +0000 (0:00:00.036) 0:01:02.972 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 16:22:24 +0000 (0:00:00.049) 0:01:03.021 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 16:22:24 +0000 (0:00:00.077) 0:01:03.098 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 16:22:24 +0000 (0:00:00.047) 0:01:03.146 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-36.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 16:22:25 +0000 (0:00:00.070) 0:01:03.216 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.085355", "end": "2022-08-03 16:22:24.712925", "rc": 1, "start": "2022-08-03 16:22:24.627570" } STDOUT: Connection 'statebr' (7deae9e1-dce8-4284-8988-e5658b4a06a9) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_states.yml:90 Wednesday 03 August 2022 16:22:25 +0000 (0:00:00.534) 0:01:03.751 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml for /cache/fedora-36.qcow2.snap TASK [TEST: I can take a profile down that is absent] ************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 16:22:25 +0000 (0:00:00.066) 0:01:03.817 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 16:22:25 +0000 (0:00:00.046) 0:01:03.864 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_absent.yml", "when": true } ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 16:22:25 +0000 (0:00:00.148) 0:01:04.012 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:22:25 +0000 (0:00:00.060) 0:01:04.073 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:22:25 +0000 (0:00:00.059) 0:01:04.133 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.008387", "end": "2022-08-03 16:22:25.608851", "rc": 0, "start": "2022-08-03 16:22:25.600464" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:22:26 +0000 (0:00:00.508) 0:01:04.641 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:22:26 +0000 (0:00:00.047) 0:01:04.689 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 16:22:26 +0000 (0:00:00.048) 0:01:04.737 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/create_bridge_profile.yml) included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/activate_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/activate_profile.yml) included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/remove_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/remove_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 16:22:26 +0000 (0:00:00.073) 0:01:04.811 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:22:26 +0000 (0:00:00.065) 0:01:04.876 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:22:26 +0000 (0:00:00.068) 0:01:04.945 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:22:27 +0000 (0:00:00.632) 0:01:05.577 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:22:29 +0000 (0:00:02.332) 0:01:07.910 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.750) 0:01:08.660 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.050) 0:01:08.711 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.078) 0:01:08.789 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.042) 0:01:08.832 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.077) 0:01:08.909 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.041) 0:01:08.951 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.042) 0:01:08.993 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:22:30 +0000 (0:00:00.056) 0:01:09.049 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:22:31 +0000 (0:00:00.612) 0:01:09.662 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:22:31 +0000 (0:00:00.059) 0:01:09.721 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:22:31 +0000 (0:00:00.037) 0:01:09.759 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:22:31 +0000 (0:00:00.038) 0:01:09.797 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b908d1ba-bbe8-405f-92db-ca0388d0ccb7 TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:22:32 +0000 (0:00:00.719) 0:01:10.517 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:22:32 +0000 (0:00:00.045) 0:01:10.563 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b908d1ba-bbe8-405f-92db-ca0388d0ccb7" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:22:32 +0000 (0:00:00.053) 0:01:10.616 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b908d1ba-bbe8-405f-92db-ca0388d0ccb7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b908d1ba-bbe8-405f-92db-ca0388d0ccb7" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:22:32 +0000 (0:00:00.053) 0:01:10.670 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:22:32 +0000 (0:00:00.042) 0:01:10.713 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Show result] ************************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 16:22:32 +0000 (0:00:00.433) 0:01:11.146 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b908d1ba-bbe8-405f-92db-ca0388d0ccb7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b908d1ba-bbe8-405f-92db-ca0388d0ccb7" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 16:22:33 +0000 (0:00:00.050) 0:01:11.196 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:22:33 +0000 (0:00:00.063) 0:01:11.260 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:22:33 +0000 (0:00:00.070) 0:01:11.331 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:22:33 +0000 (0:00:00.619) 0:01:11.951 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:22:35 +0000 (0:00:02.165) 0:01:14.116 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:22:36 +0000 (0:00:00.830) 0:01:14.947 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:22:36 +0000 (0:00:00.124) 0:01:15.072 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:22:36 +0000 (0:00:00.042) 0:01:15.114 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:22:36 +0000 (0:00:00.044) 0:01:15.159 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:22:37 +0000 (0:00:00.081) 0:01:15.240 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:22:37 +0000 (0:00:00.049) 0:01:15.289 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:22:37 +0000 (0:00:00.046) 0:01:15.336 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:22:37 +0000 (0:00:00.061) 0:01:15.398 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:22:37 +0000 (0:00:00.616) 0:01:16.014 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:22:37 +0000 (0:00:00.060) 0:01:16.075 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:22:37 +0000 (0:00:00.041) 0:01:16.116 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:22:37 +0000 (0:00:00.040) 0:01:16.156 ****** ok: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b908d1ba-bbe8-405f-92db-ca0388d0ccb7 skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:22:38 +0000 (0:00:00.659) 0:01:16.816 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:22:38 +0000 (0:00:00.046) 0:01:16.862 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b908d1ba-bbe8-405f-92db-ca0388d0ccb7 skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:22:38 +0000 (0:00:00.055) 0:01:16.917 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b908d1ba-bbe8-405f-92db-ca0388d0ccb7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b908d1ba-bbe8-405f-92db-ca0388d0ccb7 skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:22:38 +0000 (0:00:00.054) 0:01:16.971 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:22:38 +0000 (0:00:00.049) 0:01:17.021 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/remove_profile.yml:3 Wednesday 03 August 2022 16:22:39 +0000 (0:00:00.483) 0:01:17.505 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:22:39 +0000 (0:00:00.066) 0:01:17.571 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:22:39 +0000 (0:00:00.071) 0:01:17.642 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:22:40 +0000 (0:00:00.655) 0:01:18.298 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:22:42 +0000 (0:00:02.229) 0:01:20.528 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:22:43 +0000 (0:00:00.841) 0:01:21.369 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:22:43 +0000 (0:00:00.122) 0:01:21.492 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:22:43 +0000 (0:00:00.044) 0:01:21.536 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:22:43 +0000 (0:00:00.041) 0:01:21.577 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:22:43 +0000 (0:00:00.078) 0:01:21.656 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:22:43 +0000 (0:00:00.045) 0:01:21.701 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:22:43 +0000 (0:00:00.042) 0:01:21.743 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:22:43 +0000 (0:00:00.060) 0:01:21.804 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:22:44 +0000 (0:00:00.630) 0:01:22.434 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:22:44 +0000 (0:00:00.059) 0:01:22.493 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:22:44 +0000 (0:00:00.036) 0:01:22.530 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:22:44 +0000 (0:00:00.037) 0:01:22.567 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:22:45 +0000 (0:00:00.673) 0:01:23.241 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:22:45 +0000 (0:00:00.042) 0:01:23.283 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:22:45 +0000 (0:00:00.049) 0:01:23.333 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:22:45 +0000 (0:00:00.049) 0:01:23.382 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:22:45 +0000 (0:00:00.040) 0:01:23.422 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [test] ******************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 16:22:45 +0000 (0:00:00.442) 0:01:23.865 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/remove+down_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 16:22:45 +0000 (0:00:00.067) 0:01:23.933 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:22:45 +0000 (0:00:00.078) 0:01:24.011 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:22:45 +0000 (0:00:00.070) 0:01:24.082 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:22:46 +0000 (0:00:00.640) 0:01:24.723 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:22:48 +0000 (0:00:02.130) 0:01:26.853 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:22:49 +0000 (0:00:00.818) 0:01:27.672 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:22:49 +0000 (0:00:00.053) 0:01:27.726 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:22:49 +0000 (0:00:00.039) 0:01:27.766 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:22:49 +0000 (0:00:00.042) 0:01:27.808 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:22:49 +0000 (0:00:00.075) 0:01:27.883 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:22:49 +0000 (0:00:00.041) 0:01:27.925 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:22:49 +0000 (0:00:00.040) 0:01:27.965 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:22:49 +0000 (0:00:00.055) 0:01:28.021 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:22:50 +0000 (0:00:00.605) 0:01:28.627 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:22:50 +0000 (0:00:00.055) 0:01:28.683 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:22:50 +0000 (0:00:00.037) 0:01:28.720 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:22:50 +0000 (0:00:00.036) 0:01:28.757 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:22:51 +0000 (0:00:00.714) 0:01:29.471 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:22:51 +0000 (0:00:00.042) 0:01:29.514 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:22:51 +0000 (0:00:00.050) 0:01:29.565 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:22:51 +0000 (0:00:00.050) 0:01:29.615 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:22:51 +0000 (0:00:00.042) 0:01:29.657 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [asserts] ***************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 16:22:51 +0000 (0:00:00.439) 0:01:30.096 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_profile_absent.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 16:22:52 +0000 (0:00:00.068) 0:01:30.165 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:22:52 +0000 (0:00:00.064) 0:01:30.229 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:22:52 +0000 (0:00:00.045) 0:01:30.274 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:22:52 +0000 (0:00:00.449) 0:01:30.724 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:22:52 +0000 (0:00:00.036) 0:01:30.761 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020528", "end": "2022-08-03 16:22:52.171389", "rc": 1, "start": "2022-08-03 16:22:52.150861" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:22:53 +0000 (0:00:00.445) 0:01:31.206 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:22:53 +0000 (0:00:00.038) 0:01:31.245 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:22:53 +0000 (0:00:00.037) 0:01:31.282 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 16:22:53 +0000 (0:00:00.040) 0:01:31.323 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [conditional asserts] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 16:22:53 +0000 (0:00:00.050) 0:01:31.374 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/fedora-36.qcow2.snap => (item={'what': 'tasks/assert_device_absent.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:22:53 +0000 (0:00:00.082) 0:01:31.456 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:22:53 +0000 (0:00:00.061) 0:01:31.518 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:22:53 +0000 (0:00:00.420) 0:01:31.939 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 16:22:53 +0000 (0:00:00.051) 0:01:31.991 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 16:22:53 +0000 (0:00:00.048) 0:01:32.039 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-36.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 16:22:53 +0000 (0:00:00.070) 0:01:32.109 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.045375", "end": "2022-08-03 16:22:53.547912", "rc": 1, "start": "2022-08-03 16:22:53.502537" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tests_states.yml:110 Wednesday 03 August 2022 16:22:54 +0000 (0:00:00.465) 0:01:32.575 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml for /cache/fedora-36.qcow2.snap TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:5 Wednesday 03 August 2022 16:22:54 +0000 (0:00:00.063) 0:01:32.638 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:9 Wednesday 03 August 2022 16:22:54 +0000 (0:00:00.046) 0:01:32.685 ****** ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "what": "tasks/assert_device_absent.yml", "when": true } ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [/cache/fedora-36.qcow2.snap] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:21 Wednesday 03 August 2022 16:22:54 +0000 (0:00:00.148) 0:01:32.833 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:3 Wednesday 03 August 2022 16:22:54 +0000 (0:00:00.060) 0:01:32.894 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml for /cache/fedora-36.qcow2.snap TASK [Gather current interface info] ******************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 03 August 2022 16:22:54 +0000 (0:00:00.093) 0:01:32.987 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003907", "end": "2022-08-03 16:22:54.398552", "rc": 0, "start": "2022-08-03 16:22:54.394645" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 03 August 2022 16:22:55 +0000 (0:00:00.440) 0:01:33.427 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/show_interfaces.yml:4 Wednesday 03 August 2022 16:22:55 +0000 (0:00:00.049) 0:01:33.477 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [setup] ******************************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:23 Wednesday 03 August 2022 16:22:55 +0000 (0:00:00.047) 0:01:33.525 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/create_bridge_profile.yml) included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/activate_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/activate_profile.yml) included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/remove+down_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 03 August 2022 16:22:55 +0000 (0:00:00.071) 0:01:33.596 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:22:55 +0000 (0:00:00.067) 0:01:33.663 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:22:55 +0000 (0:00:00.068) 0:01:33.732 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:22:56 +0000 (0:00:00.573) 0:01:34.305 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:22:58 +0000 (0:00:02.158) 0:01:36.464 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:22:59 +0000 (0:00:00.753) 0:01:37.218 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:22:59 +0000 (0:00:00.048) 0:01:37.266 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:22:59 +0000 (0:00:00.073) 0:01:37.340 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:22:59 +0000 (0:00:00.043) 0:01:37.384 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:22:59 +0000 (0:00:00.077) 0:01:37.461 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:22:59 +0000 (0:00:00.040) 0:01:37.502 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:22:59 +0000 (0:00:00.041) 0:01:37.544 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:22:59 +0000 (0:00:00.059) 0:01:37.603 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:23:00 +0000 (0:00:00.618) 0:01:38.222 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:23:00 +0000 (0:00:00.056) 0:01:38.278 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:23:00 +0000 (0:00:00.038) 0:01:38.316 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:23:00 +0000 (0:00:00.036) 0:01:38.353 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b17cc47-95dc-4481-a262-8b6e29bfe08a TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:23:00 +0000 (0:00:00.672) 0:01:39.025 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:23:00 +0000 (0:00:00.041) 0:01:39.067 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b17cc47-95dc-4481-a262-8b6e29bfe08a" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:23:00 +0000 (0:00:00.048) 0:01:39.115 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b17cc47-95dc-4481-a262-8b6e29bfe08a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b17cc47-95dc-4481-a262-8b6e29bfe08a" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:23:01 +0000 (0:00:00.047) 0:01:39.162 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:23:01 +0000 (0:00:00.040) 0:01:39.203 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Show result] ************************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 03 August 2022 16:23:01 +0000 (0:00:00.446) 0:01:39.649 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b17cc47-95dc-4481-a262-8b6e29bfe08a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5b17cc47-95dc-4481-a262-8b6e29bfe08a" ] } } TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/activate_profile.yml:3 Wednesday 03 August 2022 16:23:01 +0000 (0:00:00.048) 0:01:39.697 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:23:01 +0000 (0:00:00.063) 0:01:39.761 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:23:01 +0000 (0:00:00.067) 0:01:39.828 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:23:02 +0000 (0:00:00.561) 0:01:40.389 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:23:04 +0000 (0:00:02.111) 0:01:42.501 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:23:05 +0000 (0:00:00.797) 0:01:43.298 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:23:05 +0000 (0:00:00.050) 0:01:43.349 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:23:05 +0000 (0:00:00.043) 0:01:43.392 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:23:05 +0000 (0:00:00.044) 0:01:43.436 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:23:05 +0000 (0:00:00.077) 0:01:43.514 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:23:05 +0000 (0:00:00.041) 0:01:43.556 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:23:05 +0000 (0:00:00.042) 0:01:43.599 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:23:05 +0000 (0:00:00.056) 0:01:43.656 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:23:06 +0000 (0:00:00.609) 0:01:44.266 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:23:06 +0000 (0:00:00.055) 0:01:44.322 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:23:06 +0000 (0:00:00.036) 0:01:44.358 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:23:06 +0000 (0:00:00.037) 0:01:44.396 ****** ok: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5b17cc47-95dc-4481-a262-8b6e29bfe08a skipped because already active TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:23:06 +0000 (0:00:00.636) 0:01:45.032 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:23:06 +0000 (0:00:00.041) 0:01:45.074 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5b17cc47-95dc-4481-a262-8b6e29bfe08a skipped because already active" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:23:06 +0000 (0:00:00.051) 0:01:45.126 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5b17cc47-95dc-4481-a262-8b6e29bfe08a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5b17cc47-95dc-4481-a262-8b6e29bfe08a skipped because already active" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:23:07 +0000 (0:00:00.051) 0:01:45.177 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:23:07 +0000 (0:00:00.040) 0:01:45.217 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 16:23:07 +0000 (0:00:00.440) 0:01:45.657 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:23:07 +0000 (0:00:00.067) 0:01:45.725 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:23:07 +0000 (0:00:00.070) 0:01:45.796 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:23:08 +0000 (0:00:00.584) 0:01:46.381 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:23:10 +0000 (0:00:02.152) 0:01:48.533 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:23:11 +0000 (0:00:00.836) 0:01:49.370 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:23:11 +0000 (0:00:00.054) 0:01:49.424 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:23:11 +0000 (0:00:00.042) 0:01:49.467 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:23:11 +0000 (0:00:00.047) 0:01:49.515 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:23:11 +0000 (0:00:00.078) 0:01:49.594 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:23:11 +0000 (0:00:00.040) 0:01:49.634 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:23:11 +0000 (0:00:00.044) 0:01:49.678 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:23:11 +0000 (0:00:00.064) 0:01:49.743 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:23:12 +0000 (0:00:00.621) 0:01:50.364 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:23:12 +0000 (0:00:00.056) 0:01:50.421 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:23:12 +0000 (0:00:00.038) 0:01:50.459 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:23:12 +0000 (0:00:00.039) 0:01:50.499 ****** changed: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:23:13 +0000 (0:00:00.720) 0:01:51.219 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:23:13 +0000 (0:00:00.040) 0:01:51.260 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:23:13 +0000 (0:00:00.048) 0:01:51.309 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:23:13 +0000 (0:00:00.051) 0:01:51.360 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:23:13 +0000 (0:00:00.042) 0:01:51.402 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [test] ******************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:29 Wednesday 03 August 2022 16:23:13 +0000 (0:00:00.461) 0:01:51.864 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/remove+down_profile.yml for /cache/fedora-36.qcow2.snap => (item=tasks/remove+down_profile.yml) TASK [Include network role] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/remove+down_profile.yml:3 Wednesday 03 August 2022 16:23:13 +0000 (0:00:00.068) 0:01:51.932 ****** TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:4 Wednesday 03 August 2022 16:23:13 +0000 (0:00:00.063) 0:01:51.995 ****** included: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml for /cache/fedora-36.qcow2.snap TASK [fedora.linux_system_roles.network : Ensure ansible_facts used by role are present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:3 Wednesday 03 August 2022 16:23:13 +0000 (0:00:00.103) 0:01:52.099 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which services are running] **** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 Wednesday 03 August 2022 16:23:14 +0000 (0:00:00.603) 0:01:52.703 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Check which packages are installed] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:14 Wednesday 03 August 2022 16:23:16 +0000 (0:00:02.140) 0:01:54.844 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Print network provider] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:7 Wednesday 03 August 2022 16:23:17 +0000 (0:00:00.829) 0:01:55.673 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: Using network provider: nm TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:11 Wednesday 03 August 2022 16:23:17 +0000 (0:00:00.050) 0:01:55.723 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:18 Wednesday 03 August 2022 16:23:17 +0000 (0:00:00.044) 0:01:55.768 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install packages] ******************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:27 Wednesday 03 August 2022 16:23:17 +0000 (0:00:00.041) 0:01:55.809 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:35 Wednesday 03 August 2022 16:23:17 +0000 (0:00:00.077) 0:01:55.886 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Install python3-libnmstate when using network_state variable] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:45 Wednesday 03 August 2022 16:23:17 +0000 (0:00:00.041) 0:01:55.927 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:56 Wednesday 03 August 2022 16:23:17 +0000 (0:00:00.043) 0:01:55.971 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable and start NetworkManager] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 Wednesday 03 August 2022 16:23:17 +0000 (0:00:00.058) 0:01:56.029 ****** ok: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Enable and start wpa_supplicant] ***** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:80 Wednesday 03 August 2022 16:23:18 +0000 (0:00:00.598) 0:01:56.628 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Enable network service] ************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:89 Wednesday 03 August 2022 16:23:18 +0000 (0:00:00.055) 0:01:56.683 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.network : Ensure initscripts network file dependency is present] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:97 Wednesday 03 August 2022 16:23:18 +0000 (0:00:00.035) 0:01:56.719 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Configure networking connection profiles] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 Wednesday 03 August 2022 16:23:18 +0000 (0:00:00.035) 0:01:56.755 ****** ok: [/cache/fedora-36.qcow2.snap] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [fedora.linux_system_roles.network : Configure networking state] ********** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:118 Wednesday 03 August 2022 16:23:19 +0000 (0:00:00.648) 0:01:57.403 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.network : Show stderr messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:124 Wednesday 03 August 2022 16:23:19 +0000 (0:00:00.040) 0:01:57.444 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [fedora.linux_system_roles.network : Show debug messages for the network_connections] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:128 Wednesday 03 August 2022 16:23:19 +0000 (0:00:00.048) 0:01:57.493 ****** ok: [/cache/fedora-36.qcow2.snap] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [fedora.linux_system_roles.network : Show debug messages for the network_state] *** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:133 Wednesday 03 August 2022 16:23:19 +0000 (0:00:00.046) 0:01:57.539 ****** skipping: [/cache/fedora-36.qcow2.snap] => {} TASK [fedora.linux_system_roles.network : Re-test connectivity] **************** task path: /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 Wednesday 03 August 2022 16:23:19 +0000 (0:00:00.045) 0:01:57.585 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "ping": "pong" } META: role_complete for /cache/fedora-36.qcow2.snap TASK [asserts] ***************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:35 Wednesday 03 August 2022 16:23:19 +0000 (0:00:00.442) 0:01:58.027 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_absent.yml for /cache/fedora-36.qcow2.snap => (item=tasks/assert_profile_absent.yml) included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml for /cache/fedora-36.qcow2.snap => (item=tasks/get_NetworkManager_NVR.yml) TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 03 August 2022 16:23:19 +0000 (0:00:00.078) 0:01:58.105 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml for /cache/fedora-36.qcow2.snap TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:3 Wednesday 03 August 2022 16:23:20 +0000 (0:00:00.065) 0:01:58.170 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false }, "changed": false } TASK [stat profile file] ******************************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:8 Wednesday 03 August 2022 16:23:20 +0000 (0:00:00.045) 0:01:58.216 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:16 Wednesday 03 August 2022 16:23:20 +0000 (0:00:00.458) 0:01:58.674 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:24 Wednesday 03 August 2022 16:23:20 +0000 (0:00:00.037) 0:01:58.712 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019650", "end": "2022-08-03 16:23:20.114359", "rc": 1, "start": "2022-08-03 16:23:20.094709" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:33 Wednesday 03 August 2022 16:23:20 +0000 (0:00:00.428) 0:01:59.141 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:43 Wednesday 03 August 2022 16:23:21 +0000 (0:00:00.037) 0:01:59.178 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_profile_stat.yml:49 Wednesday 03 August 2022 16:23:21 +0000 (0:00:00.036) 0:01:59.215 ****** skipping: [/cache/fedora-36.qcow2.snap] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [assert that profile 'statebr' is absent] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_profile_absent.yml:4 Wednesday 03 August 2022 16:23:21 +0000 (0:00:00.039) 0:01:59.255 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:4 Wednesday 03 August 2022 16:23:21 +0000 (0:00:00.050) 0:01:59.305 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.138652", "end": "2022-08-03 16:23:20.832332", "rc": 0, "start": "2022-08-03 16:23:20.693680" } STDOUT: NetworkManager-1.38.2-1.fc36 TASK [Store NetworkManager version] ******************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:10 Wednesday 03 August 2022 16:23:21 +0000 (0:00:00.555) 0:01:59.861 ****** ok: [/cache/fedora-36.qcow2.snap] => { "ansible_facts": { "NetworkManager_NVR": "NetworkManager-1.38.2-1.fc36" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 03 August 2022 16:23:21 +0000 (0:00:00.047) 0:01:59.909 ****** ok: [/cache/fedora-36.qcow2.snap] => { "NetworkManager_NVR": "NetworkManager-1.38.2-1.fc36" } TASK [conditional asserts] ***************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:41 Wednesday 03 August 2022 16:23:21 +0000 (0:00:00.046) 0:01:59.955 ****** [WARNING]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ item['when'] }} included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml for /cache/fedora-36.qcow2.snap => (item={'what': 'tasks/assert_device_absent.yml', 'when': True}) TASK [include_tasks] *********************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml:3 Wednesday 03 August 2022 16:23:21 +0000 (0:00:00.118) 0:02:00.074 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml for /cache/fedora-36.qcow2.snap TASK [Get stat for interface statebr] ****************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/get_interface_stat.yml:3 Wednesday 03 August 2022 16:23:21 +0000 (0:00:00.060) 0:02:00.134 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false, "stat": { "exists": false } } TASK [assert that interface statebr is absent] ********************************* task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/assert_device_absent.yml:4 Wednesday 03 August 2022 16:23:22 +0000 (0:00:00.420) 0:02:00.555 ****** ok: [/cache/fedora-36.qcow2.snap] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:47 Wednesday 03 August 2022 16:23:22 +0000 (0:00:00.052) 0:02:00.607 ****** ok: [/cache/fedora-36.qcow2.snap] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [cleanup] ***************************************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/run_test.yml:66 Wednesday 03 August 2022 16:23:22 +0000 (0:00:00.047) 0:02:00.655 ****** included: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/cleanup_profile+device.yml for /cache/fedora-36.qcow2.snap => (item=tasks/cleanup_profile+device.yml) TASK [Cleanup profile and device] ********************************************** task path: /tmp/tmpsh02am6p/tests/network/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 03 August 2022 16:23:22 +0000 (0:00:00.071) 0:02:00.726 ****** fatal: [/cache/fedora-36.qcow2.snap]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.040963", "end": "2022-08-03 16:23:22.170797", "rc": 1, "start": "2022-08-03 16:23:22.129834" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=328 changed=12 unreachable=0 failed=0 skipped=194 rescued=0 ignored=11 Wednesday 03 August 2022 16:23:23 +0000 (0:00:00.504) 0:02:01.231 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 3.72s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 3.30s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.54s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 2.46s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which services are running ---- 2.33s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Re-test connectivity ---------------- 2.33s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Check which services are running ---- 2.25s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.23s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.23s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.21s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.19s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.17s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.16s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.15s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.15s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.14s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.13s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.12s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.11s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.09s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 PLAYBOOK: _restore.yml ********************************************************* 1 plays in /tmp/tmpsh02am6p/tests/network/_restore.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Restore system files] **************************************************** task path: /tmp/tmpsh02am6p/tests/network/_restore.yml:4 Wednesday 03 August 2022 16:23:23 +0000 (0:00:00.088) 0:02:01.319 ****** changed: [/cache/fedora-36.qcow2.snap] => { "changed": true, "cmd": "(cd /; tar -xf /tmp/network.backup.tar)", "delta": "0:00:00.006892", "end": "2022-08-03 16:23:22.719185", "rc": 0, "start": "2022-08-03 16:23:22.712293" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-36.qcow2.snap : ok=329 changed=13 unreachable=0 failed=0 skipped=194 rescued=0 ignored=11 Wednesday 03 August 2022 16:23:23 +0000 (0:00:00.450) 0:02:01.770 ****** =============================================================================== fedora.linux_system_roles.network : Configure networking connection profiles --- 3.72s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 3.30s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Configure networking connection profiles --- 2.54s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:106 fedora.linux_system_roles.network : Enable and start NetworkManager ----- 2.46s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:69 fedora.linux_system_roles.network : Check which services are running ---- 2.33s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Re-test connectivity ---------------- 2.33s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/main.yml:139 fedora.linux_system_roles.network : Check which services are running ---- 2.25s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.23s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.23s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.21s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.19s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.17s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.16s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.15s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.15s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.14s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.13s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.12s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.11s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9 fedora.linux_system_roles.network : Check which services are running ---- 2.09s /tmp/tmpxngj32xw/ansible_collections/fedora/linux_system_roles/roles/network/tasks/set_facts.yml:9