# 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_typejyz094n8/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/tests_states_nm.yml:6 Tuesday 09 January 2024 19:41:02 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_typejyz094n8/tests/tests_states_nm.yml:9 Tuesday 09 January 2024 19:41:04 +0000 (0:00:02.571) 0:00:02.583 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/tasks/el_repo_setup.yml:3 Tuesday 09 January 2024 19:41:04 +0000 (0:00:00.021) 0:00:02.604 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/tasks/el_repo_setup.yml:19 Tuesday 09 January 2024 19:41:05 +0000 (0:00:00.551) 0:00:03.156 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_typejyz094n8/tests/tasks/el_repo_setup.yml:24 Tuesday 09 January 2024 19:41:05 +0000 (0:00:00.278) 0:00:03.434 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/tasks/el_repo_setup.yml:28 Tuesday 09 January 2024 19:41:05 +0000 (0:00:00.020) 0:00:03.454 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/tasks/el_repo_setup.yml:53 Tuesday 09 January 2024 19:41:05 +0000 (0:00:00.017) 0:00:03.471 ******* included: /WORKDIR/git-route_typejyz094n8/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/tasks/enable_epel.yml:8 Tuesday 09 January 2024 19:41:05 +0000 (0:00:00.030) 0:00:03.502 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/tasks/enable_epel.yml:24 Tuesday 09 January 2024 19:41:05 +0000 (0:00:00.008) 0:00:03.511 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/tasks/enable_epel.yml:30 Tuesday 09 January 2024 19:41:05 +0000 (0:00:00.008) 0:00:03.519 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/tasks/enable_epel.yml:35 Tuesday 09 January 2024 19:41:05 +0000 (0:00:00.008) 0:00:03.527 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/tasks/enable_epel.yml:40 Tuesday 09 January 2024 19:41:05 +0000 (0:00:00.008) 0:00:03.535 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/tests_states_nm.yml:11 Tuesday 09 January 2024 19:41:05 +0000 (0:00:00.008) 0:00:03.543 ******* 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_typejyz094n8/tests/playbooks/tests_states.yml:3 Tuesday 09 January 2024 19:41:05 +0000 (0:00:00.009) 0:00:03.553 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tests_states.yml:11 Tuesday 09 January 2024 19:41:06 +0000 (0:00:00.815) 0:00:04.369 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tests_states.yml:22 Tuesday 09 January 2024 19:41:06 +0000 (0:00:00.009) 0:00:04.379 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:41:06 +0000 (0:00:00.015) 0:00:04.394 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:41:06 +0000 (0:00:00.010) 0:00:04.405 ******* 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_typejyz094n8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:41:06 +0000 (0:00:00.031) 0:00:04.437 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:41:06 +0000 (0:00:00.014) 0:00:04.451 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:41:06 +0000 (0:00:00.012) 0:00:04.464 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004962", "end": "2024-01-09 19:41:08.087333", "rc": 0, "start": "2024-01-09 19:41:07.082371" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:41:08 +0000 (0:00:01.279) 0:00:05.743 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:41:08 +0000 (0:00:00.011) 0:00:05.755 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:41:08 +0000 (0:00:00.010) 0:00:05.766 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:41:08 +0000 (0:00:00.019) 0:00:05.786 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008571", "end": "2024-01-09 19:41:08.350862", "rc": 1, "start": "2024-01-09 19:41:08.342291" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:41:08 +0000 (0:00:00.219) 0:00:06.005 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:41:08 +0000 (0:00:00.013) 0:00:06.019 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:41:08 +0000 (0:00:00.208) 0:00:06.228 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:41:08 +0000 (0:00:00.011) 0:00:06.239 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:41:08 +0000 (0:00:00.016) 0:00:06.256 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:41:08 +0000 (0:00:00.030) 0:00:06.287 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:41:08 +0000 (0:00:00.066) 0:00:06.354 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:41:08 +0000 (0:00:00.012) 0:00:06.366 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:41:08 +0000 (0:00:00.009) 0:00:06.376 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:41:08 +0000 (0:00:00.009) 0:00:06.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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:41:11 +0000 (0:00:02.420) 0:00:08.806 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:41:12 +0000 (0:00:01.085) 0:00:09.891 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:41:12 +0000 (0:00:00.038) 0:00:09.930 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:41:12 +0000 (0:00:00.021) 0:00:09.951 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:41:12 +0000 (0:00:00.021) 0:00:09.972 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:41:12 +0000 (0:00:00.042) 0:00:10.015 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:41:12 +0000 (0:00:00.020) 0:00:10.035 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:41:12 +0000 (0:00:00.021) 0:00:10.057 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:41:12 +0000 (0:00:00.024) 0:00:10.081 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:41:13 +0000 (0:00:00.734) 0:00:10.815 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:41:13 +0000 (0:00:00.027) 0:00:10.842 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:41:13 +0000 (0:00:00.022) 0:00:10.864 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:41:13 +0000 (0:00:00.021) 0:00:10.886 ******* 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, 4eb77e0c-b27b-4457-b9c9-01b8b3a9e41c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:41:14 +0000 (0:00:01.333) 0:00:12.219 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:41:14 +0000 (0:00:00.022) 0:00:12.242 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4eb77e0c-b27b-4457-b9c9-01b8b3a9e41c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:41:14 +0000 (0:00:00.024) 0:00:12.267 ******* 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, 4eb77e0c-b27b-4457-b9c9-01b8b3a9e41c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4eb77e0c-b27b-4457-b9c9-01b8b3a9e41c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:41:14 +0000 (0:00:00.025) 0:00:12.293 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:41:14 +0000 (0:00:00.022) 0:00:12.315 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:41:14 +0000 (0:00:00.267) 0:00:12.582 ******* 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, 4eb77e0c-b27b-4457-b9c9-01b8b3a9e41c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4eb77e0c-b27b-4457-b9c9-01b8b3a9e41c" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:41:14 +0000 (0:00:00.024) 0:00:12.607 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.041) 0:00:12.649 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.038) 0:00:12.688 ******* 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.022) 0:00:12.710 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.244) 0:00:12.954 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.023) 0:00:12.978 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.189297", "end": "2024-01-09 19:41:15.722459", "rc": 0, "start": "2024-01-09 19:41:15.533162" } 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.412) 0:00:13.390 ******* 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.025) 0:00:13.416 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.023) 0:00:13.440 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.021) 0:00:13.462 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.022) 0:00:13.485 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.022) 0:00:13.508 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.024) 0:00:13.532 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.024) 0:00:13.557 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.023) 0:00:13.581 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:41:15 +0000 (0:00:00.044) 0:00:13.625 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:41:16 +0000 (0:00:00.037) 0:00:13.663 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829274.504652, "block_size": 4096, "blocks": 0, "ctime": 1704829274.504652, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26209, "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": 1704829274.504652, "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_typejyz094n8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:41:16 +0000 (0:00:00.227) 0:00:13.891 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:41:16 +0000 (0:00:00.025) 0:00:13.917 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:41:16 +0000 (0:00:00.024) 0:00:13.942 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:41:16 +0000 (0:00:00.043) 0:00:13.985 ******* 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.069564", "end": "2024-01-09 19:41:16.613431", "rc": 1, "start": "2024-01-09 19:41:16.543867" } STDOUT: Connection 'statebr' (4eb77e0c-b27b-4457-b9c9-01b8b3a9e41c) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tests_states.yml:45 Tuesday 09 January 2024 19:41:16 +0000 (0:00:00.295) 0:00:14.280 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:41:16 +0000 (0:00:00.038) 0:00:14.319 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:41:16 +0000 (0:00:00.023) 0:00:14.343 ******* 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_typejyz094n8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:41:16 +0000 (0:00:00.044) 0:00:14.387 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:41:16 +0000 (0:00:00.036) 0:00:14.424 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:41:16 +0000 (0:00:00.035) 0:00:14.460 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003872", "end": "2024-01-09 19:41:17.023437", "rc": 0, "start": "2024-01-09 19:41:17.019565" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:41:17 +0000 (0:00:00.229) 0:00:14.689 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:41:17 +0000 (0:00:00.023) 0:00:14.713 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:41:17 +0000 (0:00:00.022) 0:00:14.736 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 09 January 2024 19:41:17 +0000 (0:00:00.041) 0:00:14.778 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006927", "end": "2024-01-09 19:41:17.341456", "rc": 1, "start": "2024-01-09 19:41:17.334529" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:41:17 +0000 (0:00:00.229) 0:00:15.008 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:41:17 +0000 (0:00:00.037) 0:00:15.045 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:41:17 +0000 (0:00:00.224) 0:00:15.269 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:41:17 +0000 (0:00:00.024) 0:00:15.294 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 09 January 2024 19:41:17 +0000 (0:00:00.040) 0:00:15.335 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:41:17 +0000 (0:00:00.067) 0:00:15.402 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:41:17 +0000 (0:00:00.042) 0:00:15.445 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:41:17 +0000 (0:00:00.028) 0:00:15.473 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:41:17 +0000 (0:00:00.022) 0:00:15.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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:41:17 +0000 (0:00:00.022) 0:00:15.518 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:41:20 +0000 (0:00:02.397) 0:00:17.916 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:41:21 +0000 (0:00:00.966) 0:00:18.882 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:41:21 +0000 (0:00:00.023) 0:00:18.906 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:41:21 +0000 (0:00:00.022) 0:00:18.929 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:41:21 +0000 (0:00:00.021) 0:00:18.951 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:41:21 +0000 (0:00:00.043) 0:00:18.995 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:41:21 +0000 (0:00:00.021) 0:00:19.016 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:41:21 +0000 (0:00:00.021) 0:00:19.038 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:41:21 +0000 (0:00:00.025) 0:00:19.063 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:41:22 +0000 (0:00:00.597) 0:00:19.661 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:41:22 +0000 (0:00:00.025) 0:00:19.687 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:41:22 +0000 (0:00:00.021) 0:00:19.708 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:41:22 +0000 (0:00:00.021) 0:00:19.730 ******* 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, 92f1e9b3-c5ca-4b07-b980-d7ffb47efd0e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:41:22 +0000 (0:00:00.393) 0:00:20.124 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:41:22 +0000 (0:00:00.022) 0:00:20.147 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 92f1e9b3-c5ca-4b07-b980-d7ffb47efd0e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:41:22 +0000 (0:00:00.023) 0:00:20.170 ******* 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, 92f1e9b3-c5ca-4b07-b980-d7ffb47efd0e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 92f1e9b3-c5ca-4b07-b980-d7ffb47efd0e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:41:22 +0000 (0:00:00.023) 0:00:20.194 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:41:22 +0000 (0:00:00.022) 0:00:20.217 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 09 January 2024 19:41:22 +0000 (0:00:00.218) 0:00:20.435 ******* 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, 92f1e9b3-c5ca-4b07-b980-d7ffb47efd0e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 92f1e9b3-c5ca-4b07-b980-d7ffb47efd0e" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:41:22 +0000 (0:00:00.023) 0:00:20.459 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:41:22 +0000 (0:00:00.043) 0:00:20.502 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:41:22 +0000 (0:00:00.060) 0:00:20.563 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.220) 0:00:20.783 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.025) 0:00:20.809 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.039) 0:00:20.848 ******* 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.023) 0:00:20.872 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.216) 0:00:21.088 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.022) 0:00:21.111 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.059587", "end": "2024-01-09 19:41:23.724516", "rc": 0, "start": "2024-01-09 19:41:23.664929" } 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.280) 0:00:21.391 ******* 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.024) 0:00:21.416 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.021) 0:00:21.438 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.022) 0:00:21.461 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.049) 0:00:21.511 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.023) 0:00:21.535 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.025) 0:00:21.560 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.025) 0:00:21.586 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.023) 0:00:21.610 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:41:23 +0000 (0:00:00.021) 0:00:21.631 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.024) 0:00:21.656 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.042) 0:00:21.698 ******* 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.042852", "end": "2024-01-09 19:41:24.294919", "rc": 1, "start": "2024-01-09 19:41:24.252067" } STDOUT: Connection 'statebr' (92f1e9b3-c5ca-4b07-b980-d7ffb47efd0e) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tests_states.yml:65 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.262) 0:00:21.960 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.038) 0:00:21.999 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.022) 0:00:22.021 ******* 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_typejyz094n8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.046) 0:00:22.068 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.036) 0:00:22.105 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.061) 0:00:22.167 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003723", "end": "2024-01-09 19:41:24.725929", "rc": 0, "start": "2024-01-09 19:41:24.722206" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.227) 0:00:22.395 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.024) 0:00:22.419 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.022) 0:00:22.441 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.040) 0:00:22.481 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.037) 0:00:22.519 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.042) 0:00:22.561 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.027) 0:00:22.589 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:41:24 +0000 (0:00:00.022) 0:00:22.611 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:41:25 +0000 (0:00:00.022) 0:00:22.634 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:41:27 +0000 (0:00:02.326) 0:00:24.960 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:41:28 +0000 (0:00:00.968) 0:00:25.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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:41:28 +0000 (0:00:00.024) 0:00:25.953 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:41:28 +0000 (0:00:00.023) 0:00:25.977 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:41:28 +0000 (0:00:00.023) 0:00:26.001 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:41:28 +0000 (0:00:00.044) 0:00:26.046 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:41:28 +0000 (0:00:00.022) 0:00:26.068 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:41:28 +0000 (0:00:00.023) 0:00:26.091 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:41:28 +0000 (0:00:00.025) 0:00:26.117 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:41:29 +0000 (0:00:00.586) 0:00:26.704 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:41:29 +0000 (0:00:00.025) 0:00:26.729 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:41:29 +0000 (0:00:00.021) 0:00:26.751 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:41:29 +0000 (0:00:00.021) 0:00:26.772 ******* 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, 277a8235-bab0-43bf-ba79-58e026483655 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:41:29 +0000 (0:00:00.431) 0:00:27.204 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:41:29 +0000 (0:00:00.047) 0:00:27.251 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 277a8235-bab0-43bf-ba79-58e026483655" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:41:29 +0000 (0:00:00.024) 0:00:27.275 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 277a8235-bab0-43bf-ba79-58e026483655\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 277a8235-bab0-43bf-ba79-58e026483655" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:41:29 +0000 (0:00:00.023) 0:00:27.299 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:41:29 +0000 (0:00:00.022) 0:00:27.322 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:41:29 +0000 (0:00:00.218) 0:00:27.540 ******* 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, 277a8235-bab0-43bf-ba79-58e026483655\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 277a8235-bab0-43bf-ba79-58e026483655" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:41:29 +0000 (0:00:00.023) 0:00:27.564 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:41:29 +0000 (0:00:00.040) 0:00:27.604 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:41:30 +0000 (0:00:00.041) 0:00:27.646 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:41:30 +0000 (0:00:00.041) 0:00:27.688 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:41:30 +0000 (0:00:00.026) 0:00:27.715 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:41:30 +0000 (0:00:00.021) 0:00:27.736 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:41:30 +0000 (0:00:00.021) 0:00:27.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:41:32 +0000 (0:00:02.360) 0:00:30.118 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:41:33 +0000 (0:00:00.965) 0:00:31.083 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:41:33 +0000 (0:00:00.022) 0:00:31.106 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:41:33 +0000 (0:00:00.022) 0:00:31.129 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:41:33 +0000 (0:00:00.021) 0:00:31.150 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:41:33 +0000 (0:00:00.043) 0:00:31.193 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:41:33 +0000 (0:00:00.021) 0:00:31.215 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:41:33 +0000 (0:00:00.021) 0:00:31.237 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:41:33 +0000 (0:00:00.023) 0:00:31.261 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:41:34 +0000 (0:00:00.589) 0:00:31.850 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:41:34 +0000 (0:00:00.025) 0:00:31.875 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:41:34 +0000 (0:00:00.021) 0:00:31.896 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:41:34 +0000 (0:00:00.022) 0:00:31.919 ******* 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, 277a8235-bab0-43bf-ba79-58e026483655 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:41:34 +0000 (0:00:00.387) 0:00:32.306 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:41:34 +0000 (0:00:00.047) 0:00:32.354 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 277a8235-bab0-43bf-ba79-58e026483655 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:41:34 +0000 (0:00:00.024) 0:00:32.379 ******* 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, 277a8235-bab0-43bf-ba79-58e026483655 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 277a8235-bab0-43bf-ba79-58e026483655 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:41:34 +0000 (0:00:00.023) 0:00:32.402 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:41:34 +0000 (0:00:00.021) 0:00:32.424 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:41:35 +0000 (0:00:00.214) 0:00:32.638 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:41:35 +0000 (0:00:00.045) 0:00:32.683 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:41:35 +0000 (0:00:00.036) 0:00:32.720 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829289.4858725, "block_size": 4096, "blocks": 0, "ctime": 1704829289.4858725, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26340, "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": 1704829289.4858725, "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_typejyz094n8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:41:35 +0000 (0:00:00.219) 0:00:32.940 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 09 January 2024 19:41:35 +0000 (0:00:00.023) 0:00:32.964 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:41:35 +0000 (0:00:00.037) 0:00:33.001 ******* 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:41:35 +0000 (0:00:00.022) 0:00:33.024 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:41:35 +0000 (0:00:00.246) 0:00:33.270 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:41:35 +0000 (0:00:00.022) 0:00:33.293 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022085", "end": "2024-01-09 19:41:35.870085", "rc": 0, "start": "2024-01-09 19:41:35.848000" } 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:41:35 +0000 (0:00:00.244) 0:00:33.537 ******* 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:41:35 +0000 (0:00:00.025) 0:00:33.563 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:41:35 +0000 (0:00:00.021) 0:00:33.585 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:41:35 +0000 (0:00:00.022) 0:00:33.607 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:41:35 +0000 (0:00:00.022) 0:00:33.630 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.021) 0:00:33.652 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.024) 0:00:33.676 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.024) 0:00:33.701 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.022) 0:00:33.724 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.021) 0:00:33.745 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.022) 0:00:33.768 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.041) 0:00:33.809 ******* 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.075048", "end": "2024-01-09 19:41:36.438203", "rc": 1, "start": "2024-01-09 19:41:36.363155" } STDOUT: Connection 'statebr' (277a8235-bab0-43bf-ba79-58e026483655) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tests_states.yml:83 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.293) 0:00:34.103 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.038) 0:00:34.142 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.022) 0:00:34.165 ******* 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_typejyz094n8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.043) 0:00:34.209 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.036) 0:00:34.245 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.034) 0:00:34.279 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003855", "end": "2024-01-09 19:41:36.836408", "rc": 0, "start": "2024-01-09 19:41:36.832553" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.223) 0:00:34.503 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.023) 0:00:34.527 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.022) 0:00:34.549 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:41:36 +0000 (0:00:00.042) 0:00:34.592 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:41:37 +0000 (0:00:00.069) 0:00:34.661 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:41:37 +0000 (0:00:00.042) 0:00:34.704 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:41:37 +0000 (0:00:00.028) 0:00:34.732 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:41:37 +0000 (0:00:00.022) 0:00:34.754 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:41:37 +0000 (0:00:00.022) 0:00:34.777 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:41:39 +0000 (0:00:02.378) 0:00:37.156 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:41:40 +0000 (0:00:00.956) 0:00:38.112 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:41:40 +0000 (0:00:00.022) 0:00:38.135 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:41:40 +0000 (0:00:00.021) 0:00:38.157 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:41:40 +0000 (0:00:00.021) 0:00:38.178 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:41:40 +0000 (0:00:00.045) 0:00:38.223 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:41:40 +0000 (0:00:00.021) 0:00:38.245 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:41:40 +0000 (0:00:00.020) 0:00:38.266 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:41:40 +0000 (0:00:00.025) 0:00:38.291 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:41:41 +0000 (0:00:00.587) 0:00:38.879 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:41:41 +0000 (0:00:00.028) 0:00:38.907 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:41:41 +0000 (0:00:00.023) 0:00:38.931 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:41:41 +0000 (0:00:00.022) 0:00:38.954 ******* 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, 0da4ef4b-a4bf-4868-b9a0-03bd4099eb66 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:41:41 +0000 (0:00:00.502) 0:00:39.457 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:41:41 +0000 (0:00:00.022) 0:00:39.480 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0da4ef4b-a4bf-4868-b9a0-03bd4099eb66" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:41:41 +0000 (0:00:00.024) 0:00:39.504 ******* 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, 0da4ef4b-a4bf-4868-b9a0-03bd4099eb66\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0da4ef4b-a4bf-4868-b9a0-03bd4099eb66" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:41:41 +0000 (0:00:00.023) 0:00:39.527 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:41:41 +0000 (0:00:00.021) 0:00:39.549 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:41:42 +0000 (0:00:00.220) 0:00:39.769 ******* 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, 0da4ef4b-a4bf-4868-b9a0-03bd4099eb66\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0da4ef4b-a4bf-4868-b9a0-03bd4099eb66" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:41:42 +0000 (0:00:00.023) 0:00:39.793 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:41:42 +0000 (0:00:00.065) 0:00:39.858 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:41:42 +0000 (0:00:00.042) 0:00:39.900 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:41:42 +0000 (0:00:00.027) 0:00:39.928 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:41:42 +0000 (0:00:00.021) 0:00:39.949 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:41:42 +0000 (0:00:00.021) 0:00:39.971 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:41:44 +0000 (0:00:02.389) 0:00:42.361 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:41:45 +0000 (0:00:00.962) 0:00:43.323 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:41:45 +0000 (0:00:00.022) 0:00:43.346 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:41:45 +0000 (0:00:00.021) 0:00:43.367 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:41:45 +0000 (0:00:00.021) 0:00:43.389 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:41:45 +0000 (0:00:00.044) 0:00:43.433 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:41:45 +0000 (0:00:00.020) 0:00:43.454 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:41:45 +0000 (0:00:00.021) 0:00:43.475 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:41:45 +0000 (0:00:00.024) 0:00:43.500 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:41:46 +0000 (0:00:00.645) 0:00:44.146 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:41:46 +0000 (0:00:00.027) 0:00:44.174 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:41:46 +0000 (0:00:00.022) 0:00:44.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:41:46 +0000 (0:00:00.022) 0:00:44.218 ******* 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, 0da4ef4b-a4bf-4868-b9a0-03bd4099eb66 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:41:46 +0000 (0:00:00.393) 0:00:44.612 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:41:47 +0000 (0:00:00.023) 0:00:44.635 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0da4ef4b-a4bf-4868-b9a0-03bd4099eb66 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:41:47 +0000 (0:00:00.023) 0:00:44.659 ******* 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, 0da4ef4b-a4bf-4868-b9a0-03bd4099eb66 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0da4ef4b-a4bf-4868-b9a0-03bd4099eb66 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:41:47 +0000 (0:00:00.024) 0:00:44.684 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:41:47 +0000 (0:00:00.023) 0:00:44.707 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:41:47 +0000 (0:00:00.221) 0:00:44.929 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:41:47 +0000 (0:00:00.041) 0:00:44.970 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:41:47 +0000 (0:00:00.071) 0:00:45.041 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:41:47 +0000 (0:00:00.043) 0:00:45.085 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:41:47 +0000 (0:00:00.029) 0:00:45.114 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:41:47 +0000 (0:00:00.023) 0:00:45.138 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:41:47 +0000 (0:00:00.022) 0:00:45.160 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:41:49 +0000 (0:00:02.367) 0:00:47.528 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:41:50 +0000 (0:00:00.961) 0:00:48.489 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:41:50 +0000 (0:00:00.024) 0:00:48.513 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:41:50 +0000 (0:00:00.022) 0:00:48.536 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:41:50 +0000 (0:00:00.021) 0:00:48.557 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:41:50 +0000 (0:00:00.043) 0:00:48.601 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:41:50 +0000 (0:00:00.021) 0:00:48.622 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:41:51 +0000 (0:00:00.021) 0:00:48.644 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:41:51 +0000 (0:00:00.024) 0:00:48.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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:41:51 +0000 (0:00:00.593) 0:00:49.262 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:41:51 +0000 (0:00:00.027) 0:00:49.289 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:41:51 +0000 (0:00:00.021) 0:00:49.311 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:41:51 +0000 (0:00:00.021) 0:00:49.332 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:41:52 +0000 (0:00:00.416) 0:00:49.748 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:41:52 +0000 (0:00:00.023) 0:00:49.772 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:41:52 +0000 (0:00:00.024) 0:00:49.796 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:41:52 +0000 (0:00:00.023) 0:00:49.820 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:41:52 +0000 (0:00:00.024) 0:00:49.845 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:41:52 +0000 (0:00:00.221) 0:00:50.067 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 09 January 2024 19:41:52 +0000 (0:00:00.043) 0:00:50.111 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:41:52 +0000 (0:00:00.061) 0:00:50.172 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1704829301.6765924, "block_size": 4096, "blocks": 0, "ctime": 1704829301.6765924, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 26471, "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": 1704829301.6765924, "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_typejyz094n8/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 09 January 2024 19:41:52 +0000 (0:00:00.225) 0:00:50.398 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:41:52 +0000 (0:00:00.024) 0:00:50.422 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:41:52 +0000 (0:00:00.037) 0:00:50.460 ******* 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:41:52 +0000 (0:00:00.022) 0:00:50.483 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.223) 0:00:50.706 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.023) 0:00:50.730 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022513", "end": "2024-01-09 19:41:53.309694", "rc": 1, "start": "2024-01-09 19:41:53.287181" } 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.246) 0:00:50.976 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.023) 0:00:51.000 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.021) 0:00:51.021 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.022) 0:00:51.044 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.048) 0:00:51.093 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.023) 0:00:51.116 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.024) 0:00:51.141 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.021) 0:00:51.162 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.021) 0:00:51.184 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.042) 0:00:51.226 ******* 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.072501", "end": "2024-01-09 19:41:53.853814", "rc": 1, "start": "2024-01-09 19:41:53.781313" } STDOUT: Connection 'statebr' (0da4ef4b-a4bf-4868-b9a0-03bd4099eb66) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tests_states.yml:103 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.301) 0:00:51.528 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.038) 0:00:51.566 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:41:53 +0000 (0:00:00.022) 0:00:51.589 ******* 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_typejyz094n8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:41:54 +0000 (0:00:00.047) 0:00:51.636 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:41:54 +0000 (0:00:00.036) 0:00:51.672 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:41:54 +0000 (0:00:00.062) 0:00:51.735 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003822", "end": "2024-01-09 19:41:54.297344", "rc": 0, "start": "2024-01-09 19:41:54.293522" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:41:54 +0000 (0:00:00.229) 0:00:51.964 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:41:54 +0000 (0:00:00.023) 0:00:51.988 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:41:54 +0000 (0:00:00.022) 0:00:52.010 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:41:54 +0000 (0:00:00.046) 0:00:52.057 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:41:54 +0000 (0:00:00.038) 0:00:52.095 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:41:54 +0000 (0:00:00.042) 0:00:52.138 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:41:54 +0000 (0:00:00.026) 0:00:52.165 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:41:54 +0000 (0:00:00.022) 0:00:52.187 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:41:54 +0000 (0:00:00.021) 0:00:52.209 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:41:56 +0000 (0:00:02.352) 0:00:54.561 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:41:57 +0000 (0:00:00.959) 0:00:55.521 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:41:57 +0000 (0:00:00.023) 0:00:55.545 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:41:57 +0000 (0:00:00.043) 0:00:55.588 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:41:57 +0000 (0:00:00.023) 0:00:55.611 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:41:58 +0000 (0:00:00.043) 0:00:55.655 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:41:58 +0000 (0:00:00.021) 0:00:55.677 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:41:58 +0000 (0:00:00.022) 0:00:55.700 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:41:58 +0000 (0:00:00.025) 0:00:55.725 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:41:58 +0000 (0:00:00.597) 0:00:56.322 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:41:58 +0000 (0:00:00.025) 0:00:56.348 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:41:58 +0000 (0:00:00.021) 0:00:56.370 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:41:58 +0000 (0:00:00.021) 0:00:56.391 ******* 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, a1bb6cfe-cf78-4727-b03d-ec025bfe3515 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:41:59 +0000 (0:00:00.434) 0:00:56.826 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:41:59 +0000 (0:00:00.022) 0:00:56.848 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a1bb6cfe-cf78-4727-b03d-ec025bfe3515" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:41:59 +0000 (0:00:00.047) 0:00:56.895 ******* 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, a1bb6cfe-cf78-4727-b03d-ec025bfe3515\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a1bb6cfe-cf78-4727-b03d-ec025bfe3515" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:41:59 +0000 (0:00:00.025) 0:00:56.920 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:41:59 +0000 (0:00:00.022) 0:00:56.943 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:41:59 +0000 (0:00:00.215) 0:00:57.158 ******* 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, a1bb6cfe-cf78-4727-b03d-ec025bfe3515\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a1bb6cfe-cf78-4727-b03d-ec025bfe3515" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:41:59 +0000 (0:00:00.025) 0:00:57.184 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:41:59 +0000 (0:00:00.037) 0:00:57.222 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:41:59 +0000 (0:00:00.041) 0:00:57.264 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:41:59 +0000 (0:00:00.027) 0:00:57.291 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:41:59 +0000 (0:00:00.021) 0:00:57.312 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:41:59 +0000 (0:00:00.021) 0:00:57.334 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:42:02 +0000 (0:00:02.378) 0:00:59.712 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:42:03 +0000 (0:00:00.959) 0:01:00.672 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:42:03 +0000 (0:00:00.024) 0:01:00.696 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:42:03 +0000 (0:00:00.022) 0:01:00.719 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:42:03 +0000 (0:00:00.042) 0:01:00.762 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:42:03 +0000 (0:00:00.046) 0:01:00.809 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:42:03 +0000 (0:00:00.022) 0:01:00.831 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:42:03 +0000 (0:00:00.022) 0:01:00.854 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:42:03 +0000 (0:00:00.026) 0:01:00.880 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:42:03 +0000 (0:00:00.594) 0:01:01.475 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:42:03 +0000 (0:00:00.026) 0:01:01.502 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:42:03 +0000 (0:00:00.021) 0:01:01.524 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:42:03 +0000 (0:00:00.020) 0:01:01.545 ******* 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, a1bb6cfe-cf78-4727-b03d-ec025bfe3515 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:42:04 +0000 (0:00:00.386) 0:01:01.931 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:42:04 +0000 (0:00:00.023) 0:01:01.955 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a1bb6cfe-cf78-4727-b03d-ec025bfe3515 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:42:04 +0000 (0:00:00.023) 0:01:01.978 ******* 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, a1bb6cfe-cf78-4727-b03d-ec025bfe3515 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a1bb6cfe-cf78-4727-b03d-ec025bfe3515 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:42:04 +0000 (0:00:00.048) 0:01:02.026 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:42:04 +0000 (0:00:00.022) 0:01:02.049 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 09 January 2024 19:42:04 +0000 (0:00:00.218) 0:01:02.267 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:42:04 +0000 (0:00:00.039) 0:01:02.306 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:42:04 +0000 (0:00:00.044) 0:01:02.351 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:42:04 +0000 (0:00:00.028) 0:01:02.380 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:42:04 +0000 (0:00:00.023) 0:01:02.403 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:42:04 +0000 (0:00:00.023) 0:01:02.427 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:42:07 +0000 (0:00:02.358) 0:01:04.786 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:42:08 +0000 (0:00:00.955) 0:01:05.741 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:42:08 +0000 (0:00:00.022) 0:01:05.764 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:42:08 +0000 (0:00:00.021) 0:01:05.785 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:42:08 +0000 (0:00:00.021) 0:01:05.807 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:42:08 +0000 (0:00:00.067) 0:01:05.874 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:42:08 +0000 (0:00:00.022) 0:01:05.897 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:42:08 +0000 (0:00:00.022) 0:01:05.919 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:42:08 +0000 (0:00:00.026) 0:01:05.946 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:42:08 +0000 (0:00:00.597) 0:01:06.543 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:42:08 +0000 (0:00:00.026) 0:01:06.570 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:42:08 +0000 (0:00:00.021) 0:01:06.591 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:42:08 +0000 (0:00:00.021) 0:01:06.613 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:42:09 +0000 (0:00:00.426) 0:01:07.040 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:42:09 +0000 (0:00:00.022) 0:01:07.063 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:42:09 +0000 (0:00:00.023) 0:01:07.086 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:42:09 +0000 (0:00:00.023) 0:01:07.110 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:42:09 +0000 (0:00:00.020) 0:01:07.131 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:42:09 +0000 (0:00:00.215) 0:01:07.347 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:42:09 +0000 (0:00:00.041) 0:01:07.388 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:42:09 +0000 (0:00:00.042) 0:01:07.431 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:42:09 +0000 (0:00:00.042) 0:01:07.473 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:42:09 +0000 (0:00:00.029) 0:01:07.502 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:42:09 +0000 (0:00:00.022) 0:01:07.524 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:42:09 +0000 (0:00:00.022) 0:01:07.547 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:42:12 +0000 (0:00:02.397) 0:01:09.945 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:42:13 +0000 (0:00:00.961) 0:01:10.906 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:42:13 +0000 (0:00:00.025) 0:01:10.931 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:42:13 +0000 (0:00:00.023) 0:01:10.955 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:42:13 +0000 (0:00:00.022) 0:01:10.977 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:42:13 +0000 (0:00:00.069) 0:01:11.047 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:42:13 +0000 (0:00:00.023) 0:01:11.070 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:42:13 +0000 (0:00:00.022) 0:01:11.093 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:42:13 +0000 (0:00:00.025) 0:01:11.118 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:42:14 +0000 (0:00:00.607) 0:01:11.726 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:42:14 +0000 (0:00:00.026) 0:01:11.752 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:42:14 +0000 (0:00:00.021) 0:01:11.773 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:42:14 +0000 (0:00:00.020) 0:01:11.794 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:42:14 +0000 (0:00:00.479) 0:01:12.274 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:42:14 +0000 (0:00:00.022) 0:01:12.297 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:42:14 +0000 (0:00:00.023) 0:01:12.320 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:42:14 +0000 (0:00:00.023) 0:01:12.344 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:42:14 +0000 (0:00:00.047) 0:01:12.391 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:42:14 +0000 (0:00:00.221) 0:01:12.613 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:42:15 +0000 (0:00:00.041) 0:01:12.655 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:42:15 +0000 (0:00:00.038) 0:01:12.694 ******* 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:42:15 +0000 (0:00:00.023) 0:01:12.717 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:42:15 +0000 (0:00:00.225) 0:01:12.942 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:42:15 +0000 (0:00:00.022) 0:01:12.965 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021268", "end": "2024-01-09 19:42:15.542510", "rc": 1, "start": "2024-01-09 19:42:15.521242" } 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:42:15 +0000 (0:00:00.246) 0:01:13.211 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:42:15 +0000 (0:00:00.023) 0:01:13.234 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:42:15 +0000 (0:00:00.022) 0:01:13.257 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:42:15 +0000 (0:00:00.022) 0:01:13.279 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:42:15 +0000 (0:00:00.022) 0:01:13.301 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:42:15 +0000 (0:00:00.068) 0:01:13.370 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:42:15 +0000 (0:00:00.025) 0:01:13.395 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:42:15 +0000 (0:00:00.044) 0:01:13.439 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:42:15 +0000 (0:00:00.037) 0:01:13.477 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:42:16 +0000 (0:00:00.219) 0:01:13.696 ******* 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_typejyz094n8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:42:16 +0000 (0:00:00.024) 0:01:13.721 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:42:16 +0000 (0:00:00.021) 0:01:13.743 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:42:16 +0000 (0:00:00.042) 0:01:13.785 ******* 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.041198", "end": "2024-01-09 19:42:16.379812", "rc": 1, "start": "2024-01-09 19:42:16.338614" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tests_states.yml:126 Tuesday 09 January 2024 19:42:16 +0000 (0:00:00.260) 0:01:14.046 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/playbooks/tasks/run_test.yml:5 Tuesday 09 January 2024 19:42:16 +0000 (0:00:00.038) 0:01:14.084 ******* 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_typejyz094n8/tests/playbooks/tasks/run_test.yml:9 Tuesday 09 January 2024 19:42:16 +0000 (0:00:00.051) 0:01:14.135 ******* 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_typejyz094n8/tests/playbooks/tasks/run_test.yml:21 Tuesday 09 January 2024 19:42:16 +0000 (0:00:00.046) 0:01:14.182 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 09 January 2024 19:42:16 +0000 (0:00:00.036) 0:01:14.218 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 09 January 2024 19:42:16 +0000 (0:00:00.036) 0:01:14.254 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004925", "end": "2024-01-09 19:42:17.814717", "rc": 0, "start": "2024-01-09 19:42:16.809792" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 09 January 2024 19:42:17 +0000 (0:00:01.228) 0:01:15.483 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 09 January 2024 19:42:17 +0000 (0:00:00.023) 0:01:15.506 ******* ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:24 Tuesday 09 January 2024 19:42:17 +0000 (0:00:00.022) 0:01:15.529 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 09 January 2024 19:42:17 +0000 (0:00:00.044) 0:01:15.574 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:42:18 +0000 (0:00:00.060) 0:01:15.634 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:42:18 +0000 (0:00:00.041) 0:01:15.676 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:42:18 +0000 (0:00:00.027) 0:01:15.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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:42:18 +0000 (0:00:00.021) 0:01:15.726 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:42:18 +0000 (0:00:00.022) 0:01:15.748 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:42:20 +0000 (0:00:02.335) 0:01:18.084 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:42:21 +0000 (0:00:00.962) 0:01:19.047 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:42:21 +0000 (0:00:00.024) 0:01:19.071 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:42:21 +0000 (0:00:00.022) 0:01:19.094 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:42:21 +0000 (0:00:00.021) 0:01:19.115 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:42:21 +0000 (0:00:00.044) 0:01:19.160 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:42:21 +0000 (0:00:00.022) 0:01:19.183 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:42:21 +0000 (0:00:00.020) 0:01:19.204 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:42:21 +0000 (0:00:00.025) 0:01:19.230 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:42:22 +0000 (0:00:00.601) 0:01:19.832 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:42:22 +0000 (0:00:00.026) 0:01:19.858 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:42:22 +0000 (0:00:00.021) 0:01:19.880 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:42:22 +0000 (0:00:00.021) 0:01:19.901 ******* 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, 5d56deea-32f2-4569-8d6c-09caf49c650e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:42:22 +0000 (0:00:00.439) 0:01:20.341 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:42:22 +0000 (0:00:00.023) 0:01:20.364 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d56deea-32f2-4569-8d6c-09caf49c650e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:42:22 +0000 (0:00:00.023) 0:01:20.387 ******* 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, 5d56deea-32f2-4569-8d6c-09caf49c650e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d56deea-32f2-4569-8d6c-09caf49c650e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:42:22 +0000 (0:00:00.024) 0:01:20.411 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:42:22 +0000 (0:00:00.022) 0:01:20.434 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 09 January 2024 19:42:23 +0000 (0:00:00.215) 0:01:20.649 ******* 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, 5d56deea-32f2-4569-8d6c-09caf49c650e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5d56deea-32f2-4569-8d6c-09caf49c650e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 09 January 2024 19:42:23 +0000 (0:00:00.024) 0:01:20.673 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:42:23 +0000 (0:00:00.064) 0:01:20.738 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:42:23 +0000 (0:00:00.042) 0:01:20.780 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:42:23 +0000 (0:00:00.028) 0:01:20.809 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:42:23 +0000 (0:00:00.022) 0:01:20.832 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:42:23 +0000 (0:00:00.022) 0:01:20.854 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:42:25 +0000 (0:00:02.337) 0:01:23.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 : Print network provider] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:42:26 +0000 (0:00:00.946) 0:01:24.139 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:42:26 +0000 (0:00:00.023) 0:01:24.162 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:42:26 +0000 (0:00:00.022) 0:01:24.184 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:42:26 +0000 (0:00:00.022) 0:01:24.207 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:42:26 +0000 (0:00:00.044) 0:01:24.251 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:42:26 +0000 (0:00:00.023) 0:01:24.274 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:42:26 +0000 (0:00:00.022) 0:01:24.297 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:42:26 +0000 (0:00:00.025) 0:01:24.322 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:42:27 +0000 (0:00:00.605) 0:01:24.928 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:42:27 +0000 (0:00:00.025) 0:01:24.954 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:42:27 +0000 (0:00:00.021) 0:01:24.975 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:42:27 +0000 (0:00:00.022) 0:01:24.997 ******* 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, 5d56deea-32f2-4569-8d6c-09caf49c650e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:42:27 +0000 (0:00:00.384) 0:01:25.382 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:42:27 +0000 (0:00:00.022) 0:01:25.405 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5d56deea-32f2-4569-8d6c-09caf49c650e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:42:27 +0000 (0:00:00.023) 0:01:25.429 ******* 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, 5d56deea-32f2-4569-8d6c-09caf49c650e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5d56deea-32f2-4569-8d6c-09caf49c650e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:42:27 +0000 (0:00:00.023) 0:01:25.452 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:42:27 +0000 (0:00:00.023) 0:01:25.476 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:42:28 +0000 (0:00:00.216) 0:01:25.692 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:42:28 +0000 (0:00:00.038) 0:01:25.730 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:42:28 +0000 (0:00:00.069) 0:01:25.800 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:42:28 +0000 (0:00:00.028) 0:01:25.828 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:42:28 +0000 (0:00:00.022) 0:01:25.850 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:42:28 +0000 (0:00:00.021) 0:01:25.872 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:42:30 +0000 (0:00:02.327) 0:01:28.200 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:42:31 +0000 (0:00:00.966) 0:01:29.167 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:42:31 +0000 (0:00:00.022) 0:01:29.190 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:42:31 +0000 (0:00:00.021) 0:01:29.212 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:42:31 +0000 (0:00:00.022) 0:01:29.234 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:42:31 +0000 (0:00:00.043) 0:01:29.277 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:42:31 +0000 (0:00:00.022) 0:01:29.299 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:42:31 +0000 (0:00:00.021) 0:01:29.321 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:42:31 +0000 (0:00:00.024) 0:01:29.346 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:42:32 +0000 (0:00:00.616) 0:01:29.963 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:42:32 +0000 (0:00:00.026) 0:01:29.989 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:42:32 +0000 (0:00:00.022) 0:01:30.011 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:42:32 +0000 (0:00:00.021) 0:01:30.033 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:42:32 +0000 (0:00:00.483) 0:01:30.517 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:42:32 +0000 (0:00:00.022) 0:01:30.539 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:42:32 +0000 (0:00:00.023) 0:01:30.563 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:42:32 +0000 (0:00:00.024) 0:01:30.587 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:42:32 +0000 (0:00:00.021) 0:01:30.608 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:30 Tuesday 09 January 2024 19:42:33 +0000 (0:00:00.216) 0:01:30.825 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 09 January 2024 19:42:33 +0000 (0:00:00.042) 0:01:30.867 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 09 January 2024 19:42:33 +0000 (0:00:00.037) 0:01:30.905 ******* included: /WORKDIR/git-route_typejyz094n8/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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 09 January 2024 19:42:33 +0000 (0:00:00.068) 0:01:30.974 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 09 January 2024 19:42:33 +0000 (0:00:00.028) 0:01:31.003 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 09 January 2024 19:42:33 +0000 (0:00:00.023) 0:01:31.026 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 09 January 2024 19:42:33 +0000 (0:00:00.023) 0:01:31.049 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 09 January 2024 19:42:35 +0000 (0:00:02.326) 0:01:33.376 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 09 January 2024 19:42:36 +0000 (0:00:00.971) 0:01:34.347 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 09 January 2024 19:42:36 +0000 (0:00:00.023) 0:01:34.370 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 09 January 2024 19:42:36 +0000 (0:00:00.021) 0:01:34.391 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 09 January 2024 19:42:36 +0000 (0:00:00.021) 0:01:34.413 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:40 Tuesday 09 January 2024 19:42:36 +0000 (0:00:00.044) 0:01:34.457 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:55 Tuesday 09 January 2024 19:42:36 +0000 (0:00:00.021) 0:01:34.478 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:71 Tuesday 09 January 2024 19:42:36 +0000 (0:00:00.021) 0:01:34.500 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Tuesday 09 January 2024 19:42:36 +0000 (0:00:00.024) 0:01:34.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:96 Tuesday 09 January 2024 19:42:37 +0000 (0:00:00.614) 0:01:35.140 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:105 Tuesday 09 January 2024 19:42:37 +0000 (0:00:00.027) 0:01:35.168 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:113 Tuesday 09 January 2024 19:42:37 +0000 (0:00:00.021) 0:01:35.189 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 Tuesday 09 January 2024 19:42:37 +0000 (0:00:00.021) 0:01:35.211 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:134 Tuesday 09 January 2024 19:42:37 +0000 (0:00:00.401) 0:01:35.612 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:140 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.022) 0:01:35.635 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:144 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.023) 0:01:35.659 ******* 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_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:149 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.023) 0:01:35.683 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:155 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.020) 0:01:35.704 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:36 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.214) 0:01:35.919 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.043) 0:01:35.963 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.038) 0:01:36.001 ******* 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.049) 0:01:36.051 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.221) 0:01:36.272 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.021) 0:01:36.294 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020691", "end": "2024-01-09 19:42:38.869755", "rc": 1, "start": "2024-01-09 19:42:38.849064" } 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_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.241) 0:01:36.536 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.024) 0:01:36.560 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.022) 0:01:36.583 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.022) 0:01:36.605 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 09 January 2024 19:42:38 +0000 (0:00:00.023) 0:01:36.629 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 09 January 2024 19:42:39 +0000 (0:00:00.024) 0:01:36.654 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 09 January 2024 19:42:39 +0000 (0:00:00.024) 0:01:36.678 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.371206", "end": "2024-01-09 19:42:39.602755", "rc": 0, "start": "2024-01-09 19:42:39.231549" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 09 January 2024 19:42:39 +0000 (0:00:00.592) 0:01:37.271 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 09 January 2024 19:42:39 +0000 (0:00:00.023) 0:01:37.294 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/run_test.yml:42 Tuesday 09 January 2024 19:42:39 +0000 (0:00:00.049) 0:01:37.344 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 09 January 2024 19:42:39 +0000 (0:00:00.045) 0:01:37.389 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 09 January 2024 19:42:39 +0000 (0:00:00.037) 0:01:37.427 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 09 January 2024 19:42:40 +0000 (0:00:00.221) 0:01:37.649 ******* 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_typejyz094n8/tests/playbooks/tasks/run_test.yml:47 Tuesday 09 January 2024 19:42:40 +0000 (0:00:00.025) 0:01:37.675 ******* 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_typejyz094n8/tests/playbooks/tasks/run_test.yml:66 Tuesday 09 January 2024 19:42:40 +0000 (0:00:00.023) 0:01:37.698 ******* included: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_typejyz094n8/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 09 January 2024 19:42:40 +0000 (0:00:00.043) 0:01:37.741 ******* 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.041185", "end": "2024-01-09 19:42:40.336378", "rc": 1, "start": "2024-01-09 19:42:40.295193" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Tuesday 09 January 2024 19:42:40 +0000 (0:00:00.247) 0:01:37.989 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 3.14s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 3.11s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 Gathering Facts --------------------------------------------------------- 2.57s /WORKDIR/git-route_typejyz094n8/tests/tests_states_nm.yml:6 ------------------- linux-system-roles.network : Enable and start NetworkManager ------------ 2.44s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.42s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.40s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.40s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.39s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.38s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.38s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.37s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.36s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.36s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.35s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.34s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.34s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.33s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.33s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.33s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.84s /WORKDIR/git-route_typejyz094n8/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---