# 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_typen6cwcb0x/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 20:14:54 +0000 (0:00:00.019) 0:00:00.019 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 20:14:57 +0000 (0:00:02.349) 0:00:02.369 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 20:14:57 +0000 (0:00:00.021) 0:00:02.391 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 20:14:57 +0000 (0:00:00.518) 0:00:02.909 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 20:14:58 +0000 (0:00:00.253) 0:00:03.162 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 20:14:58 +0000 (0:00:00.019) 0:00:03.182 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 20:14:58 +0000 (0:00:00.017) 0:00:03.200 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 20:14:58 +0000 (0:00:00.030) 0:00:03.230 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 20:14:58 +0000 (0:00:00.009) 0:00:03.240 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 20:14:58 +0000 (0:00:00.008) 0:00:03.249 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 20:14:58 +0000 (0:00:00.008) 0:00:03.257 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 20:14:58 +0000 (0:00:00.007) 0:00:03.265 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 20:14:58 +0000 (0:00:00.007) 0:00:03.272 ******* 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_typen6cwcb0x/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 20:14:58 +0000 (0:00:00.010) 0:00:03.283 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 20:14:58 +0000 (0:00:00.795) 0:00:04.079 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 20:14:58 +0000 (0:00:00.011) 0:00:04.091 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:14:58 +0000 (0:00:00.016) 0:00:04.107 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.011) 0:00:04.118 ******* 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_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.031) 0:00:04.150 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.014) 0:00:04.165 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.012) 0:00:04.177 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003698", "end": "2024-01-09 20:14:59.302403", "rc": 0, "start": "2024-01-09 20:14:59.298705" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.261) 0:00:04.439 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.010) 0:00:04.450 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.010) 0:00:04.460 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.020) 0:00:04.481 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007824", "end": "2024-01-09 20:14:59.547754", "rc": 1, "start": "2024-01-09 20:14:59.539930" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.205) 0:00:04.686 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.014) 0:00:04.700 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.200) 0:00:04.900 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.012) 0:00:04.913 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.017) 0:00:04.930 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.039) 0:00:04.970 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.085) 0:00:05.056 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.016) 0:00:05.073 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.028) 0:00:05.101 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:14:59 +0000 (0:00:00.012) 0:00:05.113 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:02 +0000 (0:00:02.261) 0:00:07.374 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:03 +0000 (0:00:01.054) 0:00:08.429 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:03 +0000 (0:00:00.024) 0:00:08.453 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:03 +0000 (0:00:00.023) 0:00:08.476 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:03 +0000 (0:00:00.023) 0:00:08.500 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:03 +0000 (0:00:00.046) 0:00:08.547 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:03 +0000 (0:00:00.021) 0:00:08.568 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:03 +0000 (0:00:00.022) 0:00:08.590 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:03 +0000 (0:00:00.025) 0:00:08.616 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:04 +0000 (0:00:00.776) 0:00:09.392 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:04 +0000 (0:00:00.045) 0:00:09.437 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:04 +0000 (0:00:00.035) 0:00:09.473 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:04 +0000 (0:00:00.037) 0:00:09.511 ******* 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, a8630e07-2f4d-48a3-a1a5-0e6476a9cbcf TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:05 +0000 (0:00:01.310) 0:00:10.822 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.022) 0:00:10.845 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8630e07-2f4d-48a3-a1a5-0e6476a9cbcf" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.026) 0:00:10.871 ******* 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, a8630e07-2f4d-48a3-a1a5-0e6476a9cbcf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8630e07-2f4d-48a3-a1a5-0e6476a9cbcf" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.025) 0:00:10.897 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:05 +0000 (0:00:00.027) 0:00:10.924 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.285) 0:00:11.210 ******* 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, a8630e07-2f4d-48a3-a1a5-0e6476a9cbcf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a8630e07-2f4d-48a3-a1a5-0e6476a9cbcf" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.023) 0:00:11.233 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.072) 0:00:11.305 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.041) 0:00:11.347 ******* 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.026) 0:00:11.374 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.219) 0:00:11.593 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.024) 0:00:11.618 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.171896", "end": "2024-01-09 20:15:06.852360", "rc": 0, "start": "2024-01-09 20:15:06.680464" } 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.384) 0:00:12.002 ******* 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.025) 0:00:12.028 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.024) 0:00:12.052 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.023) 0:00:12.075 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:15:06 +0000 (0:00:00.022) 0:00:12.098 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.022) 0:00:12.120 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.022) 0:00:12.143 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.023) 0:00:12.167 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.026) 0:00:12.193 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.088) 0:00:12.282 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.038) 0:00:12.321 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831305.6237252, "block_size": 4096, "blocks": 0, "ctime": 1704831305.6237252, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26127, "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": 1704831305.6237252, "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_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.215) 0:00:12.537 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.040) 0:00:12.578 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.026) 0:00:12.604 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.043) 0:00:12.647 ******* 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.063193", "end": "2024-01-09 20:15:07.770990", "rc": 1, "start": "2024-01-09 20:15:07.707797" } STDOUT: Connection 'statebr' (a8630e07-2f4d-48a3-a1a5-0e6476a9cbcf) 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_typen6cwcb0x/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.272) 0:00:12.920 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.038) 0:00:12.959 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.022) 0:00:12.981 ******* 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_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.043) 0:00:13.024 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:15:07 +0000 (0:00:00.055) 0:00:13.080 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.039) 0:00:13.120 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003675", "end": "2024-01-09 20:15:08.185705", "rc": 0, "start": "2024-01-09 20:15:08.182030" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.217) 0:00:13.337 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.025) 0:00:13.362 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.029) 0:00:13.392 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.044) 0:00:13.436 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006620", "end": "2024-01-09 20:15:08.516975", "rc": 1, "start": "2024-01-09 20:15:08.510355" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.230) 0:00:13.666 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.036) 0:00:13.703 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.217) 0:00:13.921 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.029) 0:00:13.950 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.074) 0:00:14.025 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:08 +0000 (0:00:00.058) 0:00:14.083 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:09 +0000 (0:00:00.045) 0:00:14.129 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:09 +0000 (0:00:00.028) 0:00:14.157 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:09 +0000 (0:00:00.022) 0:00:14.179 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:09 +0000 (0:00:00.028) 0:00:14.207 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:11 +0000 (0:00:02.180) 0:00:16.388 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.901) 0:00:17.289 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.025) 0:00:17.314 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.023) 0:00:17.338 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.024) 0:00:17.362 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.057) 0:00:17.420 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.039) 0:00:17.460 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.025) 0:00:17.485 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.028) 0:00:17.514 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:12 +0000 (0:00:00.577) 0:00:18.091 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.027) 0:00:18.118 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.030) 0:00:18.149 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.023) 0:00:18.172 ******* 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, 23ad4694-1519-43e9-b769-9662ae3d752d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.387) 0:00:18.560 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.027) 0:00:18.588 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23ad4694-1519-43e9-b769-9662ae3d752d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.031) 0:00:18.619 ******* 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, 23ad4694-1519-43e9-b769-9662ae3d752d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23ad4694-1519-43e9-b769-9662ae3d752d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.032) 0:00:18.651 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.045) 0:00:18.697 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.211) 0:00:18.909 ******* 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, 23ad4694-1519-43e9-b769-9662ae3d752d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 23ad4694-1519-43e9-b769-9662ae3d752d" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.027) 0:00:18.936 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.055) 0:00:18.991 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:15:13 +0000 (0:00:00.061) 0:00:19.053 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:15:14 +0000 (0:00:00.227) 0:00:19.280 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:15:14 +0000 (0:00:00.044) 0:00:19.325 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:15:14 +0000 (0:00:00.046) 0:00:19.371 ******* 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:15:14 +0000 (0:00:00.049) 0:00:19.420 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:15:14 +0000 (0:00:00.269) 0:00:19.689 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:15:14 +0000 (0:00:00.037) 0:00:19.727 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.142984", "end": "2024-01-09 20:15:14.934067", "rc": 0, "start": "2024-01-09 20:15:14.791083" } 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.393) 0:00:20.120 ******* 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.079) 0:00:20.200 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.044) 0:00:20.245 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.025) 0:00:20.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.028) 0:00:20.300 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.038) 0:00:20.338 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.091) 0:00:20.430 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.046) 0:00:20.477 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.031) 0:00:20.509 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.029) 0:00:20.538 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.037) 0:00:20.576 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.058) 0:00:20.635 ******* 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.042009", "end": "2024-01-09 20:15:15.761196", "rc": 1, "start": "2024-01-09 20:15:15.719187" } STDOUT: Connection 'statebr' (23ad4694-1519-43e9-b769-9662ae3d752d) 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_typen6cwcb0x/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.283) 0:00:20.919 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.047) 0:00:20.966 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.023) 0:00:20.989 ******* 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_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.053) 0:00:21.043 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:15:15 +0000 (0:00:00.070) 0:00:21.113 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.073) 0:00:21.187 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003883", "end": "2024-01-09 20:15:16.265418", "rc": 0, "start": "2024-01-09 20:15:16.261535" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.232) 0:00:21.420 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.042) 0:00:21.462 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.033) 0:00:21.495 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.058) 0:00:21.554 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.038) 0:00:21.593 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.039) 0:00:21.633 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.027) 0:00:21.660 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.034) 0:00:21.695 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:16 +0000 (0:00:00.022) 0:00:21.718 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:18 +0000 (0:00:02.197) 0:00:23.915 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.907) 0:00:24.823 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.029) 0:00:24.852 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.025) 0:00:24.877 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.039) 0:00:24.916 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.054) 0:00:24.970 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.053) 0:00:25.024 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.023) 0:00:25.048 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:19 +0000 (0:00:00.028) 0:00:25.076 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:20 +0000 (0:00:00.554) 0:00:25.631 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:20 +0000 (0:00:00.027) 0:00:25.659 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:20 +0000 (0:00:00.030) 0:00:25.690 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:20 +0000 (0:00:00.047) 0:00:25.738 ******* 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, c1042965-86b2-4d3b-95e7-14ef596ea605 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.411) 0:00:26.149 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.024) 0:00:26.174 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1042965-86b2-4d3b-95e7-14ef596ea605" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.024) 0:00:26.198 ******* 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, c1042965-86b2-4d3b-95e7-14ef596ea605\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1042965-86b2-4d3b-95e7-14ef596ea605" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.024) 0:00:26.223 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.022) 0:00:26.246 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.232) 0:00:26.479 ******* 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, c1042965-86b2-4d3b-95e7-14ef596ea605\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c1042965-86b2-4d3b-95e7-14ef596ea605" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.035) 0:00:26.514 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.048) 0:00:26.563 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.045) 0:00:26.608 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.045) 0:00:26.653 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.042) 0:00:26.696 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.029) 0:00:26.725 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:21 +0000 (0:00:00.033) 0:00:26.759 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:23 +0000 (0:00:02.207) 0:00:28.966 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.903) 0:00:29.870 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.026) 0:00:29.896 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.036) 0:00:29.933 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.027) 0:00:29.960 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.061) 0:00:30.022 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.026) 0:00:30.048 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:24 +0000 (0:00:00.058) 0:00:30.107 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.026) 0:00:30.133 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.570) 0:00:30.703 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.030) 0:00:30.734 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.024) 0:00:30.758 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:25 +0000 (0:00:00.028) 0:00:30.786 ******* 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, c1042965-86b2-4d3b-95e7-14ef596ea605 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.375) 0:00:31.162 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.023) 0:00:31.185 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c1042965-86b2-4d3b-95e7-14ef596ea605 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.026) 0:00:31.211 ******* 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, c1042965-86b2-4d3b-95e7-14ef596ea605 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c1042965-86b2-4d3b-95e7-14ef596ea605 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.025) 0:00:31.237 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.024) 0:00:31.261 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.236) 0:00:31.497 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.078) 0:00:31.576 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.043) 0:00:31.619 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831320.9512377, "block_size": 4096, "blocks": 0, "ctime": 1704831320.9512377, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26258, "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": 1704831320.9512377, "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_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.250) 0:00:31.870 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.054) 0:00:31.925 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.050) 0:00:31.976 ******* 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:15:26 +0000 (0:00:00.038) 0:00:32.014 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.222) 0:00:32.237 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.022) 0:00:32.259 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020987", "end": "2024-01-09 20:15:27.341396", "rc": 0, "start": "2024-01-09 20:15:27.320409" } 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.231) 0:00:32.491 ******* 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.024) 0:00:32.516 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.024) 0:00:32.541 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.053) 0:00:32.595 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.023) 0:00:32.619 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.023) 0:00:32.643 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.027) 0:00:32.670 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.028) 0:00:32.698 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.025) 0:00:32.724 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.025) 0:00:32.750 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.025) 0:00:32.776 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.045) 0:00:32.821 ******* 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.070428", "end": "2024-01-09 20:15:27.954823", "rc": 1, "start": "2024-01-09 20:15:27.884395" } STDOUT: Connection 'statebr' (c1042965-86b2-4d3b-95e7-14ef596ea605) 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_typen6cwcb0x/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 20:15:27 +0000 (0:00:00.284) 0:00:33.105 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.037) 0:00:33.142 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.024) 0:00:33.166 ******* 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_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.049) 0:00:33.215 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.071) 0:00:33.287 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.035) 0:00:33.323 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003883", "end": "2024-01-09 20:15:28.393701", "rc": 0, "start": "2024-01-09 20:15:28.389818" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.221) 0:00:33.544 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.023) 0:00:33.568 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.032) 0:00:33.600 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.051) 0:00:33.652 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.052) 0:00:33.704 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.053) 0:00:33.757 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.028) 0:00:33.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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.022) 0:00:33.808 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:28 +0000 (0:00:00.023) 0:00:33.832 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:30 +0000 (0:00:02.226) 0:00:36.058 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:31 +0000 (0:00:00.929) 0:00:36.988 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:31 +0000 (0:00:00.044) 0:00:37.032 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:31 +0000 (0:00:00.023) 0:00:37.056 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:31 +0000 (0:00:00.023) 0:00:37.079 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.047) 0:00:37.126 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.023) 0:00:37.149 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.021) 0:00:37.171 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.026) 0:00:37.197 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.557) 0:00:37.754 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.026) 0:00:37.781 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.022) 0:00:37.804 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:32 +0000 (0:00:00.020) 0:00:37.825 ******* 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, 13cd09ca-2ac4-4c63-a223-87479b81b438 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.414) 0:00:38.239 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.021) 0:00:38.261 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 13cd09ca-2ac4-4c63-a223-87479b81b438" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.047) 0:00:38.309 ******* 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, 13cd09ca-2ac4-4c63-a223-87479b81b438\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 13cd09ca-2ac4-4c63-a223-87479b81b438" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.024) 0:00:38.333 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.024) 0:00:38.358 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.213) 0:00:38.572 ******* 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, 13cd09ca-2ac4-4c63-a223-87479b81b438\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 13cd09ca-2ac4-4c63-a223-87479b81b438" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.039) 0:00:38.611 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.046) 0:00:38.658 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.047) 0:00:38.706 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.030) 0:00:38.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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.022) 0:00:38.758 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:33 +0000 (0:00:00.021) 0:00:38.779 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:35 +0000 (0:00:02.179) 0:00:40.959 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:36 +0000 (0:00:00.911) 0:00:41.870 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:36 +0000 (0:00:00.024) 0:00:41.895 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:36 +0000 (0:00:00.022) 0:00:41.917 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:36 +0000 (0:00:00.021) 0:00:41.939 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:36 +0000 (0:00:00.063) 0:00:42.003 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:36 +0000 (0:00:00.022) 0:00:42.025 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:36 +0000 (0:00:00.023) 0:00:42.048 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:36 +0000 (0:00:00.026) 0:00:42.075 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:37 +0000 (0:00:00.561) 0:00:42.636 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:37 +0000 (0:00:00.028) 0:00:42.665 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:37 +0000 (0:00:00.023) 0:00:42.688 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:37 +0000 (0:00:00.021) 0:00:42.710 ******* 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, 13cd09ca-2ac4-4c63-a223-87479b81b438 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:37 +0000 (0:00:00.361) 0:00:43.071 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:37 +0000 (0:00:00.023) 0:00:43.094 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 13cd09ca-2ac4-4c63-a223-87479b81b438 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:38 +0000 (0:00:00.023) 0:00:43.118 ******* 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, 13cd09ca-2ac4-4c63-a223-87479b81b438 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 13cd09ca-2ac4-4c63-a223-87479b81b438 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:38 +0000 (0:00:00.024) 0:00:43.143 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:38 +0000 (0:00:00.023) 0:00:43.167 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:15:38 +0000 (0:00:00.253) 0:00:43.421 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:15:38 +0000 (0:00:00.043) 0:00:43.464 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:38 +0000 (0:00:00.049) 0:00:43.513 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:38 +0000 (0:00:00.042) 0:00:43.556 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:38 +0000 (0:00:00.049) 0:00:43.606 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:38 +0000 (0:00:00.035) 0:00:43.641 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:38 +0000 (0:00:00.023) 0:00:43.665 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:40 +0000 (0:00:02.197) 0:00:45.862 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:41 +0000 (0:00:00.932) 0:00:46.795 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:41 +0000 (0:00:00.022) 0:00:46.818 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:41 +0000 (0:00:00.027) 0:00:46.845 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:41 +0000 (0:00:00.023) 0:00:46.869 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:41 +0000 (0:00:00.049) 0:00:46.918 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:41 +0000 (0:00:00.023) 0:00:46.942 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:41 +0000 (0:00:00.023) 0:00:46.966 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:41 +0000 (0:00:00.041) 0:00:47.007 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:42 +0000 (0:00:00.569) 0:00:47.577 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:42 +0000 (0:00:00.028) 0:00:47.605 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:42 +0000 (0:00:00.023) 0:00:47.629 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:42 +0000 (0:00:00.022) 0:00:47.652 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:42 +0000 (0:00:00.397) 0:00:48.049 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:42 +0000 (0:00:00.033) 0:00:48.083 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:43 +0000 (0:00:00.039) 0:00:48.122 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:43 +0000 (0:00:00.026) 0:00:48.149 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:43 +0000 (0:00:00.023) 0:00:48.172 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:15:43 +0000 (0:00:00.234) 0:00:48.407 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 20:15:43 +0000 (0:00:00.061) 0:00:48.469 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:15:43 +0000 (0:00:00.081) 0:00:48.550 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704831333.0407927, "block_size": 4096, "blocks": 0, "ctime": 1704831333.0407927, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26389, "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": 1704831333.0407927, "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_typen6cwcb0x/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 20:15:43 +0000 (0:00:00.221) 0:00:48.772 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:15:43 +0000 (0:00:00.045) 0:00:48.818 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:15:43 +0000 (0:00:00.057) 0:00:48.876 ******* 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:15:43 +0000 (0:00:00.031) 0:00:48.908 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:15:44 +0000 (0:00:00.243) 0:00:49.151 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:15:44 +0000 (0:00:00.055) 0:00:49.207 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021395", "end": "2024-01-09 20:15:44.298033", "rc": 1, "start": "2024-01-09 20:15:44.276638" } 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:15:44 +0000 (0:00:00.252) 0:00:49.459 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:15:44 +0000 (0:00:00.036) 0:00:49.496 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:15:44 +0000 (0:00:00.032) 0:00:49.528 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:15:44 +0000 (0:00:00.025) 0:00:49.553 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:15:44 +0000 (0:00:00.026) 0:00:49.580 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:15:44 +0000 (0:00:00.038) 0:00:49.619 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:15:44 +0000 (0:00:00.025) 0:00:49.645 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:15:44 +0000 (0:00:00.065) 0:00:49.710 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:15:44 +0000 (0:00:00.049) 0:00:49.759 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:15:44 +0000 (0:00:00.067) 0:00:49.827 ******* 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.123532", "end": "2024-01-09 20:15:45.017254", "rc": 1, "start": "2024-01-09 20:15:44.893722" } STDOUT: Connection 'statebr' (13cd09ca-2ac4-4c63-a223-87479b81b438) 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_typen6cwcb0x/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.340) 0:00:50.168 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.047) 0:00:50.215 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.028) 0:00:50.243 ******* 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_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.051) 0:00:50.295 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.045) 0:00:50.340 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.041) 0:00:50.381 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003760", "end": "2024-01-09 20:15:45.446310", "rc": 0, "start": "2024-01-09 20:15:45.442550" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.229) 0:00:50.611 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.072) 0:00:50.683 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.037) 0:00:50.720 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.049) 0:00:50.770 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.054) 0:00:50.824 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.050) 0:00:50.874 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.036) 0:00:50.911 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.031) 0:00:50.943 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:45 +0000 (0:00:00.033) 0:00:50.976 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:48 +0000 (0:00:02.159) 0:00:53.135 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:48 +0000 (0:00:00.909) 0:00:54.044 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:48 +0000 (0:00:00.025) 0:00:54.070 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:48 +0000 (0:00:00.025) 0:00:54.096 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:49 +0000 (0:00:00.035) 0:00:54.131 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:49 +0000 (0:00:00.057) 0:00:54.189 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:49 +0000 (0:00:00.029) 0:00:54.218 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:49 +0000 (0:00:00.029) 0:00:54.247 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:49 +0000 (0:00:00.125) 0:00:54.373 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:49 +0000 (0:00:00.595) 0:00:54.969 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:49 +0000 (0:00:00.031) 0:00:55.001 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:49 +0000 (0:00:00.038) 0:00:55.039 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:49 +0000 (0:00:00.047) 0:00:55.087 ******* 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, fe43aa12-6e50-4961-b614-3f4110ebf78b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:50 +0000 (0:00:00.458) 0:00:55.545 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:50 +0000 (0:00:00.024) 0:00:55.569 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe43aa12-6e50-4961-b614-3f4110ebf78b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:50 +0000 (0:00:00.023) 0:00:55.593 ******* 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, fe43aa12-6e50-4961-b614-3f4110ebf78b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe43aa12-6e50-4961-b614-3f4110ebf78b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:50 +0000 (0:00:00.024) 0:00:55.617 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:50 +0000 (0:00:00.022) 0:00:55.640 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:15:50 +0000 (0:00:00.259) 0:00:55.899 ******* 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, fe43aa12-6e50-4961-b614-3f4110ebf78b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fe43aa12-6e50-4961-b614-3f4110ebf78b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:15:50 +0000 (0:00:00.035) 0:00:55.935 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:50 +0000 (0:00:00.097) 0:00:56.033 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:50 +0000 (0:00:00.043) 0:00:56.077 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:50 +0000 (0:00:00.036) 0:00:56.113 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:51 +0000 (0:00:00.025) 0:00:56.139 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:51 +0000 (0:00:00.051) 0:00:56.191 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:53 +0000 (0:00:02.176) 0:00:58.367 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:54 +0000 (0:00:00.923) 0:00:59.290 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:54 +0000 (0:00:00.023) 0:00:59.313 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:54 +0000 (0:00:00.022) 0:00:59.336 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:54 +0000 (0:00:00.022) 0:00:59.358 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:54 +0000 (0:00:00.044) 0:00:59.402 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:54 +0000 (0:00:00.021) 0:00:59.424 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:54 +0000 (0:00:00.022) 0:00:59.447 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:54 +0000 (0:00:00.025) 0:00:59.472 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:54 +0000 (0:00:00.556) 0:01:00.029 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:54 +0000 (0:00:00.059) 0:01:00.088 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:54 +0000 (0:00:00.023) 0:01:00.111 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:55 +0000 (0:00:00.026) 0:01:00.138 ******* 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, fe43aa12-6e50-4961-b614-3f4110ebf78b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:15:55 +0000 (0:00:00.362) 0:01:00.501 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:15:55 +0000 (0:00:00.022) 0:01:00.524 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fe43aa12-6e50-4961-b614-3f4110ebf78b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:15:55 +0000 (0:00:00.024) 0:01:00.549 ******* 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, fe43aa12-6e50-4961-b614-3f4110ebf78b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fe43aa12-6e50-4961-b614-3f4110ebf78b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:15:55 +0000 (0:00:00.024) 0:01:00.574 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:15:55 +0000 (0:00:00.022) 0:01:00.597 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 20:15:55 +0000 (0:00:00.203) 0:01:00.801 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:15:55 +0000 (0:00:00.037) 0:01:00.838 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:15:55 +0000 (0:00:00.039) 0:01:00.878 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:15:55 +0000 (0:00:00.027) 0:01:00.905 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:15:55 +0000 (0:00:00.049) 0:01:00.955 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:15:55 +0000 (0:00:00.023) 0:01:00.979 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:15:58 +0000 (0:00:02.161) 0:01:03.141 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:15:58 +0000 (0:00:00.900) 0:01:04.041 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:15:58 +0000 (0:00:00.040) 0:01:04.082 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:15:58 +0000 (0:00:00.021) 0:01:04.104 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:15:59 +0000 (0:00:00.020) 0:01:04.125 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:15:59 +0000 (0:00:00.045) 0:01:04.170 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:15:59 +0000 (0:00:00.023) 0:01:04.194 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:15:59 +0000 (0:00:00.022) 0:01:04.217 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:15:59 +0000 (0:00:00.036) 0:01:04.254 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:15:59 +0000 (0:00:00.553) 0:01:04.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:15:59 +0000 (0:00:00.026) 0:01:04.834 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:15:59 +0000 (0:00:00.021) 0:01:04.855 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:15:59 +0000 (0:00:00.020) 0:01:04.876 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:16:00 +0000 (0:00:00.388) 0:01:05.264 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:16:00 +0000 (0:00:00.054) 0:01:05.319 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:16:00 +0000 (0:00:00.023) 0:01:05.342 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:16:00 +0000 (0:00:00.023) 0:01:05.366 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:16:00 +0000 (0:00:00.024) 0:01:05.390 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:16:00 +0000 (0:00:00.208) 0:01:05.599 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:16:00 +0000 (0:00:00.042) 0:01:05.641 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:16:00 +0000 (0:00:00.042) 0:01:05.683 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:16:00 +0000 (0:00:00.041) 0:01:05.725 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:16:00 +0000 (0:00:00.028) 0:01:05.753 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:16:00 +0000 (0:00:00.022) 0:01:05.775 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:16:00 +0000 (0:00:00.022) 0:01:05.797 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:16:02 +0000 (0:00:02.199) 0:01:07.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:16:03 +0000 (0:00:00.907) 0:01:08.905 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:16:03 +0000 (0:00:00.022) 0:01:08.927 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:16:03 +0000 (0:00:00.040) 0:01:08.967 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:16:03 +0000 (0:00:00.024) 0:01:08.992 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:16:03 +0000 (0:00:00.044) 0:01:09.036 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:16:03 +0000 (0:00:00.023) 0:01:09.060 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:16:03 +0000 (0:00:00.027) 0:01:09.087 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:16:04 +0000 (0:00:00.032) 0:01:09.120 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:16:04 +0000 (0:00:00.557) 0:01:09.677 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:16:04 +0000 (0:00:00.026) 0:01:09.704 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:16:04 +0000 (0:00:00.024) 0:01:09.728 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:16:04 +0000 (0:00:00.023) 0:01:09.751 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:16:05 +0000 (0:00:00.453) 0:01:10.204 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:16:05 +0000 (0:00:00.022) 0:01:10.227 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:16:05 +0000 (0:00:00.055) 0:01:10.282 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:16:05 +0000 (0:00:00.025) 0:01:10.308 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:16:05 +0000 (0:00:00.022) 0:01:10.330 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:16:05 +0000 (0:00:00.205) 0:01:10.536 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:16:05 +0000 (0:00:00.042) 0:01:10.578 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:16:05 +0000 (0:00:00.038) 0:01:10.617 ******* 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:16:05 +0000 (0:00:00.022) 0:01:10.640 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:16:05 +0000 (0:00:00.216) 0:01:10.857 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:16:05 +0000 (0:00:00.023) 0:01:10.880 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020014", "end": "2024-01-09 20:16:05.962405", "rc": 1, "start": "2024-01-09 20:16:05.942391" } 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.241) 0:01:11.121 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.025) 0:01:11.147 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.034) 0:01:11.182 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.051) 0:01:11.234 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.024) 0:01:11.258 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.025) 0:01:11.283 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.025) 0:01:11.308 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.046) 0:01:11.354 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.036) 0:01:11.391 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.212) 0:01:11.603 ******* 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_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.025) 0:01:11.629 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.022) 0:01:11.652 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.040) 0:01:11.692 ******* 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.038733", "end": "2024-01-09 20:16:06.794697", "rc": 1, "start": "2024-01-09 20:16:06.755964" } 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_typen6cwcb0x/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.252) 0:01:11.945 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.063) 0:01:12.009 ******* 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_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.024) 0:01:12.033 ******* 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_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 20:16:06 +0000 (0:00:00.057) 0:01:12.091 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 20:16:07 +0000 (0:00:00.036) 0:01:12.127 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 20:16:07 +0000 (0:00:00.034) 0:01:12.161 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003856", "end": "2024-01-09 20:16:07.227995", "rc": 0, "start": "2024-01-09 20:16:07.224139" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 20:16:07 +0000 (0:00:00.219) 0:01:12.381 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 20:16:07 +0000 (0:00:00.028) 0:01:12.409 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 20:16:07 +0000 (0:00:00.032) 0:01:12.441 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 20:16:07 +0000 (0:00:00.044) 0:01:12.485 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:16:07 +0000 (0:00:00.039) 0:01:12.525 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:16:07 +0000 (0:00:00.073) 0:01:12.598 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:16:07 +0000 (0:00:00.028) 0:01:12.626 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:16:07 +0000 (0:00:00.020) 0:01:12.647 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:16:07 +0000 (0:00:00.021) 0:01:12.669 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:16:09 +0000 (0:00:02.253) 0:01:14.922 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:16:10 +0000 (0:00:00.924) 0:01:15.847 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:16:10 +0000 (0:00:00.023) 0:01:15.870 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:16:10 +0000 (0:00:00.022) 0:01:15.892 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:16:10 +0000 (0:00:00.023) 0:01:15.916 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:16:10 +0000 (0:00:00.044) 0:01:15.960 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:16:10 +0000 (0:00:00.021) 0:01:15.981 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:16:10 +0000 (0:00:00.023) 0:01:16.004 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:16:10 +0000 (0:00:00.025) 0:01:16.030 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:16:11 +0000 (0:00:00.570) 0:01:16.601 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:16:11 +0000 (0:00:00.028) 0:01:16.630 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:16:11 +0000 (0:00:00.056) 0:01:16.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:16:11 +0000 (0:00:00.035) 0:01:16.722 ******* 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, b86bf20f-58cd-4470-9b11-3a976555929e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:16:12 +0000 (0:00:00.505) 0:01:17.227 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:16:12 +0000 (0:00:00.023) 0:01:17.250 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b86bf20f-58cd-4470-9b11-3a976555929e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:16:12 +0000 (0:00:00.024) 0:01:17.275 ******* 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, b86bf20f-58cd-4470-9b11-3a976555929e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b86bf20f-58cd-4470-9b11-3a976555929e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:16:12 +0000 (0:00:00.025) 0:01:17.300 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:16:12 +0000 (0:00:00.021) 0:01:17.321 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 20:16:12 +0000 (0:00:00.207) 0:01:17.529 ******* 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, b86bf20f-58cd-4470-9b11-3a976555929e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b86bf20f-58cd-4470-9b11-3a976555929e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 20:16:12 +0000 (0:00:00.024) 0:01:17.553 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:16:12 +0000 (0:00:00.051) 0:01:17.604 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:16:12 +0000 (0:00:00.043) 0:01:17.648 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:16:12 +0000 (0:00:00.083) 0:01:17.732 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:16:12 +0000 (0:00:00.032) 0:01:17.765 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:16:12 +0000 (0:00:00.023) 0:01:17.788 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:16:14 +0000 (0:00:02.196) 0:01:19.985 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:16:15 +0000 (0:00:00.931) 0:01:20.916 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:16:15 +0000 (0:00:00.023) 0:01:20.940 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:16:15 +0000 (0:00:00.021) 0:01:20.961 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:16:15 +0000 (0:00:00.021) 0:01:20.983 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:16:15 +0000 (0:00:00.043) 0:01:21.026 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:16:15 +0000 (0:00:00.023) 0:01:21.050 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:16:15 +0000 (0:00:00.023) 0:01:21.074 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:16:15 +0000 (0:00:00.026) 0:01:21.100 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:16:16 +0000 (0:00:00.562) 0:01:21.663 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:16:16 +0000 (0:00:00.027) 0:01:21.690 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:16:16 +0000 (0:00:00.022) 0:01:21.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:16:16 +0000 (0:00:00.024) 0:01:21.738 ******* 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, b86bf20f-58cd-4470-9b11-3a976555929e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:16:17 +0000 (0:00:00.422) 0:01:22.160 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:16:17 +0000 (0:00:00.024) 0:01:22.185 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b86bf20f-58cd-4470-9b11-3a976555929e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:16:17 +0000 (0:00:00.025) 0:01:22.210 ******* 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, b86bf20f-58cd-4470-9b11-3a976555929e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b86bf20f-58cd-4470-9b11-3a976555929e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:16:17 +0000 (0:00:00.025) 0:01:22.236 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:16:17 +0000 (0:00:00.024) 0:01:22.261 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:16:17 +0000 (0:00:00.206) 0:01:22.468 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:16:17 +0000 (0:00:00.040) 0:01:22.508 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:16:17 +0000 (0:00:00.043) 0:01:22.552 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:16:17 +0000 (0:00:00.027) 0:01:22.579 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:16:17 +0000 (0:00:00.022) 0:01:22.602 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:16:17 +0000 (0:00:00.023) 0:01:22.625 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:16:19 +0000 (0:00:02.164) 0:01:24.790 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:16:20 +0000 (0:00:00.904) 0:01:25.694 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:16:20 +0000 (0:00:00.024) 0:01:25.718 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:16:20 +0000 (0:00:00.022) 0:01:25.740 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:16:20 +0000 (0:00:00.044) 0:01:25.785 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:16:20 +0000 (0:00:00.044) 0:01:25.830 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:16:20 +0000 (0:00:00.020) 0:01:25.851 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:16:20 +0000 (0:00:00.021) 0:01:25.872 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:16:20 +0000 (0:00:00.024) 0:01:25.896 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:16:21 +0000 (0:00:00.562) 0:01:26.459 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:16:21 +0000 (0:00:00.026) 0:01:26.486 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:16:21 +0000 (0:00:00.022) 0:01:26.509 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:16:21 +0000 (0:00:00.022) 0:01:26.531 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:16:21 +0000 (0:00:00.446) 0:01:26.977 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:16:21 +0000 (0:00:00.024) 0:01:27.002 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:16:21 +0000 (0:00:00.026) 0:01:27.028 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:16:21 +0000 (0:00:00.054) 0:01:27.083 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:16:21 +0000 (0:00:00.027) 0:01:27.110 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 20:16:22 +0000 (0:00:00.206) 0:01:27.317 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 20:16:22 +0000 (0:00:00.042) 0:01:27.360 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 20:16:22 +0000 (0:00:00.038) 0:01:27.398 ******* included: /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 20:16:22 +0000 (0:00:00.043) 0:01:27.442 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 20:16:22 +0000 (0:00:00.027) 0:01:27.470 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 20:16:22 +0000 (0:00:00.021) 0:01:27.491 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 20:16:22 +0000 (0:00:00.022) 0:01:27.513 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 20:16:24 +0000 (0:00:02.150) 0:01:29.664 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 20:16:25 +0000 (0:00:00.902) 0:01:30.566 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 20:16:25 +0000 (0:00:00.023) 0:01:30.590 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 20:16:25 +0000 (0:00:00.022) 0:01:30.613 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 20:16:25 +0000 (0:00:00.023) 0:01:30.636 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 20:16:25 +0000 (0:00:00.073) 0:01:30.710 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 20:16:25 +0000 (0:00:00.023) 0:01:30.733 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 20:16:25 +0000 (0:00:00.026) 0:01:30.760 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 20:16:25 +0000 (0:00:00.027) 0:01:30.787 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 20:16:26 +0000 (0:00:00.556) 0:01:31.344 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 20:16:26 +0000 (0:00:00.026) 0:01:31.370 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 20:16:26 +0000 (0:00:00.021) 0:01:31.392 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 20:16:26 +0000 (0:00:00.021) 0:01:31.414 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 20:16:26 +0000 (0:00:00.377) 0:01:31.791 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 20:16:26 +0000 (0:00:00.022) 0:01:31.814 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 20:16:26 +0000 (0:00:00.023) 0:01:31.838 ******* 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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 20:16:26 +0000 (0:00:00.025) 0:01:31.863 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 20:16:26 +0000 (0:00:00.024) 0:01:31.888 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 20:16:26 +0000 (0:00:00.204) 0:01:32.093 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 20:16:27 +0000 (0:00:00.046) 0:01:32.139 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 20:16:27 +0000 (0:00:00.038) 0:01:32.178 ******* 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 20:16:27 +0000 (0:00:00.022) 0:01:32.201 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 20:16:27 +0000 (0:00:00.209) 0:01:32.410 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 20:16:27 +0000 (0:00:00.021) 0:01:32.432 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020092", "end": "2024-01-09 20:16:27.511415", "rc": 1, "start": "2024-01-09 20:16:27.491323" } 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_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 20:16:27 +0000 (0:00:00.229) 0:01:32.661 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 20:16:27 +0000 (0:00:00.023) 0:01:32.685 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 20:16:27 +0000 (0:00:00.021) 0:01:32.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 20:16:27 +0000 (0:00:00.022) 0:01:32.729 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 20:16:27 +0000 (0:00:00.022) 0:01:32.752 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 20:16:27 +0000 (0:00:00.021) 0:01:32.774 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 20:16:27 +0000 (0:00:00.049) 0:01:32.824 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.353898", "end": "2024-01-09 20:16:28.239779", "rc": 0, "start": "2024-01-09 20:16:27.885881" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 20:16:28 +0000 (0:00:00.568) 0:01:33.392 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 20:16:28 +0000 (0:00:00.026) 0:01:33.418 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 20:16:28 +0000 (0:00:00.024) 0:01:33.443 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 20:16:28 +0000 (0:00:00.049) 0:01:33.492 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 20:16:28 +0000 (0:00:00.041) 0:01:33.533 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 20:16:28 +0000 (0:00:00.209) 0:01:33.743 ******* 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_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 20:16:28 +0000 (0:00:00.026) 0:01:33.770 ******* 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_typen6cwcb0x/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 20:16:28 +0000 (0:00:00.024) 0:01:33.794 ******* included: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typen6cwcb0x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 20:16:28 +0000 (0:00:00.042) 0:01:33.836 ******* 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.039118", "end": "2024-01-09 20:16:28.935599", "rc": 1, "start": "2024-01-09 20:16:28.896481" } 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 Tuesday 09 January 2024 20:16:28 +0000 (0:00:00.262) 0:01:34.099 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 3.10s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 3.06s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 2.35s /WORKDIR/git-route_typen6cwcb0x/tests/tests_states_nm.yml:6 ------------------- linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.25s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.23s /WORKDIR/git-route_typen6cwcb0x/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_typen6cwcb0x/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_typen6cwcb0x/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_typen6cwcb0x/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_typen6cwcb0x/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_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.16s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.16s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.16s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.15s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.68s /WORKDIR/git-route_typen6cwcb0x/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---