# 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_type4wiwlwuv/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/tests_states_nm.yml:6 Wednesday 10 January 2024 16:00:13 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/tests_states_nm.yml:9 Wednesday 10 January 2024 16:00:14 +0000 (0:00:00.768) 0:00:00.780 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/tasks/el_repo_setup.yml:3 Wednesday 10 January 2024 16:00:14 +0000 (0:00:00.024) 0:00:00.804 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/el_repo_setup.yml:19 Wednesday 10 January 2024 16:00:14 +0000 (0:00:00.331) 0:00:01.136 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/el_repo_setup.yml:24 Wednesday 10 January 2024 16:00:15 +0000 (0:00:00.267) 0:00:01.404 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/el_repo_setup.yml:28 Wednesday 10 January 2024 16:00:15 +0000 (0:00:00.022) 0:00:01.427 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/el_repo_setup.yml:53 Wednesday 10 January 2024 16:00:15 +0000 (0:00:00.018) 0:00:01.445 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:8 Wednesday 10 January 2024 16:00:15 +0000 (0:00:00.032) 0:00:01.477 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:24 Wednesday 10 January 2024 16:00:15 +0000 (0:00:00.255) 0:00:01.733 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:30 Wednesday 10 January 2024 16:00:15 +0000 (0:00:00.011) 0:00:01.744 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:35 Wednesday 10 January 2024 16:00:15 +0000 (0:00:00.011) 0:00:01.755 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:01.248358", "end": "2024-01-10 16:00:17.000610", "rc": 0, "start": "2024-01-10 16:00:15.752252" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tasks/enable_epel.yml:40 Wednesday 10 January 2024 16:00:17 +0000 (0:00:01.438) 0:00:03.194 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/tests_states_nm.yml:11 Wednesday 10 January 2024 16:00:17 +0000 (0:00:00.010) 0:00:03.204 ***** 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_type4wiwlwuv/tests/playbooks/tests_states.yml:3 Wednesday 10 January 2024 16:00:17 +0000 (0:00:00.013) 0:00:03.217 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_states.yml:11 Wednesday 10 January 2024 16:00:17 +0000 (0:00:00.584) 0:00:03.802 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_states.yml:22 Wednesday 10 January 2024 16:00:17 +0000 (0:00:00.017) 0:00:03.819 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 16:00:17 +0000 (0:00:00.026) 0:00:03.845 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 16:00:17 +0000 (0:00:00.025) 0:00:03.870 ***** 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_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 16:00:17 +0000 (0:00:00.043) 0:00:03.914 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 16:00:17 +0000 (0:00:00.014) 0:00:03.928 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 16:00:17 +0000 (0:00:00.014) 0:00:03.943 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003442", "end": "2024-01-10 16:00:17.946653", "rc": 0, "start": "2024-01-10 16:00:17.943211" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 16:00:17 +0000 (0:00:00.209) 0:00:04.153 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 16:00:17 +0000 (0:00:00.021) 0:00:04.175 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 16:00:18 +0000 (0:00:00.017) 0:00:04.192 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 16:00:18 +0000 (0:00:00.021) 0:00:04.214 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008305", "end": "2024-01-10 16:00:18.215308", "rc": 1, "start": "2024-01-10 16:00:18.207003" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 16:00:18 +0000 (0:00:00.193) 0:00:04.409 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 16:00:18 +0000 (0:00:00.014) 0:00:04.423 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 16:00:18 +0000 (0:00:00.187) 0:00:04.610 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 16:00:18 +0000 (0:00:00.023) 0:00:04.634 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 16:00:18 +0000 (0:00:00.028) 0:00:04.662 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:00:18 +0000 (0:00:00.059) 0:00:04.721 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:00:18 +0000 (0:00:00.077) 0:00:04.799 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:00:18 +0000 (0:00:00.023) 0:00:04.822 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:00:18 +0000 (0:00:00.012) 0:00:04.834 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:00:18 +0000 (0:00:00.027) 0:00:04.862 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:00:20 +0000 (0:00:01.620) 0:00:06.482 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:00:21 +0000 (0:00:01.549) 0:00:08.032 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:00:21 +0000 (0:00:00.026) 0:00:08.058 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:00:21 +0000 (0:00:00.042) 0:00:08.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:00:21 +0000 (0:00:00.032) 0:00:08.133 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:00:22 +0000 (0:00:00.089) 0:00:08.222 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:00:22 +0000 (0:00:00.029) 0:00:08.251 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:00:22 +0000 (0:00:00.034) 0:00:08.286 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:00:22 +0000 (0:00:00.050) 0:00:08.337 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:00:22 +0000 (0:00:00.528) 0:00:08.865 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:00:22 +0000 (0:00:00.028) 0:00:08.894 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:00:22 +0000 (0:00:00.021) 0:00:08.915 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:00:22 +0000 (0:00:00.023) 0:00:08.939 ***** 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, 56286916-1e31-4b5f-affc-b623f8f4e50f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:00:23 +0000 (0:00:00.546) 0:00:09.485 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:00:23 +0000 (0:00:00.075) 0:00:09.561 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56286916-1e31-4b5f-affc-b623f8f4e50f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:00:23 +0000 (0:00:00.040) 0:00:09.601 ***** 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, 56286916-1e31-4b5f-affc-b623f8f4e50f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56286916-1e31-4b5f-affc-b623f8f4e50f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:00:23 +0000 (0:00:00.029) 0:00:09.630 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:00:23 +0000 (0:00:00.030) 0:00:09.661 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 16:00:23 +0000 (0:00:00.251) 0:00:09.913 ***** 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, 56286916-1e31-4b5f-affc-b623f8f4e50f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 56286916-1e31-4b5f-affc-b623f8f4e50f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 16:00:23 +0000 (0:00:00.023) 0:00:09.937 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 16:00:23 +0000 (0:00:00.084) 0:00:10.021 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 16:00:23 +0000 (0:00:00.137) 0:00:10.158 ***** 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 16:00:24 +0000 (0:00:00.040) 0:00:10.199 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704902423.2561533, "block_size": 4096, "blocks": 8, "ctime": 1704902423.1981533, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6287477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704902423.1981533, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 16:00:24 +0000 (0:00:00.294) 0:00:10.493 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 16:00:24 +0000 (0:00:00.043) 0:00:10.537 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023023", "end": "2024-01-10 16:00:24.576564", "rc": 0, "start": "2024-01-10 16:00:24.553541" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 16:00:24 +0000 (0:00:00.257) 0:00:10.795 ***** 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 16:00:24 +0000 (0:00:00.060) 0:00:10.855 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 16:00:24 +0000 (0:00:00.070) 0:00:10.926 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 16:00:24 +0000 (0:00:00.043) 0:00:10.970 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 16:00:24 +0000 (0:00:00.111) 0:00:11.081 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 16:00:24 +0000 (0:00:00.075) 0:00:11.157 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 16:00:25 +0000 (0:00:00.175) 0:00:11.332 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 16:00:25 +0000 (0:00:00.099) 0:00:11.432 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 16:00:25 +0000 (0:00:00.035) 0:00:11.467 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 16:00:25 +0000 (0:00:00.072) 0:00:11.540 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 16:00:25 +0000 (0:00:00.052) 0:00:11.592 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704902423.199879, "block_size": 4096, "blocks": 0, "ctime": 1704902423.199879, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39205, "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": 1704902423.199879, "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_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 16:00:25 +0000 (0:00:00.221) 0:00:11.814 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 16:00:25 +0000 (0:00:00.035) 0:00:11.850 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 16:00:25 +0000 (0:00:00.053) 0:00:11.903 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 16:00:25 +0000 (0:00:00.135) 0:00:12.038 ***** 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.064948", "end": "2024-01-10 16:00:26.094638", "rc": 1, "start": "2024-01-10 16:00:26.029690" } STDOUT: Connection 'statebr' (56286916-1e31-4b5f-affc-b623f8f4e50f) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_states.yml:45 Wednesday 10 January 2024 16:00:26 +0000 (0:00:00.259) 0:00:12.297 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 16:00:26 +0000 (0:00:00.038) 0:00:12.336 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 16:00:26 +0000 (0:00:00.024) 0:00:12.361 ***** 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_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 16:00:26 +0000 (0:00:00.067) 0:00:12.429 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 16:00:26 +0000 (0:00:00.050) 0:00:12.479 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 16:00:26 +0000 (0:00:00.043) 0:00:12.522 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003215", "end": "2024-01-10 16:00:26.518146", "rc": 0, "start": "2024-01-10 16:00:26.514931" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 16:00:26 +0000 (0:00:00.207) 0:00:12.730 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 16:00:26 +0000 (0:00:00.025) 0:00:12.756 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 16:00:26 +0000 (0:00:00.024) 0:00:12.781 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 10 January 2024 16:00:26 +0000 (0:00:00.064) 0:00:12.845 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006107", "end": "2024-01-10 16:00:26.901328", "rc": 1, "start": "2024-01-10 16:00:26.895221" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 16:00:26 +0000 (0:00:00.276) 0:00:13.121 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 16:00:27 +0000 (0:00:00.095) 0:00:13.217 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 16:00:27 +0000 (0:00:00.261) 0:00:13.478 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 16:00:27 +0000 (0:00:00.044) 0:00:13.522 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 10 January 2024 16:00:27 +0000 (0:00:00.057) 0:00:13.580 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:00:27 +0000 (0:00:00.050) 0:00:13.630 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:00:27 +0000 (0:00:00.072) 0:00:13.703 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:00:27 +0000 (0:00:00.110) 0:00:13.814 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:00:27 +0000 (0:00:00.053) 0:00:13.867 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:00:27 +0000 (0:00:00.037) 0:00:13.905 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:00:29 +0000 (0:00:01.645) 0:00:15.550 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:00:30 +0000 (0:00:01.359) 0:00:16.910 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:00:30 +0000 (0:00:00.095) 0:00:17.006 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:00:30 +0000 (0:00:00.078) 0:00:17.084 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:00:31 +0000 (0:00:00.093) 0:00:17.177 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:00:31 +0000 (0:00:00.124) 0:00:17.301 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:00:31 +0000 (0:00:00.054) 0:00:17.356 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:00:31 +0000 (0:00:00.042) 0:00:17.398 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:00:31 +0000 (0:00:00.031) 0:00:17.430 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:00:31 +0000 (0:00:00.431) 0:00:17.861 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:00:31 +0000 (0:00:00.058) 0:00:17.920 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:00:31 +0000 (0:00:00.078) 0:00:17.998 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:00:31 +0000 (0:00:00.035) 0:00:18.034 ***** 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, ac85b620-b188-4106-b22b-754e0fc2bbf6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:00:32 +0000 (0:00:00.373) 0:00:18.407 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:00:32 +0000 (0:00:00.032) 0:00:18.440 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac85b620-b188-4106-b22b-754e0fc2bbf6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:00:32 +0000 (0:00:00.046) 0:00:18.486 ***** 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, ac85b620-b188-4106-b22b-754e0fc2bbf6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac85b620-b188-4106-b22b-754e0fc2bbf6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:00:32 +0000 (0:00:00.037) 0:00:18.524 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:00:32 +0000 (0:00:00.039) 0:00:18.563 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 10 January 2024 16:00:32 +0000 (0:00:00.238) 0:00:18.801 ***** 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, ac85b620-b188-4106-b22b-754e0fc2bbf6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ac85b620-b188-4106-b22b-754e0fc2bbf6" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 16:00:32 +0000 (0:00:00.039) 0:00:18.841 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 16:00:32 +0000 (0:00:00.057) 0:00:18.899 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 16:00:32 +0000 (0:00:00.037) 0:00:18.937 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 16:00:32 +0000 (0:00:00.206) 0:00:19.143 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 16:00:32 +0000 (0:00:00.025) 0:00:19.168 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.075) 0:00:19.244 ***** 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.025) 0:00:19.269 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704902432.1651688, "block_size": 4096, "blocks": 8, "ctime": 1704902432.1651688, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6287477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704902432.1651688, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.233) 0:00:19.503 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.025) 0:00:19.529 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022255", "end": "2024-01-10 16:00:33.546680", "rc": 0, "start": "2024-01-10 16:00:33.524425" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.227) 0:00:19.756 ***** 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.036) 0:00:19.792 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.031) 0:00:19.824 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.034) 0:00:19.858 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.041) 0:00:19.900 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.047) 0:00:19.947 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.027) 0:00:19.975 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.029) 0:00:20.005 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.027) 0:00:20.033 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.030) 0:00:20.064 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 16:00:33 +0000 (0:00:00.028) 0:00:20.092 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 16:00:34 +0000 (0:00:00.090) 0:00:20.183 ***** 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.043539", "end": "2024-01-10 16:00:34.221558", "rc": 1, "start": "2024-01-10 16:00:34.178019" } STDOUT: Connection 'statebr' (ac85b620-b188-4106-b22b-754e0fc2bbf6) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_states.yml:65 Wednesday 10 January 2024 16:00:34 +0000 (0:00:00.256) 0:00:20.440 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 16:00:34 +0000 (0:00:00.056) 0:00:20.505 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 16:00:34 +0000 (0:00:00.025) 0:00:20.531 ***** 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_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 16:00:34 +0000 (0:00:00.048) 0:00:20.579 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 16:00:34 +0000 (0:00:00.040) 0:00:20.619 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 16:00:34 +0000 (0:00:00.042) 0:00:20.662 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003177", "end": "2024-01-10 16:00:34.658206", "rc": 0, "start": "2024-01-10 16:00:34.655029" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 16:00:34 +0000 (0:00:00.210) 0:00:20.873 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 16:00:34 +0000 (0:00:00.025) 0:00:20.898 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 16:00:34 +0000 (0:00:00.034) 0:00:20.933 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 16:00:34 +0000 (0:00:00.118) 0:00:21.051 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:00:34 +0000 (0:00:00.063) 0:00:21.115 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:00:34 +0000 (0:00:00.056) 0:00:21.172 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:00:35 +0000 (0:00:00.031) 0:00:21.203 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:00:35 +0000 (0:00:00.024) 0:00:21.228 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:00:35 +0000 (0:00:00.025) 0:00:21.254 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:00:36 +0000 (0:00:01.522) 0:00:22.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:00:37 +0000 (0:00:01.338) 0:00:24.115 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:00:37 +0000 (0:00:00.023) 0:00:24.139 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:00:37 +0000 (0:00:00.026) 0:00:24.165 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:00:38 +0000 (0:00:00.022) 0:00:24.188 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:00:38 +0000 (0:00:00.054) 0:00:24.242 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:00:38 +0000 (0:00:00.042) 0:00:24.285 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:00:38 +0000 (0:00:00.033) 0:00:24.318 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:00:38 +0000 (0:00:00.044) 0:00:24.363 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:00:38 +0000 (0:00:00.414) 0:00:24.778 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:00:38 +0000 (0:00:00.028) 0:00:24.806 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:00:38 +0000 (0:00:00.022) 0:00:24.829 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:00:38 +0000 (0:00:00.053) 0:00:24.882 ***** 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, ef6eaf36-c301-4eed-999b-3f30cf1fc82d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:00:39 +0000 (0:00:00.405) 0:00:25.288 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:00:39 +0000 (0:00:00.028) 0:00:25.317 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ef6eaf36-c301-4eed-999b-3f30cf1fc82d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:00:39 +0000 (0:00:00.047) 0:00:25.365 ***** 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, ef6eaf36-c301-4eed-999b-3f30cf1fc82d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ef6eaf36-c301-4eed-999b-3f30cf1fc82d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:00:39 +0000 (0:00:00.043) 0:00:25.409 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:00:39 +0000 (0:00:00.039) 0:00:25.448 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 16:00:39 +0000 (0:00:00.231) 0:00:25.679 ***** 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, ef6eaf36-c301-4eed-999b-3f30cf1fc82d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ef6eaf36-c301-4eed-999b-3f30cf1fc82d" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 16:00:39 +0000 (0:00:00.039) 0:00:25.718 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 16:00:39 +0000 (0:00:00.052) 0:00:25.771 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:00:39 +0000 (0:00:00.043) 0:00:25.815 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:00:39 +0000 (0:00:00.043) 0:00:25.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:00:39 +0000 (0:00:00.057) 0:00:25.916 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:00:39 +0000 (0:00:00.029) 0:00:25.946 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:00:39 +0000 (0:00:00.053) 0:00:25.999 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:00:41 +0000 (0:00:01.553) 0:00:27.553 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:00:42 +0000 (0:00:01.336) 0:00:28.889 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:00:42 +0000 (0:00:00.025) 0:00:28.914 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:00:42 +0000 (0:00:00.079) 0:00:28.994 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:00:42 +0000 (0:00:00.035) 0:00:29.030 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:00:42 +0000 (0:00:00.044) 0:00:29.074 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:00:42 +0000 (0:00:00.023) 0:00:29.098 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:00:42 +0000 (0:00:00.023) 0:00:29.122 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:00:42 +0000 (0:00:00.034) 0:00:29.157 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:00:43 +0000 (0:00:00.342) 0:00:29.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:00:43 +0000 (0:00:00.025) 0:00:29.525 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:00:43 +0000 (0:00:00.025) 0:00:29.550 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:00:43 +0000 (0:00:00.023) 0:00:29.574 ***** 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, ef6eaf36-c301-4eed-999b-3f30cf1fc82d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:00:43 +0000 (0:00:00.344) 0:00:29.918 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:00:43 +0000 (0:00:00.045) 0:00:29.964 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ef6eaf36-c301-4eed-999b-3f30cf1fc82d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:00:43 +0000 (0:00:00.029) 0:00:29.993 ***** 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, ef6eaf36-c301-4eed-999b-3f30cf1fc82d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ef6eaf36-c301-4eed-999b-3f30cf1fc82d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:00:43 +0000 (0:00:00.033) 0:00:30.027 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:00:43 +0000 (0:00:00.048) 0:00:30.075 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 16:00:44 +0000 (0:00:00.194) 0:00:30.269 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 16:00:44 +0000 (0:00:00.043) 0:00:30.313 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 16:00:44 +0000 (0:00:00.035) 0:00:30.348 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704902439.0259893, "block_size": 4096, "blocks": 0, "ctime": 1704902439.0259893, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39336, "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": 1704902439.0259893, "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_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 16:00:44 +0000 (0:00:00.199) 0:00:30.548 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 10 January 2024 16:00:44 +0000 (0:00:00.024) 0:00:30.572 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 16:00:44 +0000 (0:00:00.046) 0:00:30.619 ***** 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 16:00:44 +0000 (0:00:00.032) 0:00:30.651 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704902439.0731807, "block_size": 4096, "blocks": 8, "ctime": 1704902439.0241807, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6287477, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1704902439.0241807, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 16:00:44 +0000 (0:00:00.200) 0:00:30.852 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 16:00:44 +0000 (0:00:00.028) 0:00:30.881 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022945", "end": "2024-01-10 16:00:44.898220", "rc": 0, "start": "2024-01-10 16:00:44.875275" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 16:00:44 +0000 (0:00:00.227) 0:00:31.108 ***** 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 16:00:44 +0000 (0:00:00.056) 0:00:31.164 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.024) 0:00:31.189 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.025) 0:00:31.215 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.032) 0:00:31.247 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.036) 0:00:31.284 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.034) 0:00:31.319 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.037) 0:00:31.356 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.039) 0:00:31.396 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.029) 0:00:31.426 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.037) 0:00:31.463 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.042) 0:00:31.506 ***** 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.065067", "end": "2024-01-10 16:00:45.575756", "rc": 1, "start": "2024-01-10 16:00:45.510689" } STDOUT: Connection 'statebr' (ef6eaf36-c301-4eed-999b-3f30cf1fc82d) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_states.yml:83 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.282) 0:00:31.789 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.050) 0:00:31.839 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.025) 0:00:31.865 ***** 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_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.079) 0:00:31.944 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.038) 0:00:31.983 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 16:00:45 +0000 (0:00:00.042) 0:00:32.025 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003439", "end": "2024-01-10 16:00:46.065698", "rc": 0, "start": "2024-01-10 16:00:46.062259" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 16:00:46 +0000 (0:00:00.248) 0:00:32.273 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 16:00:46 +0000 (0:00:00.025) 0:00:32.299 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 16:00:46 +0000 (0:00:00.030) 0:00:32.330 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 16:00:46 +0000 (0:00:00.051) 0:00:32.382 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:00:46 +0000 (0:00:00.053) 0:00:32.435 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:00:46 +0000 (0:00:00.053) 0:00:32.489 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:00:46 +0000 (0:00:00.032) 0:00:32.522 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:00:46 +0000 (0:00:00.027) 0:00:32.549 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:00:46 +0000 (0:00:00.047) 0:00:32.596 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:00:47 +0000 (0:00:01.529) 0:00:34.125 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:00:49 +0000 (0:00:01.330) 0:00:35.456 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:00:49 +0000 (0:00:00.030) 0:00:35.486 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:00:49 +0000 (0:00:00.029) 0:00:35.516 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:00:49 +0000 (0:00:00.065) 0:00:35.582 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:00:49 +0000 (0:00:00.057) 0:00:35.640 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:00:49 +0000 (0:00:00.056) 0:00:35.696 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:00:49 +0000 (0:00:00.049) 0:00:35.746 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:00:49 +0000 (0:00:00.055) 0:00:35.801 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:00:49 +0000 (0:00:00.363) 0:00:36.164 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:00:50 +0000 (0:00:00.030) 0:00:36.195 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:00:50 +0000 (0:00:00.026) 0:00:36.222 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:00:50 +0000 (0:00:00.036) 0:00:36.258 ***** 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, 45e788f4-a2f3-405a-a6e8-e777ee742c36 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:00:50 +0000 (0:00:00.426) 0:00:36.685 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:00:50 +0000 (0:00:00.041) 0:00:36.727 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 45e788f4-a2f3-405a-a6e8-e777ee742c36" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:00:50 +0000 (0:00:00.027) 0:00:36.754 ***** 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, 45e788f4-a2f3-405a-a6e8-e777ee742c36\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 45e788f4-a2f3-405a-a6e8-e777ee742c36" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:00:50 +0000 (0:00:00.040) 0:00:36.794 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:00:50 +0000 (0:00:00.041) 0:00:36.836 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 16:00:50 +0000 (0:00:00.219) 0:00:37.056 ***** 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, 45e788f4-a2f3-405a-a6e8-e777ee742c36\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 45e788f4-a2f3-405a-a6e8-e777ee742c36" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 16:00:50 +0000 (0:00:00.030) 0:00:37.086 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:00:50 +0000 (0:00:00.042) 0:00:37.129 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:00:51 +0000 (0:00:00.050) 0:00:37.180 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:00:51 +0000 (0:00:00.031) 0:00:37.211 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:00:51 +0000 (0:00:00.027) 0:00:37.239 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:00:51 +0000 (0:00:00.038) 0:00:37.277 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:00:52 +0000 (0:00:01.508) 0:00:38.785 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:00:53 +0000 (0:00:01.373) 0:00:40.159 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:00:54 +0000 (0:00:00.027) 0:00:40.186 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:00:54 +0000 (0:00:00.028) 0:00:40.215 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:00:54 +0000 (0:00:00.031) 0:00:40.246 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:00:54 +0000 (0:00:00.053) 0:00:40.300 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:00:54 +0000 (0:00:00.040) 0:00:40.340 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:00:54 +0000 (0:00:00.030) 0:00:40.371 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:00:54 +0000 (0:00:00.055) 0:00:40.426 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:00:54 +0000 (0:00:00.417) 0:00:40.843 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:00:54 +0000 (0:00:00.068) 0:00:40.911 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:00:54 +0000 (0:00:00.024) 0:00:40.936 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:00:54 +0000 (0:00:00.021) 0:00:40.957 ***** 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, 45e788f4-a2f3-405a-a6e8-e777ee742c36 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:00:55 +0000 (0:00:00.348) 0:00:41.305 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:00:55 +0000 (0:00:00.062) 0:00:41.368 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 45e788f4-a2f3-405a-a6e8-e777ee742c36 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:00:55 +0000 (0:00:00.068) 0:00:41.437 ***** 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, 45e788f4-a2f3-405a-a6e8-e777ee742c36 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 45e788f4-a2f3-405a-a6e8-e777ee742c36 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:00:55 +0000 (0:00:00.048) 0:00:41.485 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:00:55 +0000 (0:00:00.036) 0:00:41.521 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 16:00:55 +0000 (0:00:00.239) 0:00:41.761 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 16:00:55 +0000 (0:00:00.041) 0:00:41.803 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:00:55 +0000 (0:00:00.061) 0:00:41.864 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:00:55 +0000 (0:00:00.071) 0:00:41.935 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:00:55 +0000 (0:00:00.080) 0:00:42.016 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:00:55 +0000 (0:00:00.028) 0:00:42.045 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:00:55 +0000 (0:00:00.029) 0:00:42.074 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:00:57 +0000 (0:00:01.515) 0:00:43.590 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:00:58 +0000 (0:00:01.313) 0:00:44.903 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:00:58 +0000 (0:00:00.044) 0:00:44.948 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:00:58 +0000 (0:00:00.022) 0:00:44.971 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:00:58 +0000 (0:00:00.020) 0:00:44.991 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:00:58 +0000 (0:00:00.047) 0:00:45.038 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:00:58 +0000 (0:00:00.028) 0:00:45.067 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:00:58 +0000 (0:00:00.024) 0:00:45.092 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:00:58 +0000 (0:00:00.027) 0:00:45.119 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:00:59 +0000 (0:00:00.355) 0:00:45.474 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:00:59 +0000 (0:00:00.036) 0:00:45.511 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:00:59 +0000 (0:00:00.038) 0:00:45.549 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:00:59 +0000 (0:00:00.025) 0:00:45.575 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:00:59 +0000 (0:00:00.383) 0:00:45.959 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:00:59 +0000 (0:00:00.022) 0:00:45.981 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:00:59 +0000 (0:00:00.027) 0:00:46.009 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:00:59 +0000 (0:00:00.058) 0:00:46.067 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:00:59 +0000 (0:00:00.022) 0:00:46.090 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 16:01:00 +0000 (0:00:00.216) 0:00:46.306 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 10 January 2024 16:01:00 +0000 (0:00:00.161) 0:00:46.467 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 16:01:00 +0000 (0:00:00.104) 0:00:46.572 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1704902450.396293, "block_size": 4096, "blocks": 0, "ctime": 1704902450.396293, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39467, "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": 1704902450.396293, "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_type4wiwlwuv/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 10 January 2024 16:01:00 +0000 (0:00:00.215) 0:00:46.787 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 16:01:00 +0000 (0:00:00.025) 0:00:46.813 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 16:01:00 +0000 (0:00:00.041) 0:00:46.855 ***** 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 16:01:00 +0000 (0:00:00.037) 0:00:46.892 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 16:01:00 +0000 (0:00:00.198) 0:00:47.090 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 16:01:00 +0000 (0:00:00.023) 0:00:47.114 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022253", "end": "2024-01-10 16:01:01.132101", "rc": 1, "start": "2024-01-10 16:01:01.109848" } 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 16:01:01 +0000 (0:00:00.261) 0:00:47.375 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 16:01:01 +0000 (0:00:00.027) 0:00:47.402 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 16:01:01 +0000 (0:00:00.041) 0:00:47.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 16:01:01 +0000 (0:00:00.025) 0:00:47.470 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 16:01:01 +0000 (0:00:00.025) 0:00:47.495 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 16:01:01 +0000 (0:00:00.047) 0:00:47.543 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 16:01:01 +0000 (0:00:00.031) 0:00:47.575 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 16:01:01 +0000 (0:00:00.030) 0:00:47.605 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 16:01:01 +0000 (0:00:00.050) 0:00:47.655 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 16:01:01 +0000 (0:00:00.066) 0:00:47.722 ***** 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.083529", "end": "2024-01-10 16:01:01.812575", "rc": 1, "start": "2024-01-10 16:01:01.729046" } STDOUT: Connection 'statebr' (45e788f4-a2f3-405a-a6e8-e777ee742c36) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_states.yml:103 Wednesday 10 January 2024 16:01:01 +0000 (0:00:00.362) 0:00:48.084 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 16:01:01 +0000 (0:00:00.041) 0:00:48.125 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 16:01:01 +0000 (0:00:00.035) 0:00:48.161 ***** 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_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 16:01:02 +0000 (0:00:00.078) 0:00:48.240 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 16:01:02 +0000 (0:00:00.137) 0:00:48.377 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 16:01:02 +0000 (0:00:00.045) 0:00:48.423 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003219", "end": "2024-01-10 16:01:02.419252", "rc": 0, "start": "2024-01-10 16:01:02.416033" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 16:01:02 +0000 (0:00:00.221) 0:00:48.644 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 16:01:02 +0000 (0:00:00.051) 0:00:48.696 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 16:01:02 +0000 (0:00:00.030) 0:00:48.726 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 16:01:02 +0000 (0:00:00.052) 0:00:48.778 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:01:02 +0000 (0:00:00.047) 0:00:48.826 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:01:02 +0000 (0:00:00.045) 0:00:48.871 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:01:02 +0000 (0:00:00.028) 0:00:48.899 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:01:02 +0000 (0:00:00.028) 0:00:48.928 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:01:02 +0000 (0:00:00.062) 0:00:48.990 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:01:04 +0000 (0:00:01.634) 0:00:50.624 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:01:05 +0000 (0:00:01.528) 0:00:52.152 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:01:06 +0000 (0:00:00.054) 0:00:52.207 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:01:06 +0000 (0:00:00.043) 0:00:52.250 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:01:06 +0000 (0:00:00.032) 0:00:52.283 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:01:06 +0000 (0:00:00.060) 0:00:52.344 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:01:06 +0000 (0:00:00.070) 0:00:52.414 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:01:06 +0000 (0:00:00.089) 0:00:52.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:01:06 +0000 (0:00:00.049) 0:00:52.554 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:01:06 +0000 (0:00:00.425) 0:00:52.979 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:01:06 +0000 (0:00:00.058) 0:00:53.038 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:01:06 +0000 (0:00:00.030) 0:00:53.068 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:01:06 +0000 (0:00:00.066) 0:00:53.134 ***** 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, 24be7189-2095-49b1-9977-240da69d9125 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:01:07 +0000 (0:00:00.442) 0:00:53.576 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:01:07 +0000 (0:00:00.060) 0:00:53.637 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24be7189-2095-49b1-9977-240da69d9125" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:01:07 +0000 (0:00:00.034) 0:00:53.671 ***** 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, 24be7189-2095-49b1-9977-240da69d9125\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24be7189-2095-49b1-9977-240da69d9125" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:01:07 +0000 (0:00:00.049) 0:00:53.721 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:01:07 +0000 (0:00:00.057) 0:00:53.778 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 16:01:07 +0000 (0:00:00.269) 0:00:54.048 ***** 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, 24be7189-2095-49b1-9977-240da69d9125\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 24be7189-2095-49b1-9977-240da69d9125" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 16:01:07 +0000 (0:00:00.047) 0:00:54.095 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:01:08 +0000 (0:00:00.092) 0:00:54.187 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:01:08 +0000 (0:00:00.054) 0:00:54.242 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:01:08 +0000 (0:00:00.104) 0:00:54.346 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:01:08 +0000 (0:00:00.091) 0:00:54.438 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:01:08 +0000 (0:00:00.061) 0:00:54.499 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:01:09 +0000 (0:00:01.661) 0:00:56.161 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:01:11 +0000 (0:00:01.597) 0:00:57.758 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:01:11 +0000 (0:00:00.071) 0:00:57.830 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:01:11 +0000 (0:00:00.068) 0:00:57.899 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:01:11 +0000 (0:00:00.097) 0:00:57.996 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:01:12 +0000 (0:00:00.201) 0:00:58.197 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:01:12 +0000 (0:00:00.086) 0:00:58.284 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:01:12 +0000 (0:00:00.082) 0:00:58.367 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:01:12 +0000 (0:00:00.100) 0:00:58.467 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:01:12 +0000 (0:00:00.577) 0:00:59.045 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:01:12 +0000 (0:00:00.038) 0:00:59.084 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:01:12 +0000 (0:00:00.061) 0:00:59.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:01:13 +0000 (0:00:00.039) 0:00:59.185 ***** 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, 24be7189-2095-49b1-9977-240da69d9125 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:01:13 +0000 (0:00:00.406) 0:00:59.591 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:01:13 +0000 (0:00:00.047) 0:00:59.638 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 24be7189-2095-49b1-9977-240da69d9125 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:01:13 +0000 (0:00:00.029) 0:00:59.668 ***** 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, 24be7189-2095-49b1-9977-240da69d9125 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 24be7189-2095-49b1-9977-240da69d9125 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:01:13 +0000 (0:00:00.046) 0:00:59.715 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:01:13 +0000 (0:00:00.073) 0:00:59.788 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 10 January 2024 16:01:13 +0000 (0:00:00.226) 0:01:00.014 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:01:13 +0000 (0:00:00.089) 0:01:00.104 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:01:14 +0000 (0:00:00.094) 0:01:00.199 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:01:14 +0000 (0:00:00.086) 0:01:00.286 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:01:14 +0000 (0:00:00.050) 0:01:00.336 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:01:14 +0000 (0:00:00.052) 0:01:00.389 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:01:15 +0000 (0:00:01.611) 0:01:02.001 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:01:17 +0000 (0:00:01.445) 0:01:03.446 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:01:17 +0000 (0:00:00.038) 0:01:03.485 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:01:17 +0000 (0:00:00.053) 0:01:03.538 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:01:17 +0000 (0:00:00.027) 0:01:03.565 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:01:17 +0000 (0:00:00.048) 0:01:03.614 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:01:17 +0000 (0:00:00.028) 0:01:03.643 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:01:17 +0000 (0:00:00.024) 0:01:03.667 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:01:17 +0000 (0:00:00.076) 0:01:03.744 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:01:18 +0000 (0:00:00.590) 0:01:04.334 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:01:18 +0000 (0:00:00.044) 0:01:04.379 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:01:18 +0000 (0:00:00.055) 0:01:04.435 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:01:18 +0000 (0:00:00.032) 0:01:04.467 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:01:18 +0000 (0:00:00.406) 0:01:04.874 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:01:18 +0000 (0:00:00.035) 0:01:04.909 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:01:18 +0000 (0:00:00.104) 0:01:05.014 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:01:18 +0000 (0:00:00.050) 0:01:05.064 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:01:18 +0000 (0:00:00.062) 0:01:05.127 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 16:01:19 +0000 (0:00:00.231) 0:01:05.359 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 16:01:19 +0000 (0:00:00.081) 0:01:05.440 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:01:19 +0000 (0:00:00.052) 0:01:05.493 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:01:19 +0000 (0:00:00.049) 0:01:05.542 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:01:19 +0000 (0:00:00.051) 0:01:05.594 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:01:19 +0000 (0:00:00.051) 0:01:05.646 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:01:19 +0000 (0:00:00.056) 0:01:05.702 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:01:21 +0000 (0:00:01.657) 0:01:07.359 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:01:22 +0000 (0:00:01.361) 0:01:08.720 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:01:22 +0000 (0:00:00.044) 0:01:08.765 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:01:22 +0000 (0:00:00.040) 0:01:08.805 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:01:22 +0000 (0:00:00.059) 0:01:08.864 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:01:22 +0000 (0:00:00.065) 0:01:08.930 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:01:22 +0000 (0:00:00.055) 0:01:08.985 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:01:22 +0000 (0:00:00.049) 0:01:09.035 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:01:22 +0000 (0:00:00.092) 0:01:09.127 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:01:23 +0000 (0:00:00.466) 0:01:09.593 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:01:23 +0000 (0:00:00.124) 0:01:09.718 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:01:23 +0000 (0:00:00.043) 0:01:09.761 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:01:23 +0000 (0:00:00.026) 0:01:09.788 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:01:24 +0000 (0:00:00.683) 0:01:10.471 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:01:24 +0000 (0:00:00.047) 0:01:10.519 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:01:24 +0000 (0:00:00.095) 0:01:10.615 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:01:24 +0000 (0:00:00.109) 0:01:10.724 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:01:24 +0000 (0:00:00.069) 0:01:10.793 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 16:01:24 +0000 (0:00:00.275) 0:01:11.068 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 16:01:24 +0000 (0:00:00.102) 0:01:11.170 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 16:01:25 +0000 (0:00:00.073) 0:01:11.244 ***** 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 16:01:25 +0000 (0:00:00.050) 0:01:11.294 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 16:01:25 +0000 (0:00:00.216) 0:01:11.511 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 16:01:25 +0000 (0:00:00.043) 0:01:11.554 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021584", "end": "2024-01-10 16:01:25.587307", "rc": 1, "start": "2024-01-10 16:01:25.565723" } 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 16:01:25 +0000 (0:00:00.240) 0:01:11.794 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 16:01:25 +0000 (0:00:00.040) 0:01:11.835 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 16:01:25 +0000 (0:00:00.096) 0:01:11.932 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 16:01:25 +0000 (0:00:00.050) 0:01:11.983 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 16:01:25 +0000 (0:00:00.065) 0:01:12.048 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 16:01:25 +0000 (0:00:00.026) 0:01:12.074 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 16:01:25 +0000 (0:00:00.044) 0:01:12.119 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 16:01:26 +0000 (0:00:00.074) 0:01:12.194 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 16:01:26 +0000 (0:00:00.039) 0:01:12.233 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 16:01:26 +0000 (0:00:00.215) 0:01:12.448 ***** 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_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 16:01:26 +0000 (0:00:00.049) 0:01:12.498 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 16:01:26 +0000 (0:00:00.081) 0:01:12.580 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 16:01:26 +0000 (0:00:00.070) 0:01:12.650 ***** 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.043619", "end": "2024-01-10 16:01:26.721179", "rc": 1, "start": "2024-01-10 16:01:26.677560" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tests_states.yml:126 Wednesday 10 January 2024 16:01:26 +0000 (0:00:00.306) 0:01:12.956 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:5 Wednesday 10 January 2024 16:01:26 +0000 (0:00:00.193) 0:01:13.149 ***** 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_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:9 Wednesday 10 January 2024 16:01:27 +0000 (0:00:00.042) 0:01:13.191 ***** 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_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:21 Wednesday 10 January 2024 16:01:27 +0000 (0:00:00.087) 0:01:13.279 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 10 January 2024 16:01:27 +0000 (0:00:00.059) 0:01:13.339 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 10 January 2024 16:01:27 +0000 (0:00:00.096) 0:01:13.435 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002979", "end": "2024-01-10 16:01:27.441300", "rc": 0, "start": "2024-01-10 16:01:27.438321" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 10 January 2024 16:01:27 +0000 (0:00:00.282) 0:01:13.718 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 10 January 2024 16:01:27 +0000 (0:00:00.059) 0:01:13.778 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:24 Wednesday 10 January 2024 16:01:27 +0000 (0:00:00.024) 0:01:13.802 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 10 January 2024 16:01:27 +0000 (0:00:00.096) 0:01:13.898 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:01:27 +0000 (0:00:00.062) 0:01:13.961 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:01:27 +0000 (0:00:00.169) 0:01:14.131 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:01:28 +0000 (0:00:00.051) 0:01:14.182 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:01:28 +0000 (0:00:00.069) 0:01:14.251 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:01:28 +0000 (0:00:00.090) 0:01:14.342 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:01:29 +0000 (0:00:01.653) 0:01:15.996 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:01:31 +0000 (0:00:01.496) 0:01:17.492 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:01:31 +0000 (0:00:00.037) 0:01:17.530 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:01:31 +0000 (0:00:00.081) 0:01:17.611 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:01:31 +0000 (0:00:00.049) 0:01:17.661 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:01:31 +0000 (0:00:00.066) 0:01:17.727 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:01:31 +0000 (0:00:00.028) 0:01:17.756 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:01:31 +0000 (0:00:00.059) 0:01:17.815 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:01:31 +0000 (0:00:00.043) 0:01:17.858 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:01:32 +0000 (0:00:00.448) 0:01:18.307 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:01:32 +0000 (0:00:00.047) 0:01:18.355 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:01:32 +0000 (0:00:00.063) 0:01:18.419 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:01:32 +0000 (0:00:00.063) 0:01:18.482 ***** 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, d2d75e13-72d1-427a-a6c6-3f0dce05341c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:01:32 +0000 (0:00:00.430) 0:01:18.913 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:01:32 +0000 (0:00:00.046) 0:01:18.959 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d2d75e13-72d1-427a-a6c6-3f0dce05341c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:01:32 +0000 (0:00:00.083) 0:01:19.043 ***** 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, d2d75e13-72d1-427a-a6c6-3f0dce05341c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d2d75e13-72d1-427a-a6c6-3f0dce05341c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:01:32 +0000 (0:00:00.094) 0:01:19.138 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:01:32 +0000 (0:00:00.027) 0:01:19.165 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 10 January 2024 16:01:33 +0000 (0:00:00.319) 0:01:19.485 ***** 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, d2d75e13-72d1-427a-a6c6-3f0dce05341c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d2d75e13-72d1-427a-a6c6-3f0dce05341c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 10 January 2024 16:01:33 +0000 (0:00:00.050) 0:01:19.535 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:01:33 +0000 (0:00:00.067) 0:01:19.603 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:01:33 +0000 (0:00:00.107) 0:01:19.711 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:01:33 +0000 (0:00:00.041) 0:01:19.752 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:01:33 +0000 (0:00:00.071) 0:01:19.823 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:01:33 +0000 (0:00:00.085) 0:01:19.909 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:01:35 +0000 (0:00:01.621) 0:01:21.531 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:01:36 +0000 (0:00:01.460) 0:01:22.992 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:01:36 +0000 (0:00:00.079) 0:01:23.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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:01:36 +0000 (0:00:00.035) 0:01:23.107 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:01:36 +0000 (0:00:00.033) 0:01:23.140 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:01:37 +0000 (0:00:00.216) 0:01:23.357 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:01:37 +0000 (0:00:00.120) 0:01:23.477 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:01:37 +0000 (0:00:00.068) 0:01:23.545 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:01:37 +0000 (0:00:00.096) 0:01:23.642 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:01:37 +0000 (0:00:00.500) 0:01:24.142 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:01:38 +0000 (0:00:00.069) 0:01:24.212 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:01:38 +0000 (0:00:00.082) 0:01:24.294 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:01:38 +0000 (0:00:00.040) 0:01:24.335 ***** 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, d2d75e13-72d1-427a-a6c6-3f0dce05341c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:01:38 +0000 (0:00:00.697) 0:01:25.033 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:01:38 +0000 (0:00:00.056) 0:01:25.089 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d2d75e13-72d1-427a-a6c6-3f0dce05341c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:01:38 +0000 (0:00:00.051) 0:01:25.141 ***** 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, d2d75e13-72d1-427a-a6c6-3f0dce05341c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d2d75e13-72d1-427a-a6c6-3f0dce05341c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:01:39 +0000 (0:00:00.099) 0:01:25.240 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:01:39 +0000 (0:00:00.051) 0:01:25.292 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 16:01:39 +0000 (0:00:00.281) 0:01:25.573 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:01:39 +0000 (0:00:00.104) 0:01:25.678 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:01:39 +0000 (0:00:00.055) 0:01:25.733 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:01:39 +0000 (0:00:00.046) 0:01:25.780 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:01:39 +0000 (0:00:00.042) 0:01:25.822 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:01:39 +0000 (0:00:00.069) 0:01:25.891 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:01:41 +0000 (0:00:01.563) 0:01:27.455 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:01:42 +0000 (0:00:01.401) 0:01:28.856 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:01:42 +0000 (0:00:00.046) 0:01:28.903 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:01:42 +0000 (0:00:00.081) 0:01:28.984 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:01:42 +0000 (0:00:00.083) 0:01:29.067 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:01:42 +0000 (0:00:00.081) 0:01:29.149 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:01:43 +0000 (0:00:00.030) 0:01:29.179 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:01:43 +0000 (0:00:00.031) 0:01:29.211 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:01:43 +0000 (0:00:00.049) 0:01:29.260 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:01:43 +0000 (0:00:00.412) 0:01:29.672 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:01:43 +0000 (0:00:00.035) 0:01:29.708 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:01:43 +0000 (0:00:00.024) 0:01:29.732 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:01:43 +0000 (0:00:00.032) 0:01:29.765 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:01:44 +0000 (0:00:00.660) 0:01:30.425 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:01:44 +0000 (0:00:00.023) 0:01:30.449 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:01:44 +0000 (0:00:00.022) 0:01:30.472 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:01:44 +0000 (0:00:00.044) 0:01:30.516 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:01:44 +0000 (0:00:00.023) 0:01:30.540 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:30 Wednesday 10 January 2024 16:01:44 +0000 (0:00:00.276) 0:01:30.816 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 10 January 2024 16:01:44 +0000 (0:00:00.075) 0:01:30.892 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 10 January 2024 16:01:44 +0000 (0:00:00.078) 0:01:30.971 ***** included: /WORKDIR/git-route_type4wiwlwuv/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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 10 January 2024 16:01:44 +0000 (0:00:00.090) 0:01:31.061 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 10 January 2024 16:01:44 +0000 (0:00:00.068) 0:01:31.129 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 10 January 2024 16:01:44 +0000 (0:00:00.036) 0:01:31.165 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 10 January 2024 16:01:45 +0000 (0:00:00.061) 0:01:31.226 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 10 January 2024 16:01:46 +0000 (0:00:01.625) 0:01:32.852 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 10 January 2024 16:01:48 +0000 (0:00:01.477) 0:01:34.329 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 10 January 2024 16:01:48 +0000 (0:00:00.137) 0:01:34.467 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 10 January 2024 16:01:48 +0000 (0:00:00.033) 0:01:34.500 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 10 January 2024 16:01:48 +0000 (0:00:00.028) 0:01:34.529 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:40 Wednesday 10 January 2024 16:01:48 +0000 (0:00:00.105) 0:01:34.634 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:55 Wednesday 10 January 2024 16:01:48 +0000 (0:00:00.035) 0:01:34.670 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:71 Wednesday 10 January 2024 16:01:48 +0000 (0:00:00.056) 0:01:34.726 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 Wednesday 10 January 2024 16:01:48 +0000 (0:00:00.055) 0:01:34.783 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:96 Wednesday 10 January 2024 16:01:49 +0000 (0:00:00.417) 0:01:35.200 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:105 Wednesday 10 January 2024 16:01:49 +0000 (0:00:00.059) 0:01:35.260 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:113 Wednesday 10 January 2024 16:01:49 +0000 (0:00:00.051) 0:01:35.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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 Wednesday 10 January 2024 16:01:49 +0000 (0:00:00.060) 0:01:35.372 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:134 Wednesday 10 January 2024 16:01:49 +0000 (0:00:00.460) 0:01:35.833 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:140 Wednesday 10 January 2024 16:01:49 +0000 (0:00:00.058) 0:01:35.891 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:144 Wednesday 10 January 2024 16:01:49 +0000 (0:00:00.178) 0:01:36.070 ***** 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_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:149 Wednesday 10 January 2024 16:01:49 +0000 (0:00:00.036) 0:01:36.106 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:155 Wednesday 10 January 2024 16:01:49 +0000 (0:00:00.044) 0:01:36.151 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:36 Wednesday 10 January 2024 16:01:50 +0000 (0:00:00.313) 0:01:36.465 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 10 January 2024 16:01:50 +0000 (0:00:00.230) 0:01:36.696 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 10 January 2024 16:01:50 +0000 (0:00:00.074) 0:01:36.771 ***** 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 10 January 2024 16:01:50 +0000 (0:00:00.060) 0:01:36.831 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 10 January 2024 16:01:50 +0000 (0:00:00.271) 0:01:37.103 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 10 January 2024 16:01:50 +0000 (0:00:00.045) 0:01:37.148 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021410", "end": "2024-01-10 16:01:51.215489", "rc": 1, "start": "2024-01-10 16:01:51.194079" } 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_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 10 January 2024 16:01:51 +0000 (0:00:00.334) 0:01:37.483 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 10 January 2024 16:01:51 +0000 (0:00:00.137) 0:01:37.621 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 10 January 2024 16:01:51 +0000 (0:00:00.119) 0:01:37.740 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 10 January 2024 16:01:51 +0000 (0:00:00.030) 0:01:37.770 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 10 January 2024 16:01:51 +0000 (0:00:00.117) 0:01:37.888 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 10 January 2024 16:01:51 +0000 (0:00:00.054) 0:01:37.942 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 10 January 2024 16:01:51 +0000 (0:00:00.062) 0:01:38.005 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.939127", "end": "2024-01-10 16:01:52.949647", "rc": 0, "start": "2024-01-10 16:01:52.010520" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 10 January 2024 16:01:53 +0000 (0:00:01.170) 0:01:39.176 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 10 January 2024 16:01:53 +0000 (0:00:00.033) 0:01:39.209 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:42 Wednesday 10 January 2024 16:01:53 +0000 (0:00:00.035) 0:01:39.245 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 10 January 2024 16:01:53 +0000 (0:00:00.048) 0:01:39.293 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 10 January 2024 16:01:53 +0000 (0:00:00.061) 0:01:39.355 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 10 January 2024 16:01:53 +0000 (0:00:00.288) 0:01:39.643 ***** 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_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:47 Wednesday 10 January 2024 16:01:53 +0000 (0:00:00.044) 0:01:39.687 ***** 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_type4wiwlwuv/tests/playbooks/tasks/run_test.yml:66 Wednesday 10 January 2024 16:01:53 +0000 (0:00:00.053) 0:01:39.741 ***** included: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type4wiwlwuv/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 10 January 2024 16:01:53 +0000 (0:00:00.152) 0:01:39.894 ***** 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.043557", "end": "2024-01-10 16:01:53.963485", "rc": 1, "start": "2024-01-10 16:01:53.919928" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=321 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Wednesday 10 January 2024 16:01:53 +0000 (0:00:00.279) 0:01:40.173 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.25s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.18s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 1.84s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.81s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Configure networking connection profiles --- 1.80s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.66s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.60s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.55s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.53s /WORKDIR/git-route_type4wiwlwuv/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf 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. [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. ---^---^---^---^---^---