# 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_type7sf6t1a3/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 19:54:25 +0000 (0:00:00.013) 0:00:00.013 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 19:54:25 +0000 (0:00:00.699) 0:00:00.712 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 19:54:25 +0000 (0:00:00.050) 0:00:00.763 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.422) 0:00:01.185 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.287) 0:00:01.473 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.026) 0:00:01.500 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.022) 0:00:01.522 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.041) 0:00:01.564 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.022) 0:00:01.587 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.021) 0:00:01.608 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.017) 0:00:01.626 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.011) 0:00:01.638 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.048) 0:00:01.687 ******* 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_type7sf6t1a3/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 19:54:26 +0000 (0:00:00.024) 0:00:01.712 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.544) 0:00:02.256 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.023) 0:00:02.280 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.102) 0:00:02.382 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.029) 0:00:02.412 ******* 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_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.039) 0:00:02.451 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.018) 0:00:02.470 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.015) 0:00:02.486 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002927", "end": "2024-01-09 19:54:27.877495", "rc": 0, "start": "2024-01-09 19:54:27.874568" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.292) 0:00:02.778 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.013) 0:00:02.792 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.025) 0:00:02.817 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:54:27 +0000 (0:00:00.033) 0:00:02.851 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007349", "end": "2024-01-09 19:54:28.181286", "rc": 1, "start": "2024-01-09 19:54:28.173937" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.200) 0:00:03.051 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.033) 0:00:03.085 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.230) 0:00:03.316 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.013) 0:00:03.329 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.019) 0:00:03.349 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.053) 0:00:03.403 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.077) 0:00:03.481 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.011) 0:00:03.492 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.015) 0:00:03.507 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:28 +0000 (0:00:00.019) 0:00:03.527 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:30 +0000 (0:00:01.430) 0:00:04.957 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:31 +0000 (0:00:01.027) 0:00:05.985 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:31 +0000 (0:00:00.047) 0:00:06.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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:31 +0000 (0:00:00.026) 0:00:06.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:31 +0000 (0:00:00.030) 0:00:06.089 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:31 +0000 (0:00:00.077) 0:00:06.167 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:31 +0000 (0:00:00.035) 0:00:06.203 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:31 +0000 (0:00:00.037) 0:00:06.241 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:31 +0000 (0:00:00.077) 0:00:06.318 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:32 +0000 (0:00:00.726) 0:00:07.044 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:32 +0000 (0:00:00.050) 0:00:07.095 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:32 +0000 (0:00:00.032) 0:00:07.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:32 +0000 (0:00:00.047) 0:00:07.175 ******* 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, 35a72413-7060-4bb3-9299-7299e938f9bf TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:32 +0000 (0:00:00.656) 0:00:07.832 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.048) 0:00:07.880 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35a72413-7060-4bb3-9299-7299e938f9bf" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.049) 0:00:07.930 ******* 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, 35a72413-7060-4bb3-9299-7299e938f9bf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35a72413-7060-4bb3-9299-7299e938f9bf" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.069) 0:00:08.000 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.030) 0:00:08.030 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.337) 0:00:08.368 ******* 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, 35a72413-7060-4bb3-9299-7299e938f9bf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 35a72413-7060-4bb3-9299-7299e938f9bf" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.058) 0:00:08.426 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.073) 0:00:08.499 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.043) 0:00:08.543 ******* 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.066) 0:00:08.609 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:54:33 +0000 (0:00:00.208) 0:00:08.818 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.048) 0:00:08.866 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021876", "end": "2024-01-09 19:54:34.244746", "rc": 0, "start": "2024-01-09 19:54:34.222870" } 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.292) 0:00:09.158 ******* 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.040) 0:00:09.199 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.049) 0:00:09.248 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.034) 0:00:09.283 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.046) 0:00:09.329 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.049) 0:00:09.379 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.040) 0:00:09.419 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.050) 0:00:09.470 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.049) 0:00:09.520 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.114) 0:00:09.634 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:54:34 +0000 (0:00:00.045) 0:00:09.680 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830072.7754343, "block_size": 4096, "blocks": 0, "ctime": 1704830072.7754343, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31043, "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": 1704830072.7754343, "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_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.207) 0:00:09.888 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.032) 0:00:09.920 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.028) 0:00:09.948 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.050) 0:00:09.998 ******* 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.070622", "end": "2024-01-09 19:54:35.407726", "rc": 1, "start": "2024-01-09 19:54:35.337104" } STDOUT: Connection 'statebr' (35a72413-7060-4bb3-9299-7299e938f9bf) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.303) 0:00:10.302 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.048) 0:00:10.351 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.034) 0:00:10.385 ******* 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_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.097) 0:00:10.482 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.059) 0:00:10.542 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:54:35 +0000 (0:00:00.123) 0:00:10.666 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003167", "end": "2024-01-09 19:54:36.001697", "rc": 0, "start": "2024-01-09 19:54:35.998530" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.220) 0:00:10.886 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.038) 0:00:10.925 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.022) 0:00:10.948 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.047) 0:00:10.996 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005535", "end": "2024-01-09 19:54:36.327723", "rc": 1, "start": "2024-01-09 19:54:36.322188" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.227) 0:00:11.224 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.087) 0:00:11.311 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.210) 0:00:11.521 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.033) 0:00:11.555 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.043) 0:00:11.598 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.054) 0:00:11.653 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.100) 0:00:11.754 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:36 +0000 (0:00:00.051) 0:00:11.805 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.050) 0:00:11.855 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:37 +0000 (0:00:00.029) 0:00:11.885 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:38 +0000 (0:00:01.447) 0:00:13.332 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:39 +0000 (0:00:01.075) 0:00:14.407 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.063) 0:00:14.471 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.025) 0:00:14.497 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.074) 0:00:14.571 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.074) 0:00:14.646 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.053) 0:00:14.699 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.037) 0:00:14.737 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:39 +0000 (0:00:00.042) 0:00:14.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.422) 0:00:15.202 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.033) 0:00:15.235 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.078) 0:00:15.314 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:40 +0000 (0:00:00.045) 0:00:15.360 ******* 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, d073b8fd-394f-48ba-8a14-cb34efa2f582 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.522) 0:00:15.882 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.031) 0:00:15.914 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d073b8fd-394f-48ba-8a14-cb34efa2f582" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.029) 0:00:15.943 ******* 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, d073b8fd-394f-48ba-8a14-cb34efa2f582\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d073b8fd-394f-48ba-8a14-cb34efa2f582" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.034) 0:00:15.977 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.047) 0:00:16.025 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.194) 0:00:16.219 ******* 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, d073b8fd-394f-48ba-8a14-cb34efa2f582\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d073b8fd-394f-48ba-8a14-cb34efa2f582" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.024) 0:00:16.243 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.071) 0:00:16.314 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.092) 0:00:16.407 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.241) 0:00:16.649 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.037) 0:00:16.686 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:54:41 +0000 (0:00:00.104) 0:00:16.791 ******* 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.079) 0:00:16.871 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.239) 0:00:17.111 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.057) 0:00:17.168 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021142", "end": "2024-01-09 19:54:42.520682", "rc": 0, "start": "2024-01-09 19:54:42.499540" } 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.265) 0:00:17.433 ******* 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.040) 0:00:17.474 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.048) 0:00:17.522 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.083) 0:00:17.606 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.077) 0:00:17.684 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.058) 0:00:17.743 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:54:42 +0000 (0:00:00.070) 0:00:17.813 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.099) 0:00:17.912 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.071) 0:00:17.984 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.065) 0:00:18.049 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.045) 0:00:18.095 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.079) 0:00:18.174 ******* 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.040231", "end": "2024-01-09 19:54:43.584017", "rc": 1, "start": "2024-01-09 19:54:43.543786" } STDOUT: Connection 'statebr' (d073b8fd-394f-48ba-8a14-cb34efa2f582) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.318) 0:00:18.493 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.076) 0:00:18.570 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.035) 0:00:18.605 ******* 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_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.081) 0:00:18.687 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.039) 0:00:18.726 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:54:43 +0000 (0:00:00.035) 0:00:18.762 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003116", "end": "2024-01-09 19:54:44.078278", "rc": 0, "start": "2024-01-09 19:54:44.075162" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.206) 0:00:18.968 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.037) 0:00:19.006 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.042) 0:00:19.049 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.137) 0:00:19.186 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.037) 0:00:19.224 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.041) 0:00:19.266 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.033) 0:00:19.300 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.021) 0:00:19.321 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:44 +0000 (0:00:00.021) 0:00:19.342 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:45 +0000 (0:00:01.363) 0:00:20.706 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:46 +0000 (0:00:01.044) 0:00:21.751 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.040) 0:00:21.792 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:46 +0000 (0:00:00.037) 0:00:21.829 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.044) 0:00:21.874 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.056) 0:00:21.930 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.048) 0:00:21.979 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.030) 0:00:22.009 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.064) 0:00:22.074 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.464) 0:00:22.538 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.056) 0:00:22.594 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.056) 0:00:22.651 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:47 +0000 (0:00:00.058) 0:00:22.709 ******* 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, f9d587d5-bb86-4771-a79f-ba4226e2f003 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.471) 0:00:23.181 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.096) 0:00:23.277 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f9d587d5-bb86-4771-a79f-ba4226e2f003" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.050) 0:00:23.328 ******* 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, f9d587d5-bb86-4771-a79f-ba4226e2f003\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f9d587d5-bb86-4771-a79f-ba4226e2f003" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.043) 0:00:23.371 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.062) 0:00:23.434 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.229) 0:00:23.663 ******* 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, f9d587d5-bb86-4771-a79f-ba4226e2f003\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f9d587d5-bb86-4771-a79f-ba4226e2f003" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.035) 0:00:23.699 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.089) 0:00:23.788 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:48 +0000 (0:00:00.050) 0:00:23.838 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.066) 0:00:23.904 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.027) 0:00:23.932 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.120) 0:00:24.053 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:49 +0000 (0:00:00.053) 0:00:24.106 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:50 +0000 (0:00:01.419) 0:00:25.525 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:51 +0000 (0:00:01.175) 0:00:26.701 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.076) 0:00:26.777 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:51 +0000 (0:00:00.051) 0:00:26.829 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.111) 0:00:26.941 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.108) 0:00:27.050 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.058) 0:00:27.108 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.036) 0:00:27.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.032) 0:00:27.177 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.398) 0:00:27.576 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.040) 0:00:27.616 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.026) 0:00:27.642 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:52 +0000 (0:00:00.030) 0:00:27.673 ******* 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, f9d587d5-bb86-4771-a79f-ba4226e2f003 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.389) 0:00:28.062 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.040) 0:00:28.103 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f9d587d5-bb86-4771-a79f-ba4226e2f003 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.024) 0:00:28.127 ******* 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, f9d587d5-bb86-4771-a79f-ba4226e2f003 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f9d587d5-bb86-4771-a79f-ba4226e2f003 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.075) 0:00:28.202 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.047) 0:00:28.250 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.300) 0:00:28.550 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.089) 0:00:28.640 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:54:53 +0000 (0:00:00.052) 0:00:28.692 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830088.2127314, "block_size": 4096, "blocks": 0, "ctime": 1704830088.2127314, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31174, "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": 1704830088.2127314, "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_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.221) 0:00:28.914 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.029) 0:00:28.944 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.040) 0:00:28.984 ******* 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.024) 0:00:29.009 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.244) 0:00:29.253 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.063) 0:00:29.316 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021670", "end": "2024-01-09 19:54:54.678731", "rc": 0, "start": "2024-01-09 19:54:54.657061" } 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.253) 0:00:29.570 ******* 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.031) 0:00:29.602 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.054) 0:00:29.656 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.055) 0:00:29.711 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.024) 0:00:29.736 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.023) 0:00:29.760 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.036) 0:00:29.797 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.025) 0:00:29.822 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:54:54 +0000 (0:00:00.023) 0:00:29.846 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.021) 0:00:29.867 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.023) 0:00:29.891 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.047) 0:00:29.939 ******* 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.063174", "end": "2024-01-09 19:54:55.318719", "rc": 1, "start": "2024-01-09 19:54:55.255545" } STDOUT: Connection 'statebr' (f9d587d5-bb86-4771-a79f-ba4226e2f003) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.282) 0:00:30.221 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.057) 0:00:30.278 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.024) 0:00:30.303 ******* 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_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.053) 0:00:30.356 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.066) 0:00:30.422 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.036) 0:00:30.459 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002997", "end": "2024-01-09 19:54:55.772559", "rc": 0, "start": "2024-01-09 19:54:55.769562" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.193) 0:00:30.652 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.025) 0:00:30.677 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.021) 0:00:30.699 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.040) 0:00:30.739 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.037) 0:00:30.777 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:54:55 +0000 (0:00:00.043) 0:00:30.820 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.036) 0:00:30.857 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.022) 0:00:30.879 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:54:56 +0000 (0:00:00.023) 0:00:30.903 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:54:57 +0000 (0:00:01.404) 0:00:32.307 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:54:58 +0000 (0:00:01.085) 0:00:33.393 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.066) 0:00:33.459 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.048) 0:00:33.508 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.068) 0:00:33.577 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.104) 0:00:33.681 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.053) 0:00:33.735 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:54:58 +0000 (0:00:00.044) 0:00:33.780 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.081) 0:00:33.861 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.471) 0:00:34.333 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.085) 0:00:34.418 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.050) 0:00:34.469 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:54:59 +0000 (0:00:00.044) 0:00:34.513 ******* 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, be2689f4-d6e5-4b86-876b-54ba64b853cf TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.441) 0:00:34.955 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.096) 0:00:35.051 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be2689f4-d6e5-4b86-876b-54ba64b853cf" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.134) 0:00:35.186 ******* 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, be2689f4-d6e5-4b86-876b-54ba64b853cf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be2689f4-d6e5-4b86-876b-54ba64b853cf" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.064) 0:00:35.251 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.094) 0:00:35.345 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.222) 0:00:35.567 ******* 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, be2689f4-d6e5-4b86-876b-54ba64b853cf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, be2689f4-d6e5-4b86-876b-54ba64b853cf" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.037) 0:00:35.605 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.048) 0:00:35.654 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.053) 0:00:35.707 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.036) 0:00:35.744 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.031) 0:00:35.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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:00 +0000 (0:00:00.037) 0:00:35.813 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:02 +0000 (0:00:01.554) 0:00:37.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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:03 +0000 (0:00:01.015) 0:00:38.383 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.025) 0:00:38.409 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.039) 0:00:38.448 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.024) 0:00:38.473 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.075) 0:00:38.549 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.032) 0:00:38.582 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.054) 0:00:38.637 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:03 +0000 (0:00:00.031) 0:00:38.668 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.407) 0:00:39.075 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.066) 0:00:39.142 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.028) 0:00:39.170 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.054) 0:00:39.224 ******* 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, be2689f4-d6e5-4b86-876b-54ba64b853cf skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.401) 0:00:39.625 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.034) 0:00:39.660 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, be2689f4-d6e5-4b86-876b-54ba64b853cf skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.048) 0:00:39.709 ******* 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, be2689f4-d6e5-4b86-876b-54ba64b853cf skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, be2689f4-d6e5-4b86-876b-54ba64b853cf skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.043) 0:00:39.752 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:04 +0000 (0:00:00.042) 0:00:39.795 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.294) 0:00:40.090 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.047) 0:00:40.138 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.067) 0:00:40.205 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.072) 0:00:40.278 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.029) 0:00:40.307 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.054) 0:00:40.362 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:05 +0000 (0:00:00.023) 0:00:40.385 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:06 +0000 (0:00:01.437) 0:00:41.823 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:07 +0000 (0:00:01.002) 0:00:42.825 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.069) 0:00:42.894 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.027) 0:00:42.922 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.044) 0:00:42.966 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.088) 0:00:43.055 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.036) 0:00:43.091 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.034) 0:00:43.126 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.066) 0:00:43.192 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.404) 0:00:43.596 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.027) 0:00:43.623 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.031) 0:00:43.654 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:08 +0000 (0:00:00.043) 0:00:43.698 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.395) 0:00:44.093 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.023) 0:00:44.117 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.037) 0:00:44.154 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.033) 0:00:44.188 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.023) 0:00:44.212 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.211) 0:00:44.423 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.051) 0:00:44.475 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.061) 0:00:44.536 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704830099.9858022, "block_size": 4096, "blocks": 0, "ctime": 1704830099.9858022, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31305, "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": 1704830099.9858022, "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_type7sf6t1a3/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:55:09 +0000 (0:00:00.236) 0:00:44.772 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.131) 0:00:44.904 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.053) 0:00:44.957 ******* 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.040) 0:00:44.997 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.224) 0:00:45.222 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.030) 0:00:45.253 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020947", "end": "2024-01-09 19:55:10.634277", "rc": 1, "start": "2024-01-09 19:55:10.613330" } 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.279) 0:00:45.532 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.045) 0:00:45.578 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.026) 0:00:45.604 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.058) 0:00:45.663 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.033) 0:00:45.696 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.026) 0:00:45.723 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.070) 0:00:45.793 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:55:10 +0000 (0:00:00.041) 0:00:45.834 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.053) 0:00:45.888 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.081) 0:00:45.969 ******* 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.077858", "end": "2024-01-09 19:55:11.379599", "rc": 1, "start": "2024-01-09 19:55:11.301741" } STDOUT: Connection 'statebr' (be2689f4-d6e5-4b86-876b-54ba64b853cf) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.305) 0:00:46.275 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.056) 0:00:46.332 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.024) 0:00:46.356 ******* 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_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.106) 0:00:46.462 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.049) 0:00:46.512 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.066) 0:00:46.578 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003104", "end": "2024-01-09 19:55:11.942047", "rc": 0, "start": "2024-01-09 19:55:11.938943" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:55:11 +0000 (0:00:00.254) 0:00:46.832 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.024) 0:00:46.857 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.026) 0:00:46.884 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.046) 0:00:46.930 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.070) 0:00:47.001 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.080) 0:00:47.082 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.053) 0:00:47.135 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.054) 0:00:47.189 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:12 +0000 (0:00:00.055) 0:00:47.245 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:13 +0000 (0:00:01.503) 0:00:48.749 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:15 +0000 (0:00:01.104) 0:00:49.853 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.059) 0:00:49.913 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.054) 0:00:49.967 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.050) 0:00:50.017 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.098) 0:00:50.116 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.044) 0:00:50.160 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.068) 0:00:50.229 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.040) 0:00:50.269 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.438) 0:00:50.708 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.058) 0:00:50.766 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.041) 0:00:50.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:15 +0000 (0:00:00.037) 0:00:50.845 ******* 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, 98b83c32-8989-4247-8938-89ad7b80d078 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.465) 0:00:51.311 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.023) 0:00:51.334 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98b83c32-8989-4247-8938-89ad7b80d078" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.026) 0:00:51.361 ******* 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, 98b83c32-8989-4247-8938-89ad7b80d078\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98b83c32-8989-4247-8938-89ad7b80d078" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.049) 0:00:51.410 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.062) 0:00:51.473 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.280) 0:00:51.753 ******* 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, 98b83c32-8989-4247-8938-89ad7b80d078\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98b83c32-8989-4247-8938-89ad7b80d078" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.029) 0:00:51.782 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:16 +0000 (0:00:00.057) 0:00:51.840 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:17 +0000 (0:00:00.087) 0:00:51.927 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:17 +0000 (0:00:00.036) 0:00:51.964 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:17 +0000 (0:00:00.034) 0:00:51.998 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:17 +0000 (0:00:00.038) 0:00:52.037 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:18 +0000 (0:00:01.434) 0:00:53.471 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.910) 0:00:54.382 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.037) 0:00:54.419 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.025) 0:00:54.445 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.033) 0:00:54.478 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.170) 0:00:54.649 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.024) 0:00:54.674 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.034) 0:00:54.708 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:19 +0000 (0:00:00.050) 0:00:54.758 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.354) 0:00:55.113 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.028) 0:00:55.141 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.025) 0:00:55.167 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.033) 0:00:55.200 ******* 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, 98b83c32-8989-4247-8938-89ad7b80d078 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.351) 0:00:55.552 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.023) 0:00:55.576 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 98b83c32-8989-4247-8938-89ad7b80d078 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.032) 0:00:55.608 ******* 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, 98b83c32-8989-4247-8938-89ad7b80d078 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 98b83c32-8989-4247-8938-89ad7b80d078 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.025) 0:00:55.634 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.023) 0:00:55.657 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:55:20 +0000 (0:00:00.188) 0:00:55.846 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.091) 0:00:55.937 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.083) 0:00:56.020 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.047) 0:00:56.067 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.023) 0:00:56.090 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:21 +0000 (0:00:00.024) 0:00:56.115 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:22 +0000 (0:00:01.468) 0:00:57.583 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:23 +0000 (0:00:01.028) 0:00:58.612 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.033) 0:00:58.645 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.035) 0:00:58.681 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.090) 0:00:58.771 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.048) 0:00:58.819 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:23 +0000 (0:00:00.030) 0:00:58.849 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.039) 0:00:58.889 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.041) 0:00:58.930 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.382) 0:00:59.313 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.067) 0:00:59.381 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.059) 0:00:59.441 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:24 +0000 (0:00:00.037) 0:00:59.478 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.438) 0:00:59.916 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.042) 0:00:59.959 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.025) 0:00:59.985 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.030) 0:01:00.016 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.021) 0:01:00.038 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.222) 0:01:00.260 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.089) 0:01:00.350 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.053) 0:01:00.403 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.040) 0:01:00.444 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.028) 0:01:00.472 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.023) 0:01:00.496 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:25 +0000 (0:00:00.025) 0:01:00.521 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:27 +0000 (0:00:01.400) 0:01:01.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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:28 +0000 (0:00:01.006) 0:01:02.929 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.096) 0:01:03.026 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.102) 0:01:03.128 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.054) 0:01:03.183 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.101) 0:01:03.284 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.083) 0:01:03.368 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.056) 0:01:03.425 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:28 +0000 (0:00:00.072) 0:01:03.497 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.390) 0:01:03.888 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.042) 0:01:03.930 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.026) 0:01:03.956 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.023) 0:01:03.979 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.469) 0:01:04.449 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.049) 0:01:04.498 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.024) 0:01:04.523 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.034) 0:01:04.557 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.021) 0:01:04.578 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.204) 0:01:04.783 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:55:29 +0000 (0:00:00.044) 0:01:04.827 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.040) 0:01:04.867 ******* 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.023) 0:01:04.891 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.204) 0:01:05.096 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.032) 0:01:05.129 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019954", "end": "2024-01-09 19:55:30.481880", "rc": 1, "start": "2024-01-09 19:55:30.461926" } 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.234) 0:01:05.363 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.025) 0:01:05.388 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.040) 0:01:05.429 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.037) 0:01:05.466 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.037) 0:01:05.503 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.027) 0:01:05.531 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.037) 0:01:05.568 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.102) 0:01:05.671 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:55:30 +0000 (0:00:00.063) 0:01:05.734 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.217) 0:01:05.951 ******* 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_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.032) 0:01:05.984 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.037) 0:01:06.021 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.059) 0:01:06.081 ******* 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.040016", "end": "2024-01-09 19:55:31.436630", "rc": 1, "start": "2024-01-09 19:55:31.396614" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.235) 0:01:06.316 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.037) 0:01:06.353 ******* 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_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.023) 0:01:06.377 ******* 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_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.046) 0:01:06.424 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.036) 0:01:06.461 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.072) 0:01:06.533 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003214", "end": "2024-01-09 19:55:31.877002", "rc": 0, "start": "2024-01-09 19:55:31.873788" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.253) 0:01:06.786 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:55:31 +0000 (0:00:00.033) 0:01:06.820 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.040) 0:01:06.860 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.069) 0:01:06.930 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.042) 0:01:06.972 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.076) 0:01:07.048 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.039) 0:01:07.087 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.037) 0:01:07.125 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:32 +0000 (0:00:00.042) 0:01:07.168 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:33 +0000 (0:00:01.457) 0:01:08.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.938) 0:01:09.564 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.048) 0:01:09.613 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.026) 0:01:09.639 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.046) 0:01:09.685 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.066) 0:01:09.752 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:34 +0000 (0:00:00.039) 0:01:09.792 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.060) 0:01:09.852 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.033) 0:01:09.885 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.374) 0:01:10.260 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.042) 0:01:10.303 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.098) 0:01:10.401 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.022) 0:01:10.424 ******* 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, c5cacb20-2636-4e34-b264-a13fc09611ac TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.390) 0:01:10.814 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:35 +0000 (0:00:00.021) 0:01:10.836 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5cacb20-2636-4e34-b264-a13fc09611ac" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.026) 0:01:10.862 ******* 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, c5cacb20-2636-4e34-b264-a13fc09611ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5cacb20-2636-4e34-b264-a13fc09611ac" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.032) 0:01:10.894 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.025) 0:01:10.919 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.190) 0:01:11.110 ******* 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, c5cacb20-2636-4e34-b264-a13fc09611ac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c5cacb20-2636-4e34-b264-a13fc09611ac" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.051) 0:01:11.161 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.082) 0:01:11.244 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.061) 0:01:11.305 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.056) 0:01:11.362 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.029) 0:01:11.391 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:36 +0000 (0:00:00.033) 0:01:11.425 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:38 +0000 (0:00:01.439) 0:01:12.864 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:38 +0000 (0:00:00.916) 0:01:13.781 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:38 +0000 (0:00:00.038) 0:01:13.819 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.035) 0:01:13.855 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.033) 0:01:13.888 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.079) 0:01:13.967 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.024) 0:01:13.992 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.054) 0:01:14.046 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.025) 0:01:14.072 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.353) 0:01:14.426 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.031) 0:01:14.458 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.023) 0:01:14.481 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:39 +0000 (0:00:00.024) 0:01:14.506 ******* 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, c5cacb20-2636-4e34-b264-a13fc09611ac skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:40 +0000 (0:00:00.368) 0:01:14.874 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:40 +0000 (0:00:00.027) 0:01:14.902 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c5cacb20-2636-4e34-b264-a13fc09611ac skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:40 +0000 (0:00:00.036) 0:01:14.938 ******* 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, c5cacb20-2636-4e34-b264-a13fc09611ac skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c5cacb20-2636-4e34-b264-a13fc09611ac skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:40 +0000 (0:00:00.048) 0:01:14.987 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:40 +0000 (0:00:00.027) 0:01:15.014 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:55:40 +0000 (0:00:00.221) 0:01:15.235 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:40 +0000 (0:00:00.053) 0:01:15.289 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:40 +0000 (0:00:00.094) 0:01:15.383 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:40 +0000 (0:00:00.039) 0:01:15.422 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:40 +0000 (0:00:00.058) 0:01:15.480 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:40 +0000 (0:00:00.023) 0:01:15.504 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:42 +0000 (0:00:01.405) 0:01:16.909 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:42 +0000 (0:00:00.905) 0:01:17.814 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:42 +0000 (0:00:00.025) 0:01:17.840 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.027) 0:01:17.867 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.043) 0:01:17.911 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.051) 0:01:17.962 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.059) 0:01:18.022 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.026) 0:01:18.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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.033) 0:01:18.082 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.405) 0:01:18.488 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.051) 0:01:18.540 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.027) 0:01:18.568 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:43 +0000 (0:00:00.036) 0:01:18.604 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.471) 0:01:19.076 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.029) 0:01:19.106 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.025) 0:01:19.132 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.024) 0:01:19.156 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.022) 0:01:19.178 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.216) 0:01:19.394 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.092) 0:01:19.486 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.091) 0:01:19.578 ******* included: /WORKDIR/git-route_type7sf6t1a3/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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.062) 0:01:19.641 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.063) 0:01:19.704 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.023) 0:01:19.727 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:55:44 +0000 (0:00:00.023) 0:01:19.751 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:55:46 +0000 (0:00:01.398) 0:01:21.149 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:55:47 +0000 (0:00:00.924) 0:01:22.074 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:55:47 +0000 (0:00:00.068) 0:01:22.142 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:55:47 +0000 (0:00:00.032) 0:01:22.175 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:55:47 +0000 (0:00:00.050) 0:01:22.225 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:55:47 +0000 (0:00:00.124) 0:01:22.350 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:55:47 +0000 (0:00:00.025) 0:01:22.375 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:55:47 +0000 (0:00:00.039) 0:01:22.415 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:55:47 +0000 (0:00:00.031) 0:01:22.446 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:55:47 +0000 (0:00:00.379) 0:01:22.826 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:55:48 +0000 (0:00:00.029) 0:01:22.855 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:55:48 +0000 (0:00:00.025) 0:01:22.881 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:55:48 +0000 (0:00:00.032) 0:01:22.914 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:55:48 +0000 (0:00:00.389) 0:01:23.303 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:55:48 +0000 (0:00:00.023) 0:01:23.327 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:55:48 +0000 (0:00:00.045) 0:01:23.372 ******* 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_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:55:48 +0000 (0:00:00.053) 0:01:23.426 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:55:48 +0000 (0:00:00.078) 0:01:23.504 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:55:48 +0000 (0:00:00.186) 0:01:23.691 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:55:48 +0000 (0:00:00.062) 0:01:23.753 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:55:48 +0000 (0:00:00.056) 0:01:23.810 ******* 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:55:48 +0000 (0:00:00.028) 0:01:23.838 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:55:49 +0000 (0:00:00.231) 0:01:24.070 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:55:49 +0000 (0:00:00.026) 0:01:24.097 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020180", "end": "2024-01-09 19:55:49.433247", "rc": 1, "start": "2024-01-09 19:55:49.413067" } 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_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:55:49 +0000 (0:00:00.216) 0:01:24.313 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:55:49 +0000 (0:00:00.035) 0:01:24.349 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:55:49 +0000 (0:00:00.045) 0:01:24.395 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:55:49 +0000 (0:00:00.049) 0:01:24.444 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:55:49 +0000 (0:00:00.054) 0:01:24.498 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:55:49 +0000 (0:00:00.026) 0:01:24.524 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 19:55:49 +0000 (0:00:00.071) 0:01:24.595 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.554136", "end": "2024-01-09 19:55:50.467358", "rc": 0, "start": "2024-01-09 19:55:49.913222" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 19:55:50 +0000 (0:00:00.802) 0:01:25.398 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 19:55:50 +0000 (0:00:00.024) 0:01:25.422 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:55:50 +0000 (0:00:00.065) 0:01:25.488 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:55:50 +0000 (0:00:00.063) 0:01:25.552 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:55:50 +0000 (0:00:00.132) 0:01:25.684 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:55:51 +0000 (0:00:00.319) 0:01:26.003 ******* 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_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:55:51 +0000 (0:00:00.087) 0:01:26.090 ******* 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_type7sf6t1a3/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:55:51 +0000 (0:00:00.052) 0:01:26.142 ******* included: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type7sf6t1a3/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:55:51 +0000 (0:00:00.087) 0:01:26.230 ******* 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.039191", "end": "2024-01-09 19:55:51.618735", "rc": 1, "start": "2024-01-09 19:55:51.579544" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): '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 19:55:51 +0000 (0:00:00.271) 0:01:26.501 ******* =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 2.48s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 2.43s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.51s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.51s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.33s /WORKDIR/git-route_type7sf6t1a3/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---