# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-route_type2kwobte1/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/tests_states_nm.yml:6 Wednesday 10 January 2024 23:56:44 +0000 (0:00:00.029) 0:00:00.029 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type2kwobte1/tests/tests_states_nm.yml:9 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.959) 0:00:00.988 ***** included: /WORKDIR/git-route_type2kwobte1/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-route_type2kwobte1/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.022) 0:00:01.011 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 23:56:45 +0000 (0:00:00.530) 0:00:01.541 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type2kwobte1/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.263) 0:00:01.805 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.019) 0:00:01.824 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.015) 0:00:01.840 ***** included: /WORKDIR/git-route_type2kwobte1/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.035) 0:00:01.876 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.010) 0:00:01.886 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.008) 0:00:01.895 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.008) 0:00:01.903 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.008) 0:00:01.912 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/tests_states_nm.yml:11 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.013) 0:00:01.925 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 23:56:46 +0000 (0:00:00.013) 0:00:01.938 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.804) 0:00:02.742 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.010) 0:00:02.753 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.015) 0:00:02.769 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.010) 0:00:02.780 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.032) 0:00:02.813 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.013) 0:00:02.827 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:56:47 +0000 (0:00:00.012) 0:00:02.839 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005150", "end": "2024-01-10 23:56:48.493623", "rc": 0, "start": "2024-01-10 23:56:47.488473" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:56:48 +0000 (0:00:01.277) 0:00:04.117 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.014) 0:00:04.132 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.012) 0:00:04.144 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.022) 0:00:04.167 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008997", "end": "2024-01-10 23:56:48.756873", "rc": 1, "start": "2024-01-10 23:56:48.747876" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.214) 0:00:04.381 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.015) 0:00:04.396 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 23:56:48 +0000 (0:00:00.198) 0:00:04.595 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 23:56:49 +0000 (0:00:00.011) 0:00:04.607 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 23:56:49 +0000 (0:00:00.017) 0:00:04.624 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:56:49 +0000 (0:00:00.030) 0:00:04.655 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:56:49 +0000 (0:00:00.068) 0:00:04.723 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:56:49 +0000 (0:00:00.012) 0:00:04.736 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:56:49 +0000 (0:00:00.009) 0:00:04.745 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:56:49 +0000 (0:00:00.009) 0:00:04.755 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:56:51 +0000 (0:00:02.261) 0:00:07.016 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:56:52 +0000 (0:00:01.125) 0:00:08.142 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:56:52 +0000 (0:00:00.023) 0:00:08.165 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:56:52 +0000 (0:00:00.027) 0:00:08.192 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:56:52 +0000 (0:00:00.032) 0:00:08.224 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:56:52 +0000 (0:00:00.049) 0:00:08.274 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:56:52 +0000 (0:00:00.023) 0:00:08.297 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:56:52 +0000 (0:00:00.029) 0:00:08.327 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:56:52 +0000 (0:00:00.028) 0:00:08.355 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.760) 0:00:09.116 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.062) 0:00:09.178 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.024) 0:00:09.203 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:56:53 +0000 (0:00:00.025) 0:00:09.229 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, f73add93-b212-4ba8-819e-684eaa6a6ac0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:56:54 +0000 (0:00:00.557) 0:00:09.786 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:56:54 +0000 (0:00:00.022) 0:00:09.809 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f73add93-b212-4ba8-819e-684eaa6a6ac0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:56:54 +0000 (0:00:00.023) 0:00:09.833 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, f73add93-b212-4ba8-819e-684eaa6a6ac0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f73add93-b212-4ba8-819e-684eaa6a6ac0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:56:54 +0000 (0:00:00.023) 0:00:09.857 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:56:54 +0000 (0:00:00.021) 0:00:09.878 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 23:56:54 +0000 (0:00:00.293) 0:00:10.171 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, f73add93-b212-4ba8-819e-684eaa6a6ac0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f73add93-b212-4ba8-819e-684eaa6a6ac0" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 23:56:54 +0000 (0:00:00.025) 0:00:10.196 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 23:56:54 +0000 (0:00:00.043) 0:00:10.240 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 23:56:54 +0000 (0:00:00.060) 0:00:10.300 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 23:56:54 +0000 (0:00:00.023) 0:00:10.324 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 23:56:54 +0000 (0:00:00.208) 0:00:10.532 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 23:56:54 +0000 (0:00:00.023) 0:00:10.555 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024886", "end": "2024-01-10 23:56:55.166193", "rc": 0, "start": "2024-01-10 23:56:55.141307" } 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: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.242) 0:00:10.798 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.030) 0:00:10.828 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.031) 0:00:10.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.051) 0:00:10.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.031) 0:00:10.942 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.025) 0:00:10.968 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.037) 0:00:11.005 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.032) 0:00:11.037 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.026) 0:00:11.064 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.093) 0:00:11.158 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.039) 0:00:11.197 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704931014.0992305, "block_size": 4096, "blocks": 0, "ctime": 1704931014.0992305, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31504, "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": 1704931014.0992305, "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 the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.212) 0:00:11.410 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.026) 0:00:11.436 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.023) 0:00:11.460 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 23:56:55 +0000 (0:00:00.042) 0:00:11.503 ***** fatal: [sut]: 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.062932", "end": "2024-01-10 23:56:56.152819", "rc": 1, "start": "2024-01-10 23:56:56.089887" } STDOUT: Connection 'statebr' (f73add93-b212-4ba8-819e-684eaa6a6ac0) 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 the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 23:56:56 +0000 (0:00:00.281) 0:00:11.785 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 23:56:56 +0000 (0:00:00.040) 0:00:11.825 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 23:56:56 +0000 (0:00:00.024) 0:00:11.850 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (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: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 23:56:56 +0000 (0:00:00.047) 0:00:11.897 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:56:56 +0000 (0:00:00.063) 0:00:11.961 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:56:56 +0000 (0:00:00.043) 0:00:12.004 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005207", "end": "2024-01-10 23:56:57.593417", "rc": 0, "start": "2024-01-10 23:56:56.588210" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:56:57 +0000 (0:00:01.221) 0:00:13.226 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:56:57 +0000 (0:00:00.024) 0:00:13.250 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 23:56:57 +0000 (0:00:00.024) 0:00:13.275 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 23:56:57 +0000 (0:00:00.048) 0:00:13.323 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007316", "end": "2024-01-10 23:56:57.920304", "rc": 1, "start": "2024-01-10 23:56:57.912988" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 23:56:57 +0000 (0:00:00.233) 0:00:13.557 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:56:57 +0000 (0:00:00.037) 0:00:13.594 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.231) 0:00:13.826 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.027) 0:00:13.854 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.046) 0:00:13.900 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.044) 0:00:13.944 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.043) 0:00:13.988 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.029) 0:00:14.017 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.022) 0:00:14.039 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:56:58 +0000 (0:00:00.021) 0:00:14.061 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:57:00 +0000 (0:00:02.199) 0:00:16.260 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.942) 0:00:17.202 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.023) 0:00:17.226 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.023) 0:00:17.249 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.024) 0:00:17.274 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.045) 0:00:17.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.045) 0:00:17.365 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.030) 0:00:17.396 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:57:01 +0000 (0:00:00.031) 0:00:17.427 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.580) 0:00:18.007 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.029) 0:00:18.036 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.028) 0:00:18.065 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.029) 0:00:18.095 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, 52f1fc78-c063-4f17-9146-2ad4863ab835 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.386) 0:00:18.481 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.024) 0:00:18.506 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52f1fc78-c063-4f17-9146-2ad4863ab835" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.024) 0:00:18.530 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, 52f1fc78-c063-4f17-9146-2ad4863ab835\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52f1fc78-c063-4f17-9146-2ad4863ab835" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.025) 0:00:18.556 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:57:02 +0000 (0:00:00.023) 0:00:18.579 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.230) 0:00:18.810 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, 52f1fc78-c063-4f17-9146-2ad4863ab835\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52f1fc78-c063-4f17-9146-2ad4863ab835" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.023) 0:00:18.833 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.048) 0:00:18.882 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.039) 0:00:18.922 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.214) 0:00:19.136 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.023) 0:00:19.159 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.040) 0:00:19.200 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.023) 0:00:19.223 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.216) 0:00:19.440 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 23:57:03 +0000 (0:00:00.030) 0:00:19.470 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023754", "end": "2024-01-10 23:57:04.079103", "rc": 0, "start": "2024-01-10 23:57:04.055349" } 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: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.241) 0:00:19.711 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.055) 0:00:19.766 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.033) 0:00:19.800 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.024) 0:00:19.825 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.025) 0:00:19.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.024) 0:00:19.875 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.024) 0:00:19.899 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.025) 0:00:19.924 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.022) 0:00:19.947 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.022) 0:00:19.970 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.042) 0:00:20.012 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.097) 0:00:20.110 ***** fatal: [sut]: 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.045264", "end": "2024-01-10 23:57:04.755953", "rc": 1, "start": "2024-01-10 23:57:04.710689" } STDOUT: Connection 'statebr' (52f1fc78-c063-4f17-9146-2ad4863ab835) 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 the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.289) 0:00:20.399 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.053) 0:00:20.452 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.055) 0:00:20.508 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (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: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.045) 0:00:20.553 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:57:04 +0000 (0:00:00.039) 0:00:20.593 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.037) 0:00:20.630 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003997", "end": "2024-01-10 23:57:05.216444", "rc": 0, "start": "2024-01-10 23:57:05.212447" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.216) 0:00:20.847 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.025) 0:00:20.872 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.023) 0:00:20.896 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.041) 0:00:20.937 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.037) 0:00:20.975 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.040) 0:00:21.015 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.052) 0:00:21.068 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.022) 0:00:21.091 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:57:05 +0000 (0:00:00.023) 0:00:21.114 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:57:07 +0000 (0:00:02.213) 0:00:23.328 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.946) 0:00:24.274 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.023) 0:00:24.297 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.021) 0:00:24.319 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.021) 0:00:24.341 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.043) 0:00:24.385 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.022) 0:00:24.407 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.021) 0:00:24.428 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:57:08 +0000 (0:00:00.025) 0:00:24.454 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.573) 0:00:25.027 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.033) 0:00:25.061 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.024) 0:00:25.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.030) 0:00:25.116 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, a441b5f2-25d3-454a-b879-14b825d036b0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:57:09 +0000 (0:00:00.476) 0:00:25.592 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:57:10 +0000 (0:00:00.022) 0:00:25.615 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a441b5f2-25d3-454a-b879-14b825d036b0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:57:10 +0000 (0:00:00.024) 0:00:25.639 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, a441b5f2-25d3-454a-b879-14b825d036b0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a441b5f2-25d3-454a-b879-14b825d036b0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:57:10 +0000 (0:00:00.022) 0:00:25.662 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:57:10 +0000 (0:00:00.021) 0:00:25.683 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 23:57:10 +0000 (0:00:00.208) 0:00:25.892 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, a441b5f2-25d3-454a-b879-14b825d036b0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a441b5f2-25d3-454a-b879-14b825d036b0" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 23:57:10 +0000 (0:00:00.024) 0:00:25.917 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 23:57:10 +0000 (0:00:00.039) 0:00:25.956 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:10 +0000 (0:00:00.041) 0:00:25.998 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:10 +0000 (0:00:00.041) 0:00:26.040 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:57:10 +0000 (0:00:00.028) 0:00:26.068 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:57:10 +0000 (0:00:00.047) 0:00:26.115 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:57:10 +0000 (0:00:00.022) 0:00:26.138 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:57:12 +0000 (0:00:02.192) 0:00:28.331 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.950) 0:00:29.281 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.025) 0:00:29.307 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.023) 0:00:29.330 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.024) 0:00:29.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.055) 0:00:29.410 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.025) 0:00:29.435 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.022) 0:00:29.458 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:57:13 +0000 (0:00:00.025) 0:00:29.483 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.576) 0:00:30.060 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.038) 0:00:30.098 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.023) 0:00:30.122 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.021) 0:00:30.143 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, a441b5f2-25d3-454a-b879-14b825d036b0 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.370) 0:00:30.514 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.022) 0:00:30.537 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a441b5f2-25d3-454a-b879-14b825d036b0 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:57:14 +0000 (0:00:00.053) 0:00:30.590 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, a441b5f2-25d3-454a-b879-14b825d036b0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a441b5f2-25d3-454a-b879-14b825d036b0 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:57:15 +0000 (0:00:00.024) 0:00:30.615 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:57:15 +0000 (0:00:00.022) 0:00:30.638 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 23:57:15 +0000 (0:00:00.206) 0:00:30.844 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 23:57:15 +0000 (0:00:00.046) 0:00:30.891 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:57:15 +0000 (0:00:00.057) 0:00:30.949 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704931029.896776, "block_size": 4096, "blocks": 0, "ctime": 1704931029.896776, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31635, "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": 1704931029.896776, "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 the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 23:57:15 +0000 (0:00:00.211) 0:00:31.160 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 23:57:15 +0000 (0:00:00.025) 0:00:31.185 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 23:57:15 +0000 (0:00:00.043) 0:00:31.228 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 23:57:15 +0000 (0:00:00.029) 0:00:31.258 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 23:57:15 +0000 (0:00:00.211) 0:00:31.470 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 23:57:15 +0000 (0:00:00.044) 0:00:31.514 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024380", "end": "2024-01-10 23:57:16.122031", "rc": 0, "start": "2024-01-10 23:57:16.097651" } 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: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.242) 0:00:31.757 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.034) 0:00:31.792 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.028) 0:00:31.820 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.025) 0:00:31.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.030) 0:00:31.876 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.030) 0:00:31.907 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.027) 0:00:31.934 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.027) 0:00:31.962 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.024) 0:00:31.987 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.020) 0:00:32.007 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.022) 0:00:32.030 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.043) 0:00:32.074 ***** fatal: [sut]: 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.075386", "end": "2024-01-10 23:57:16.740547", "rc": 1, "start": "2024-01-10 23:57:16.665161" } STDOUT: Connection 'statebr' (a441b5f2-25d3-454a-b879-14b825d036b0) 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 the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.323) 0:00:32.397 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.040) 0:00:32.438 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.035) 0:00:32.474 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (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: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.048) 0:00:32.522 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:57:16 +0000 (0:00:00.065) 0:00:32.588 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:57:17 +0000 (0:00:00.037) 0:00:32.626 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005369", "end": "2024-01-10 23:57:18.213728", "rc": 0, "start": "2024-01-10 23:57:17.208359" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:57:18 +0000 (0:00:01.220) 0:00:33.846 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.025) 0:00:33.871 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.024) 0:00:33.895 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.094) 0:00:33.990 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.071) 0:00:34.062 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.067) 0:00:34.130 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.030) 0:00:34.160 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.041) 0:00:34.201 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:57:18 +0000 (0:00:00.031) 0:00:34.233 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:57:20 +0000 (0:00:02.208) 0:00:36.442 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:21 +0000 (0:00:00.917) 0:00:37.359 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:21 +0000 (0:00:00.023) 0:00:37.383 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:57:21 +0000 (0:00:00.022) 0:00:37.405 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:57:21 +0000 (0:00:00.021) 0:00:37.426 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:57:21 +0000 (0:00:00.046) 0:00:37.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:57:21 +0000 (0:00:00.023) 0:00:37.496 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:57:21 +0000 (0:00:00.021) 0:00:37.517 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:57:21 +0000 (0:00:00.050) 0:00:37.567 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:57:22 +0000 (0:00:00.565) 0:00:38.132 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:57:22 +0000 (0:00:00.026) 0:00:38.159 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:57:22 +0000 (0:00:00.021) 0:00:38.180 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:57:22 +0000 (0:00:00.022) 0:00:38.203 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, 48ccb5ff-76ba-44ab-a71a-b036827a07b8 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.426) 0:00:38.629 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.026) 0:00:38.655 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48ccb5ff-76ba-44ab-a71a-b036827a07b8" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.024) 0:00:38.680 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, 48ccb5ff-76ba-44ab-a71a-b036827a07b8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48ccb5ff-76ba-44ab-a71a-b036827a07b8" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.031) 0:00:38.711 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.023) 0:00:38.734 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.215) 0:00:38.950 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, 48ccb5ff-76ba-44ab-a71a-b036827a07b8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48ccb5ff-76ba-44ab-a71a-b036827a07b8" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.027) 0:00:38.977 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.064) 0:00:39.041 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.042) 0:00:39.084 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.027) 0:00:39.111 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.022) 0:00:39.133 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:57:23 +0000 (0:00:00.021) 0:00:39.155 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:57:25 +0000 (0:00:02.205) 0:00:41.360 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:26 +0000 (0:00:00.921) 0:00:42.281 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:26 +0000 (0:00:00.023) 0:00:42.305 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:57:26 +0000 (0:00:00.021) 0:00:42.327 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:57:26 +0000 (0:00:00.021) 0:00:42.349 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:57:26 +0000 (0:00:00.043) 0:00:42.392 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:57:26 +0000 (0:00:00.021) 0:00:42.414 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:57:26 +0000 (0:00:00.021) 0:00:42.436 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:57:26 +0000 (0:00:00.025) 0:00:42.461 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:57:27 +0000 (0:00:00.567) 0:00:43.028 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:57:27 +0000 (0:00:00.026) 0:00:43.055 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:57:27 +0000 (0:00:00.023) 0:00:43.078 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:57:27 +0000 (0:00:00.022) 0:00:43.101 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, 48ccb5ff-76ba-44ab-a71a-b036827a07b8 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:57:27 +0000 (0:00:00.372) 0:00:43.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:57:27 +0000 (0:00:00.021) 0:00:43.495 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 48ccb5ff-76ba-44ab-a71a-b036827a07b8 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:57:27 +0000 (0:00:00.023) 0:00:43.519 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, 48ccb5ff-76ba-44ab-a71a-b036827a07b8 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 48ccb5ff-76ba-44ab-a71a-b036827a07b8 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:57:27 +0000 (0:00:00.024) 0:00:43.543 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:57:27 +0000 (0:00:00.021) 0:00:43.564 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 23:57:28 +0000 (0:00:00.205) 0:00:43.770 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 23:57:28 +0000 (0:00:00.041) 0:00:43.811 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:28 +0000 (0:00:00.065) 0:00:43.877 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:28 +0000 (0:00:00.043) 0:00:43.921 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:57:28 +0000 (0:00:00.029) 0:00:43.951 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:57:28 +0000 (0:00:00.023) 0:00:43.974 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:57:28 +0000 (0:00:00.023) 0:00:43.997 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:57:30 +0000 (0:00:02.204) 0:00:46.201 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:31 +0000 (0:00:00.919) 0:00:47.121 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:31 +0000 (0:00:00.025) 0:00:47.146 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:57:31 +0000 (0:00:00.023) 0:00:47.170 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:57:31 +0000 (0:00:00.022) 0:00:47.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:57:31 +0000 (0:00:00.044) 0:00:47.238 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:57:31 +0000 (0:00:00.021) 0:00:47.259 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:57:31 +0000 (0:00:00.021) 0:00:47.280 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:57:31 +0000 (0:00:00.025) 0:00:47.306 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:57:32 +0000 (0:00:00.581) 0:00:47.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:57:32 +0000 (0:00:00.027) 0:00:47.916 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:57:32 +0000 (0:00:00.023) 0:00:47.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:57:32 +0000 (0:00:00.023) 0:00:47.963 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:57:32 +0000 (0:00:00.403) 0:00:48.366 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:57:32 +0000 (0:00:00.022) 0:00:48.388 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:57:32 +0000 (0:00:00.022) 0:00:48.410 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:57:32 +0000 (0:00:00.025) 0:00:48.436 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:57:32 +0000 (0:00:00.022) 0:00:48.459 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 23:57:33 +0000 (0:00:00.211) 0:00:48.670 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 23:57:33 +0000 (0:00:00.044) 0:00:48.715 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:57:33 +0000 (0:00:00.063) 0:00:48.778 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704931042.9465067, "block_size": 4096, "blocks": 0, "ctime": 1704931042.9465067, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31766, "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": 1704931042.9465067, "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 the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 23:57:33 +0000 (0:00:00.213) 0:00:48.992 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 23:57:33 +0000 (0:00:00.025) 0:00:49.018 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 23:57:33 +0000 (0:00:00.038) 0:00:49.056 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 23:57:33 +0000 (0:00:00.023) 0:00:49.079 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 23:57:33 +0000 (0:00:00.210) 0:00:49.290 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 23:57:33 +0000 (0:00:00.022) 0:00:49.312 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023646", "end": "2024-01-10 23:57:33.918296", "rc": 1, "start": "2024-01-10 23:57:33.894650" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 23:57:33 +0000 (0:00:00.237) 0:00:49.550 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 23:57:33 +0000 (0:00:00.023) 0:00:49.574 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.023) 0:00:49.597 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.024) 0:00:49.621 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.023) 0:00:49.645 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.024) 0:00:49.669 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.058) 0:00:49.727 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.021) 0:00:49.749 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.024) 0:00:49.774 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.043) 0:00:49.818 ***** fatal: [sut]: 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.072209", "end": "2024-01-10 23:57:34.473543", "rc": 1, "start": "2024-01-10 23:57:34.401334" } STDOUT: Connection 'statebr' (48ccb5ff-76ba-44ab-a71a-b036827a07b8) 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 the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tests_states.yml:103 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.295) 0:00:50.113 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.042) 0:00:50.156 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.031) 0:00:50.187 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (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: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.048) 0:00:50.235 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.041) 0:00:50.277 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.047) 0:00:50.324 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004018", "end": "2024-01-10 23:57:34.912104", "rc": 0, "start": "2024-01-10 23:57:34.908086" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.244) 0:00:50.568 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:57:34 +0000 (0:00:00.024) 0:00:50.593 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.024) 0:00:50.617 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.048) 0:00:50.665 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.044) 0:00:50.710 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.045) 0:00:50.755 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.030) 0:00:50.786 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.024) 0:00:50.810 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:57:35 +0000 (0:00:00.022) 0:00:50.833 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:57:37 +0000 (0:00:02.188) 0:00:53.022 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.929) 0:00:53.952 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.027) 0:00:53.980 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.023) 0:00:54.003 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.023) 0:00:54.027 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.065) 0:00:54.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.021) 0:00:54.115 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.021) 0:00:54.137 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:57:38 +0000 (0:00:00.025) 0:00:54.162 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.564) 0:00:54.727 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.028) 0:00:54.755 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.021) 0:00:54.777 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.022) 0:00:54.799 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, db757c1c-154c-4592-b926-5b0248a9e200 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.424) 0:00:55.223 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.023) 0:00:55.247 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, db757c1c-154c-4592-b926-5b0248a9e200" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.032) 0:00:55.280 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, db757c1c-154c-4592-b926-5b0248a9e200\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, db757c1c-154c-4592-b926-5b0248a9e200" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.024) 0:00:55.305 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.021) 0:00:55.326 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.209) 0:00:55.535 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, db757c1c-154c-4592-b926-5b0248a9e200\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, db757c1c-154c-4592-b926-5b0248a9e200" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 23:57:39 +0000 (0:00:00.026) 0:00:55.561 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.041) 0:00:55.603 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.053) 0:00:55.656 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.046) 0:00:55.703 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.024) 0:00:55.727 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:57:40 +0000 (0:00:00.037) 0:00:55.765 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:57:42 +0000 (0:00:02.196) 0:00:57.961 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.925) 0:00:58.886 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.023) 0:00:58.909 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.021) 0:00:58.930 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.021) 0:00:58.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.044) 0:00:58.997 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.021) 0:00:59.018 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.041) 0:00:59.060 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:57:43 +0000 (0:00:00.025) 0:00:59.086 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.575) 0:00:59.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.026) 0:00:59.688 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.021) 0:00:59.710 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.021) 0:00:59.731 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, db757c1c-154c-4592-b926-5b0248a9e200 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.371) 0:01:00.103 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.023) 0:01:00.126 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, db757c1c-154c-4592-b926-5b0248a9e200 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.025) 0:01:00.151 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, db757c1c-154c-4592-b926-5b0248a9e200 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, db757c1c-154c-4592-b926-5b0248a9e200 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.026) 0:01:00.178 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.023) 0:01:00.201 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.205) 0:01:00.407 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.072) 0:01:00.479 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.046) 0:01:00.526 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.028) 0:01:00.555 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:57:44 +0000 (0:00:00.022) 0:01:00.577 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:57:45 +0000 (0:00:00.022) 0:01:00.600 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:57:47 +0000 (0:00:02.215) 0:01:02.816 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:48 +0000 (0:00:00.921) 0:01:03.737 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:48 +0000 (0:00:00.023) 0:01:03.760 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:57:48 +0000 (0:00:00.022) 0:01:03.783 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:57:48 +0000 (0:00:00.023) 0:01:03.806 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:57:48 +0000 (0:00:00.047) 0:01:03.854 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:57:48 +0000 (0:00:00.024) 0:01:03.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:57:48 +0000 (0:00:00.034) 0:01:03.913 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:57:48 +0000 (0:00:00.030) 0:01:03.944 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:57:48 +0000 (0:00:00.568) 0:01:04.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:57:48 +0000 (0:00:00.027) 0:01:04.539 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:57:48 +0000 (0:00:00.037) 0:01:04.577 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:57:49 +0000 (0:00:00.025) 0:01:04.602 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:57:49 +0000 (0:00:00.409) 0:01:05.011 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:57:49 +0000 (0:00:00.024) 0:01:05.036 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:57:49 +0000 (0:00:00.026) 0:01:05.063 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:57:49 +0000 (0:00:00.024) 0:01:05.087 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:57:49 +0000 (0:00:00.022) 0:01:05.110 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 23:57:49 +0000 (0:00:00.208) 0:01:05.318 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 23:57:49 +0000 (0:00:00.042) 0:01:05.361 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:49 +0000 (0:00:00.082) 0:01:05.444 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:49 +0000 (0:00:00.046) 0:01:05.490 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:57:49 +0000 (0:00:00.029) 0:01:05.520 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:57:49 +0000 (0:00:00.032) 0:01:05.552 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:57:49 +0000 (0:00:00.028) 0:01:05.581 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:57:52 +0000 (0:00:02.222) 0:01:07.804 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:57:53 +0000 (0:00:00.942) 0:01:08.746 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:57:53 +0000 (0:00:00.028) 0:01:08.774 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:57:53 +0000 (0:00:00.024) 0:01:08.799 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:57:53 +0000 (0:00:00.024) 0:01:08.823 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:57:53 +0000 (0:00:00.045) 0:01:08.869 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:57:53 +0000 (0:00:00.021) 0:01:08.891 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:57:53 +0000 (0:00:00.027) 0:01:08.918 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:57:53 +0000 (0:00:00.032) 0:01:08.950 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:57:53 +0000 (0:00:00.595) 0:01:09.546 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:57:53 +0000 (0:00:00.027) 0:01:09.573 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:57:54 +0000 (0:00:00.028) 0:01:09.602 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:57:54 +0000 (0:00:00.023) 0:01:09.625 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:57:54 +0000 (0:00:00.467) 0:01:10.093 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:57:54 +0000 (0:00:00.023) 0:01:10.116 ***** ok: [sut] => { "__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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:57:54 +0000 (0:00:00.024) 0:01:10.140 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:57:54 +0000 (0:00:00.025) 0:01:10.165 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:57:54 +0000 (0:00:00.021) 0:01:10.187 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 23:57:54 +0000 (0:00:00.205) 0:01:10.393 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 23:57:54 +0000 (0:00:00.042) 0:01:10.435 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 23:57:54 +0000 (0:00:00.044) 0:01:10.480 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 23:57:54 +0000 (0:00:00.046) 0:01:10.527 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.212) 0:01:10.740 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.026) 0:01:10.766 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022832", "end": "2024-01-10 23:57:55.371081", "rc": 1, "start": "2024-01-10 23:57:55.348249" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.242) 0:01:11.009 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.024) 0:01:11.034 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.024) 0:01:11.058 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.023) 0:01:11.082 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.024) 0:01:11.107 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.023) 0:01:11.130 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.024) 0:01:11.155 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.044) 0:01:11.200 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.038) 0:01:11.239 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.244) 0:01:11.483 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.026) 0:01:11.510 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.022) 0:01:11.533 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 23:57:55 +0000 (0:00:00.043) 0:01:11.577 ***** fatal: [sut]: 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.043169", "end": "2024-01-10 23:57:56.202537", "rc": 1, "start": "2024-01-10 23:57:56.159368" } 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 the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tests_states.yml:126 Wednesday 10 January 2024 23:57:56 +0000 (0:00:00.256) 0:01:11.833 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 23:57:56 +0000 (0:00:00.040) 0:01:11.874 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 23:57:56 +0000 (0:00:00.024) 0:01:11.899 ***** ok: [sut] => (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: [sut] => (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: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 23:57:56 +0000 (0:00:00.045) 0:01:11.945 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 23:57:56 +0000 (0:00:00.038) 0:01:11.983 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 23:57:56 +0000 (0:00:00.037) 0:01:12.021 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005131", "end": "2024-01-10 23:57:57.609229", "rc": 0, "start": "2024-01-10 23:57:56.604098" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 23:57:57 +0000 (0:00:01.219) 0:01:13.241 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 23:57:57 +0000 (0:00:00.024) 0:01:13.266 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 23:57:57 +0000 (0:00:00.023) 0:01:13.289 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 23:57:57 +0000 (0:00:00.046) 0:01:13.336 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:57:57 +0000 (0:00:00.039) 0:01:13.375 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:57:57 +0000 (0:00:00.044) 0:01:13.420 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:57:57 +0000 (0:00:00.030) 0:01:13.450 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:57:57 +0000 (0:00:00.023) 0:01:13.473 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:57:57 +0000 (0:00:00.021) 0:01:13.495 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:58:00 +0000 (0:00:02.219) 0:01:15.714 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:58:01 +0000 (0:00:00.951) 0:01:16.666 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:58:01 +0000 (0:00:00.041) 0:01:16.707 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:58:01 +0000 (0:00:00.023) 0:01:16.731 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:58:01 +0000 (0:00:00.022) 0:01:16.754 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:58:01 +0000 (0:00:00.065) 0:01:16.819 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:58:01 +0000 (0:00:00.043) 0:01:16.863 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:58:01 +0000 (0:00:00.039) 0:01:16.902 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:58:01 +0000 (0:00:00.033) 0:01:16.936 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:58:01 +0000 (0:00:00.586) 0:01:17.523 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:58:01 +0000 (0:00:00.028) 0:01:17.551 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:58:01 +0000 (0:00:00.021) 0:01:17.573 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:58:01 +0000 (0:00:00.021) 0:01:17.594 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, 4a779d85-e73d-47b2-a870-4f41ab2b5749 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:58:02 +0000 (0:00:00.429) 0:01:18.024 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:58:02 +0000 (0:00:00.046) 0:01:18.071 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a779d85-e73d-47b2-a870-4f41ab2b5749" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:58:02 +0000 (0:00:00.024) 0:01:18.095 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, 4a779d85-e73d-47b2-a870-4f41ab2b5749\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a779d85-e73d-47b2-a870-4f41ab2b5749" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:58:02 +0000 (0:00:00.025) 0:01:18.120 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:58:02 +0000 (0:00:00.023) 0:01:18.144 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 23:58:02 +0000 (0:00:00.209) 0:01:18.353 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, 4a779d85-e73d-47b2-a870-4f41ab2b5749\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4a779d85-e73d-47b2-a870-4f41ab2b5749" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 23:58:02 +0000 (0:00:00.024) 0:01:18.378 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:58:02 +0000 (0:00:00.037) 0:01:18.415 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:58:02 +0000 (0:00:00.042) 0:01:18.457 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:58:02 +0000 (0:00:00.029) 0:01:18.487 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:58:02 +0000 (0:00:00.024) 0:01:18.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:58:02 +0000 (0:00:00.024) 0:01:18.536 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:58:05 +0000 (0:00:02.196) 0:01:20.733 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:58:06 +0000 (0:00:00.916) 0:01:21.649 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:58:06 +0000 (0:00:00.023) 0:01:21.673 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:58:06 +0000 (0:00:00.043) 0:01:21.717 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:58:06 +0000 (0:00:00.023) 0:01:21.741 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:58:06 +0000 (0:00:00.047) 0:01:21.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:58:06 +0000 (0:00:00.023) 0:01:21.811 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:58:06 +0000 (0:00:00.022) 0:01:21.834 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:58:06 +0000 (0:00:00.026) 0:01:21.860 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:58:06 +0000 (0:00:00.566) 0:01:22.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:58:06 +0000 (0:00:00.026) 0:01:22.454 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:58:06 +0000 (0:00:00.023) 0:01:22.478 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:58:06 +0000 (0:00:00.022) 0:01:22.501 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, 4a779d85-e73d-47b2-a870-4f41ab2b5749 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:58:07 +0000 (0:00:00.369) 0:01:22.870 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:58:07 +0000 (0:00:00.023) 0:01:22.894 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4a779d85-e73d-47b2-a870-4f41ab2b5749 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:58:07 +0000 (0:00:00.023) 0:01:22.917 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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, 4a779d85-e73d-47b2-a870-4f41ab2b5749 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4a779d85-e73d-47b2-a870-4f41ab2b5749 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:58:07 +0000 (0:00:00.056) 0:01:22.974 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:58:07 +0000 (0:00:00.025) 0:01:22.999 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 23:58:07 +0000 (0:00:00.208) 0:01:23.208 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:58:07 +0000 (0:00:00.040) 0:01:23.248 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:58:07 +0000 (0:00:00.043) 0:01:23.292 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:58:07 +0000 (0:00:00.028) 0:01:23.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:58:07 +0000 (0:00:00.022) 0:01:23.342 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:58:07 +0000 (0:00:00.022) 0:01:23.365 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:58:09 +0000 (0:00:02.185) 0:01:25.551 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:58:10 +0000 (0:00:00.917) 0:01:26.468 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:58:10 +0000 (0:00:00.023) 0:01:26.492 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:58:10 +0000 (0:00:00.021) 0:01:26.514 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:58:10 +0000 (0:00:00.021) 0:01:26.536 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:58:10 +0000 (0:00:00.044) 0:01:26.581 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:58:11 +0000 (0:00:00.023) 0:01:26.604 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:58:11 +0000 (0:00:00.046) 0:01:26.651 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:58:11 +0000 (0:00:00.027) 0:01:26.678 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:58:11 +0000 (0:00:00.564) 0:01:27.242 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:58:11 +0000 (0:00:00.028) 0:01:27.271 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:58:11 +0000 (0:00:00.022) 0:01:27.294 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:58:11 +0000 (0:00:00.022) 0:01:27.316 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:58:12 +0000 (0:00:00.456) 0:01:27.773 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:58:12 +0000 (0:00:00.023) 0:01:27.796 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:58:12 +0000 (0:00:00.024) 0:01:27.821 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:58:12 +0000 (0:00:00.025) 0:01:27.846 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:58:12 +0000 (0:00:00.022) 0:01:27.869 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 23:58:12 +0000 (0:00:00.210) 0:01:28.080 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 23:58:12 +0000 (0:00:00.102) 0:01:28.182 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 23:58:12 +0000 (0:00:00.040) 0:01:28.222 ***** included: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 23:58:12 +0000 (0:00:00.047) 0:01:28.270 ***** skipping: [sut] => { "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 if system is ostree] ****************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 23:58:12 +0000 (0:00:00.031) 0:01:28.302 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 23:58:12 +0000 (0:00:00.023) 0:01:28.326 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 23:58:12 +0000 (0:00:00.025) 0:01:28.351 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 23:58:14 +0000 (0:00:02.211) 0:01:30.562 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 23:58:15 +0000 (0:00:00.916) 0:01:31.478 ***** ok: [sut] => {} 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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 23:58:15 +0000 (0:00:00.024) 0:01:31.503 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 23:58:15 +0000 (0:00:00.023) 0:01:31.526 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 23:58:15 +0000 (0:00:00.023) 0:01:31.550 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 23:58:16 +0000 (0:00:00.047) 0:01:31.597 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 23:58:16 +0000 (0:00:00.024) 0:01:31.622 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 23:58:16 +0000 (0:00:00.054) 0:01:31.677 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 23:58:16 +0000 (0:00:00.034) 0:01:31.711 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 23:58:16 +0000 (0:00:00.596) 0:01:32.307 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 23:58:16 +0000 (0:00:00.033) 0:01:32.341 ***** skipping: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 23:58:16 +0000 (0:00:00.032) 0:01:32.374 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 23:58:16 +0000 (0:00:00.027) 0:01:32.401 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 23:58:17 +0000 (0:00:00.408) 0:01:32.810 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 23:58:17 +0000 (0:00:00.023) 0:01:32.833 ***** ok: [sut] => { "__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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 23:58:17 +0000 (0:00:00.024) 0:01:32.858 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\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: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 23:58:17 +0000 (0:00:00.025) 0:01:32.884 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 23:58:17 +0000 (0:00:00.025) 0:01:32.909 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 23:58:17 +0000 (0:00:00.212) 0:01:33.121 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 23:58:17 +0000 (0:00:00.074) 0:01:33.196 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 23:58:17 +0000 (0:00:00.042) 0:01:33.239 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 23:58:17 +0000 (0:00:00.022) 0:01:33.261 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 23:58:17 +0000 (0:00:00.215) 0:01:33.477 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 23:58:17 +0000 (0:00:00.021) 0:01:33.498 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023271", "end": "2024-01-10 23:58:18.106742", "rc": 1, "start": "2024-01-10 23:58:18.083471" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 23:58:18 +0000 (0:00:00.239) 0:01:33.737 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 23:58:18 +0000 (0:00:00.026) 0:01:33.764 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 23:58:18 +0000 (0:00:00.024) 0:01:33.788 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 23:58:18 +0000 (0:00:00.023) 0:01:33.811 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 23:58:18 +0000 (0:00:00.022) 0:01:33.834 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 23:58:18 +0000 (0:00:00.023) 0:01:33.857 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 23:58:18 +0000 (0:00:00.023) 0:01:33.881 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.362543", "end": "2024-01-10 23:58:18.826119", "rc": 0, "start": "2024-01-10 23:58:18.463576" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 23:58:18 +0000 (0:00:00.577) 0:01:34.458 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 23:58:18 +0000 (0:00:00.022) 0:01:34.481 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 23:58:18 +0000 (0:00:00.023) 0:01:34.505 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 23:58:18 +0000 (0:00:00.047) 0:01:34.552 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 23:58:18 +0000 (0:00:00.039) 0:01:34.591 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 23:58:19 +0000 (0:00:00.213) 0:01:34.805 ***** ok: [sut] => { "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: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 23:58:19 +0000 (0:00:00.026) 0:01:34.831 ***** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 23:58:19 +0000 (0:00:00.026) 0:01:34.858 ***** included: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2kwobte1/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 23:58:19 +0000 (0:00:00.045) 0:01:34.903 ***** fatal: [sut]: 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.043873", "end": "2024-01-10 23:58:19.529275", "rc": 1, "start": "2024-01-10 23:58:19.485402" } 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 ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Wednesday 10 January 2024 23:58:19 +0000 (0:00:00.244) 0:01:35.147 ***** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.05s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 2.31s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.29s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.76s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.49s /WORKDIR/git-route_type2kwobte1/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---