# 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_type0_yg41s7/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/tests_states_nm.yml:6 Friday 12 January 2024 18:27:39 +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_type0_yg41s7/tests/tests_states_nm.yml:9 Friday 12 January 2024 18:27:40 +0000 (0:00:00.739) 0:00:00.751 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 18:27:40 +0000 (0:00:00.021) 0:00:00.773 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:19 Friday 12 January 2024 18:27:41 +0000 (0:00:00.350) 0:00:01.123 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:24 Friday 12 January 2024 18:27:41 +0000 (0:00:00.262) 0:00:01.386 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:28 Friday 12 January 2024 18:27:41 +0000 (0:00:00.036) 0:00:01.422 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/el_repo_setup.yml:53 Friday 12 January 2024 18:27:41 +0000 (0:00:00.038) 0:00:01.461 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 18:27:41 +0000 (0:00:00.033) 0:00:01.494 ******** 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_type0_yg41s7/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 18:27:41 +0000 (0:00:00.245) 0:00:01.739 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 18:27:41 +0000 (0:00:00.010) 0:00:01.750 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 18:27:41 +0000 (0:00:00.010) 0:00:01.760 ******** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.258848", "end": "2024-01-12 18:27:42.111503", "rc": 0, "start": "2024-01-12 18:27:41.852655" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 18:27:42 +0000 (0:00:00.452) 0:00:02.213 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/tests_states_nm.yml:11 Friday 12 January 2024 18:27:42 +0000 (0:00:00.011) 0:00:02.224 ******** 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_type0_yg41s7/tests/playbooks/tests_states.yml:3 Friday 12 January 2024 18:27:42 +0000 (0:00:00.011) 0:00:02.235 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_states.yml:11 Friday 12 January 2024 18:27:42 +0000 (0:00:00.581) 0:00:02.817 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tests_states.yml:22 Friday 12 January 2024 18:27:42 +0000 (0:00:00.010) 0:00:02.828 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:27:42 +0000 (0:00:00.015) 0:00:02.843 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:27:42 +0000 (0:00:00.010) 0:00:02.854 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:27:42 +0000 (0:00:00.032) 0:00:02.887 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:27:42 +0000 (0:00:00.016) 0:00:02.903 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:27:42 +0000 (0:00:00.015) 0:00:02.919 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003428", "end": "2024-01-12 18:27:43.011539", "rc": 0, "start": "2024-01-12 18:27:43.008111" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:27:43 +0000 (0:00:00.194) 0:00:03.114 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:27:43 +0000 (0:00:00.011) 0:00:03.125 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:27:43 +0000 (0:00:00.012) 0:00:03.138 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:27:43 +0000 (0:00:00.020) 0:00:03.158 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008318", "end": "2024-01-12 18:27:43.258670", "rc": 1, "start": "2024-01-12 18:27:43.250352" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:27:43 +0000 (0:00:00.201) 0:00:03.360 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:27:43 +0000 (0:00:00.015) 0:00:03.375 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:27:43 +0000 (0:00:00.193) 0:00:03.569 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:27:43 +0000 (0:00:00.012) 0:00:03.581 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:27:43 +0000 (0:00:00.018) 0:00:03.599 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:27:43 +0000 (0:00:00.033) 0:00:03.632 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:27:43 +0000 (0:00:00.069) 0:00:03.702 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:27:43 +0000 (0:00:00.012) 0:00:03.715 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:27:43 +0000 (0:00:00.011) 0:00:03.726 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:27:43 +0000 (0:00:00.010) 0:00:03.737 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:27:45 +0000 (0:00:01.724) 0:00:05.461 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:27:46 +0000 (0:00:01.460) 0:00:06.922 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:27:46 +0000 (0:00:00.022) 0:00:06.944 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:27:46 +0000 (0:00:00.020) 0:00:06.965 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:27:46 +0000 (0:00:00.020) 0:00:06.986 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:27:46 +0000 (0:00:00.042) 0:00:07.028 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:27:46 +0000 (0:00:00.020) 0:00:07.049 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:27:46 +0000 (0:00:00.020) 0:00:07.070 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:27:47 +0000 (0:00:00.025) 0:00:07.095 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:27:47 +0000 (0:00:00.491) 0:00:07.586 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:27:47 +0000 (0:00:00.026) 0:00:07.613 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:27:47 +0000 (0:00:00.020) 0:00:07.634 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:27:47 +0000 (0:00:00.021) 0:00:07.655 ******** 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, 9cb685d7-0efd-43e9-97cd-b0f1f890deb8 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:27:48 +0000 (0:00:00.541) 0:00:08.196 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:27:48 +0000 (0:00:00.023) 0:00:08.220 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9cb685d7-0efd-43e9-97cd-b0f1f890deb8" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:27:48 +0000 (0:00:00.024) 0:00:08.244 ******** 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, 9cb685d7-0efd-43e9-97cd-b0f1f890deb8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9cb685d7-0efd-43e9-97cd-b0f1f890deb8" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:27:48 +0000 (0:00:00.023) 0:00:08.268 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:27:48 +0000 (0:00:00.022) 0:00:08.291 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:27:48 +0000 (0:00:00.247) 0:00:08.539 ******** 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, 9cb685d7-0efd-43e9-97cd-b0f1f890deb8\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9cb685d7-0efd-43e9-97cd-b0f1f890deb8" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:27:48 +0000 (0:00:00.027) 0:00:08.567 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:27:48 +0000 (0:00:00.039) 0:00:08.606 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:27:48 +0000 (0:00:00.037) 0:00:08.644 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:27:48 +0000 (0:00:00.021) 0:00:08.666 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084068.0945451, "block_size": 4096, "blocks": 8, "ctime": 1705084068.0285482, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705084068.0285482, "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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:27:48 +0000 (0:00:00.202) 0:00:08.868 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:27:48 +0000 (0:00:00.023) 0:00:08.892 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020806", "end": "2024-01-12 18:27:49.002387", "rc": 0, "start": "2024-01-12 18:27:48.981581" } 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:27:49 +0000 (0:00:00.223) 0:00:09.115 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:27:49 +0000 (0:00:00.027) 0:00:09.143 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:27:49 +0000 (0:00:00.024) 0:00:09.168 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:27:49 +0000 (0:00:00.024) 0:00:09.192 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:27:49 +0000 (0:00:00.023) 0:00:09.216 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:27:49 +0000 (0:00:00.023) 0:00:09.240 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:27:49 +0000 (0:00:00.029) 0:00:09.269 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:27:49 +0000 (0:00:00.024) 0:00:09.294 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:27:49 +0000 (0:00:00.023) 0:00:09.318 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:27:49 +0000 (0:00:00.042) 0:00:09.360 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:27:49 +0000 (0:00:00.035) 0:00:09.396 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084068.0303955, "block_size": 4096, "blocks": 0, "ctime": 1705084068.0303955, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37428, "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": 1705084068.0303955, "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_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:27:49 +0000 (0:00:00.200) 0:00:09.597 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:27:49 +0000 (0:00:00.025) 0:00:09.622 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:27:49 +0000 (0:00:00.043) 0:00:09.666 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:27:49 +0000 (0:00:00.042) 0:00:09.708 ******** 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.059315", "end": "2024-01-12 18:27:49.854823", "rc": 1, "start": "2024-01-12 18:27:49.795508" } STDOUT: Connection 'statebr' (9cb685d7-0efd-43e9-97cd-b0f1f890deb8) 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_type0_yg41s7/tests/playbooks/tests_states.yml:45 Friday 12 January 2024 18:27:49 +0000 (0:00:00.259) 0:00:09.967 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:27:49 +0000 (0:00:00.046) 0:00:10.014 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:27:49 +0000 (0:00:00.026) 0:00:10.040 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:27:50 +0000 (0:00:00.044) 0:00:10.085 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:27:50 +0000 (0:00:00.036) 0:00:10.121 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:27:50 +0000 (0:00:00.034) 0:00:10.156 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003329", "end": "2024-01-12 18:27:50.247528", "rc": 0, "start": "2024-01-12 18:27:50.244199" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:27:50 +0000 (0:00:00.209) 0:00:10.365 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:27:50 +0000 (0:00:00.024) 0:00:10.390 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:27:50 +0000 (0:00:00.024) 0:00:10.414 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:27:50 +0000 (0:00:00.084) 0:00:10.498 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006565", "end": "2024-01-12 18:27:50.591864", "rc": 1, "start": "2024-01-12 18:27:50.585299" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:27:50 +0000 (0:00:00.205) 0:00:10.704 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:27:50 +0000 (0:00:00.036) 0:00:10.741 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:27:50 +0000 (0:00:00.202) 0:00:10.944 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:27:50 +0000 (0:00:00.023) 0:00:10.967 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 12 January 2024 18:27:50 +0000 (0:00:00.039) 0:00:11.006 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:27:50 +0000 (0:00:00.040) 0:00:11.047 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:27:51 +0000 (0:00:00.040) 0:00:11.087 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:27:51 +0000 (0:00:00.026) 0:00:11.114 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:27:51 +0000 (0:00:00.045) 0:00:11.160 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:27:51 +0000 (0:00:00.023) 0:00:11.183 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:27:52 +0000 (0:00:01.630) 0:00:12.814 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:27:54 +0000 (0:00:01.335) 0:00:14.150 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:27:54 +0000 (0:00:00.023) 0:00:14.173 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:27:54 +0000 (0:00:00.024) 0:00:14.198 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:27:54 +0000 (0:00:00.024) 0:00:14.222 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:27:54 +0000 (0:00:00.044) 0:00:14.266 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:27:54 +0000 (0:00:00.021) 0:00:14.288 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:27:54 +0000 (0:00:00.020) 0:00:14.309 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:27:54 +0000 (0:00:00.027) 0:00:14.336 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:27:54 +0000 (0:00:00.355) 0:00:14.691 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:27:54 +0000 (0:00:00.025) 0:00:14.717 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:27:54 +0000 (0:00:00.021) 0:00:14.738 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:27:54 +0000 (0:00:00.021) 0:00:14.760 ******** 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, c7da1722-981f-494b-9fba-bbfdbb45df1b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:27:55 +0000 (0:00:00.347) 0:00:15.108 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:27:55 +0000 (0:00:00.057) 0:00:15.165 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c7da1722-981f-494b-9fba-bbfdbb45df1b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:27:55 +0000 (0:00:00.024) 0:00:15.189 ******** 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, c7da1722-981f-494b-9fba-bbfdbb45df1b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c7da1722-981f-494b-9fba-bbfdbb45df1b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:27:55 +0000 (0:00:00.025) 0:00:15.215 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:27:55 +0000 (0:00:00.022) 0:00:15.237 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 12 January 2024 18:27:55 +0000 (0:00:00.197) 0:00:15.435 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c7da1722-981f-494b-9fba-bbfdbb45df1b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c7da1722-981f-494b-9fba-bbfdbb45df1b" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:27:55 +0000 (0:00:00.024) 0:00:15.460 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:27:55 +0000 (0:00:00.045) 0:00:15.505 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:27:55 +0000 (0:00:00.037) 0:00:15.543 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:27:55 +0000 (0:00:00.206) 0:00:15.749 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:27:55 +0000 (0:00:00.024) 0:00:15.774 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:27:55 +0000 (0:00:00.039) 0:00:15.813 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:27:55 +0000 (0:00:00.024) 0:00:15.838 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084074.9832222, "block_size": 4096, "blocks": 8, "ctime": 1705084074.9832222, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705084074.9832222, "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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:27:55 +0000 (0:00:00.225) 0:00:16.064 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:27:56 +0000 (0:00:00.023) 0:00:16.087 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020259", "end": "2024-01-12 18:27:56.199154", "rc": 0, "start": "2024-01-12 18:27:56.178895" } 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:27:56 +0000 (0:00:00.225) 0:00:16.313 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:27:56 +0000 (0:00:00.025) 0:00:16.338 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:27:56 +0000 (0:00:00.024) 0:00:16.363 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:27:56 +0000 (0:00:00.024) 0:00:16.388 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:27:56 +0000 (0:00:00.024) 0:00:16.412 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:27:56 +0000 (0:00:00.023) 0:00:16.436 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:27:56 +0000 (0:00:00.025) 0:00:16.462 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:27:56 +0000 (0:00:00.024) 0:00:16.487 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:27:56 +0000 (0:00:00.024) 0:00:16.511 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:27:56 +0000 (0:00:00.021) 0:00:16.533 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:27:56 +0000 (0:00:00.027) 0:00:16.561 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:27:56 +0000 (0:00:00.042) 0:00:16.603 ******** 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.041064", "end": "2024-01-12 18:27:56.734468", "rc": 1, "start": "2024-01-12 18:27:56.693404" } STDOUT: Connection 'statebr' (c7da1722-981f-494b-9fba-bbfdbb45df1b) 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_type0_yg41s7/tests/playbooks/tests_states.yml:65 Friday 12 January 2024 18:27:56 +0000 (0:00:00.241) 0:00:16.845 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:27:56 +0000 (0:00:00.038) 0:00:16.884 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:27:56 +0000 (0:00:00.023) 0:00:16.907 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:27:56 +0000 (0:00:00.045) 0:00:16.953 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:27:56 +0000 (0:00:00.035) 0:00:16.989 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:27:56 +0000 (0:00:00.036) 0:00:17.025 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003349", "end": "2024-01-12 18:27:57.116838", "rc": 0, "start": "2024-01-12 18:27:57.113489" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:27:57 +0000 (0:00:00.206) 0:00:17.231 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:27:57 +0000 (0:00:00.025) 0:00:17.256 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:27:57 +0000 (0:00:00.024) 0:00:17.281 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:27:57 +0000 (0:00:00.040) 0:00:17.322 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:27:57 +0000 (0:00:00.065) 0:00:17.387 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:27:57 +0000 (0:00:00.041) 0:00:17.429 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:27:57 +0000 (0:00:00.027) 0:00:17.457 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:27:57 +0000 (0:00:00.022) 0:00:17.479 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:27:57 +0000 (0:00:00.021) 0:00:17.501 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:27:59 +0000 (0:00:01.625) 0:00:19.126 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:28:00 +0000 (0:00:01.339) 0:00:20.465 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:28:00 +0000 (0:00:00.022) 0:00:20.488 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:28:00 +0000 (0:00:00.021) 0:00:20.509 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:28:00 +0000 (0:00:00.021) 0:00:20.530 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:28:00 +0000 (0:00:00.045) 0:00:20.576 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:28:00 +0000 (0:00:00.022) 0:00:20.598 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:28:00 +0000 (0:00:00.020) 0:00:20.619 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:28:00 +0000 (0:00:00.025) 0:00:20.645 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:28:00 +0000 (0:00:00.352) 0:00:20.997 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:28:00 +0000 (0:00:00.025) 0:00:21.022 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:28:00 +0000 (0:00:00.045) 0:00:21.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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:28:01 +0000 (0:00:00.022) 0:00:21.090 ******** 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, fa67445a-c41d-437f-86cd-15999f55faa9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:28:01 +0000 (0:00:00.418) 0:00:21.509 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:28:01 +0000 (0:00:00.023) 0:00:21.533 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fa67445a-c41d-437f-86cd-15999f55faa9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:28:01 +0000 (0:00:00.024) 0:00:21.557 ******** 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, fa67445a-c41d-437f-86cd-15999f55faa9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fa67445a-c41d-437f-86cd-15999f55faa9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:28:01 +0000 (0:00:00.024) 0:00:21.582 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:28:01 +0000 (0:00:00.022) 0:00:21.604 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:28:01 +0000 (0:00:00.200) 0:00:21.805 ******** 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, fa67445a-c41d-437f-86cd-15999f55faa9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fa67445a-c41d-437f-86cd-15999f55faa9" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:28:01 +0000 (0:00:00.023) 0:00:21.829 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:28:01 +0000 (0:00:00.037) 0:00:21.867 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:28:01 +0000 (0:00:00.042) 0:00:21.910 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:28:01 +0000 (0:00:00.068) 0:00:21.978 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:28:01 +0000 (0:00:00.028) 0:00:22.007 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:28:01 +0000 (0:00:00.023) 0:00:22.030 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:28:01 +0000 (0:00:00.023) 0:00:22.053 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:28:03 +0000 (0:00:01.650) 0:00:23.704 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:28:04 +0000 (0:00:01.354) 0:00:25.058 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:28:04 +0000 (0:00:00.023) 0:00:25.082 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:28:05 +0000 (0:00:00.023) 0:00:25.106 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:28:05 +0000 (0:00:00.024) 0:00:25.130 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:28:05 +0000 (0:00:00.044) 0:00:25.174 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:28:05 +0000 (0:00:00.023) 0:00:25.197 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:28:05 +0000 (0:00:00.022) 0:00:25.220 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:28:05 +0000 (0:00:00.025) 0:00:25.245 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:28:05 +0000 (0:00:00.353) 0:00:25.599 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:28:05 +0000 (0:00:00.028) 0:00:25.627 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:28:05 +0000 (0:00:00.021) 0:00:25.649 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:28:05 +0000 (0:00:00.022) 0:00:25.671 ******** 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, fa67445a-c41d-437f-86cd-15999f55faa9 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:28:05 +0000 (0:00:00.371) 0:00:26.042 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:28:06 +0000 (0:00:00.045) 0:00:26.088 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fa67445a-c41d-437f-86cd-15999f55faa9 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:28:06 +0000 (0:00:00.024) 0:00:26.112 ******** 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, fa67445a-c41d-437f-86cd-15999f55faa9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fa67445a-c41d-437f-86cd-15999f55faa9 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:28:06 +0000 (0:00:00.023) 0:00:26.136 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:28:06 +0000 (0:00:00.022) 0:00:26.158 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:28:06 +0000 (0:00:00.195) 0:00:26.354 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:28:06 +0000 (0:00:00.044) 0:00:26.398 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:28:06 +0000 (0:00:00.037) 0:00:26.436 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084081.333426, "block_size": 4096, "blocks": 0, "ctime": 1705084081.333426, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37559, "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": 1705084081.333426, "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_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:28:06 +0000 (0:00:00.205) 0:00:26.641 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:28:06 +0000 (0:00:00.026) 0:00:26.668 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:28:06 +0000 (0:00:00.038) 0:00:26.707 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:28:06 +0000 (0:00:00.022) 0:00:26.730 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084081.3769224, "block_size": 4096, "blocks": 8, "ctime": 1705084081.3309245, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5533388, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705084081.3309245, "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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:28:06 +0000 (0:00:00.231) 0:00:26.961 ******** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:28:06 +0000 (0:00:00.024) 0:00:26.986 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021070", "end": "2024-01-12 18:28:07.096579", "rc": 0, "start": "2024-01-12 18:28:07.075509" } 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:28:07 +0000 (0:00:00.224) 0:00:27.210 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:28:07 +0000 (0:00:00.026) 0:00:27.237 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:28:07 +0000 (0:00:00.028) 0:00:27.265 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:28:07 +0000 (0:00:00.026) 0:00:27.291 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:28:07 +0000 (0:00:00.024) 0:00:27.316 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:28:07 +0000 (0:00:00.026) 0:00:27.343 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:28:07 +0000 (0:00:00.025) 0:00:27.368 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:28:07 +0000 (0:00:00.025) 0:00:27.393 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:28:07 +0000 (0:00:00.026) 0:00:27.420 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:28:07 +0000 (0:00:00.021) 0:00:27.441 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:28:07 +0000 (0:00:00.023) 0:00:27.464 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:28:07 +0000 (0:00:00.044) 0:00:27.509 ******** 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.064190", "end": "2024-01-12 18:28:07.663602", "rc": 1, "start": "2024-01-12 18:28:07.599412" } STDOUT: Connection 'statebr' (fa67445a-c41d-437f-86cd-15999f55faa9) 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_type0_yg41s7/tests/playbooks/tests_states.yml:83 Friday 12 January 2024 18:28:07 +0000 (0:00:00.295) 0:00:27.804 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:28:07 +0000 (0:00:00.039) 0:00:27.844 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:28:07 +0000 (0:00:00.023) 0:00:27.867 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:28:07 +0000 (0:00:00.045) 0:00:27.913 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:28:07 +0000 (0:00:00.037) 0:00:27.950 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:28:07 +0000 (0:00:00.037) 0:00:27.987 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003336", "end": "2024-01-12 18:28:08.083593", "rc": 0, "start": "2024-01-12 18:28:08.080257" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:28:08 +0000 (0:00:00.209) 0:00:28.197 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:28:08 +0000 (0:00:00.023) 0:00:28.220 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:28:08 +0000 (0:00:00.023) 0:00:28.243 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:28:08 +0000 (0:00:00.044) 0:00:28.287 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:28:08 +0000 (0:00:00.065) 0:00:28.353 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:28:08 +0000 (0:00:00.043) 0:00:28.396 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:28:08 +0000 (0:00:00.029) 0:00:28.426 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:28:08 +0000 (0:00:00.023) 0:00:28.449 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:28:08 +0000 (0:00:00.024) 0:00:28.474 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:28:10 +0000 (0:00:01.637) 0:00:30.112 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:28:11 +0000 (0:00:01.340) 0:00:31.453 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:28:11 +0000 (0:00:00.023) 0:00:31.477 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:28:11 +0000 (0:00:00.022) 0:00:31.499 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:28:11 +0000 (0:00:00.021) 0:00:31.520 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:28:11 +0000 (0:00:00.044) 0:00:31.565 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:28:11 +0000 (0:00:00.022) 0:00:31.587 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:28:11 +0000 (0:00:00.021) 0:00:31.609 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:28:11 +0000 (0:00:00.026) 0:00:31.636 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:28:11 +0000 (0:00:00.351) 0:00:31.988 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:28:11 +0000 (0:00:00.026) 0:00:32.014 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:28:11 +0000 (0:00:00.047) 0:00:32.062 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:28:12 +0000 (0:00:00.022) 0:00:32.085 ******** 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, a205b8c3-6b5a-4dd5-a703-54ad9325e1a7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:28:12 +0000 (0:00:00.392) 0:00:32.477 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:28:12 +0000 (0:00:00.023) 0:00:32.500 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a205b8c3-6b5a-4dd5-a703-54ad9325e1a7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:28:12 +0000 (0:00:00.024) 0:00:32.525 ******** 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, a205b8c3-6b5a-4dd5-a703-54ad9325e1a7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a205b8c3-6b5a-4dd5-a703-54ad9325e1a7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:28:12 +0000 (0:00:00.026) 0:00:32.551 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:28:12 +0000 (0:00:00.023) 0:00:32.575 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:28:12 +0000 (0:00:00.200) 0:00:32.775 ******** 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, a205b8c3-6b5a-4dd5-a703-54ad9325e1a7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a205b8c3-6b5a-4dd5-a703-54ad9325e1a7" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:28:12 +0000 (0:00:00.023) 0:00:32.799 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:28:12 +0000 (0:00:00.037) 0:00:32.836 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:28:12 +0000 (0:00:00.040) 0:00:32.877 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:28:12 +0000 (0:00:00.028) 0:00:32.905 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:28:12 +0000 (0:00:00.050) 0:00:32.955 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:28:12 +0000 (0:00:00.022) 0:00:32.978 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:28:14 +0000 (0:00:01.651) 0:00:34.630 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:28:15 +0000 (0:00:01.314) 0:00:35.944 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:28:15 +0000 (0:00:00.040) 0:00:35.984 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:28:15 +0000 (0:00:00.022) 0:00:36.007 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:28:15 +0000 (0:00:00.021) 0:00:36.028 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:28:15 +0000 (0:00:00.045) 0:00:36.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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:28:16 +0000 (0:00:00.023) 0:00:36.097 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:28:16 +0000 (0:00:00.021) 0:00:36.118 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:28:16 +0000 (0:00:00.025) 0:00:36.143 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:28:16 +0000 (0:00:00.354) 0:00:36.498 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:28:16 +0000 (0:00:00.027) 0:00:36.526 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:28:16 +0000 (0:00:00.031) 0:00:36.557 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:28:16 +0000 (0:00:00.022) 0:00:36.579 ******** 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, a205b8c3-6b5a-4dd5-a703-54ad9325e1a7 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:28:16 +0000 (0:00:00.343) 0:00:36.922 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:28:16 +0000 (0:00:00.022) 0:00:36.945 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a205b8c3-6b5a-4dd5-a703-54ad9325e1a7 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:28:16 +0000 (0:00:00.022) 0:00:36.968 ******** 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, a205b8c3-6b5a-4dd5-a703-54ad9325e1a7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a205b8c3-6b5a-4dd5-a703-54ad9325e1a7 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:28:16 +0000 (0:00:00.049) 0:00:37.018 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:28:16 +0000 (0:00:00.023) 0:00:37.041 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:28:17 +0000 (0:00:00.197) 0:00:37.239 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:28:17 +0000 (0:00:00.041) 0:00:37.280 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:28:17 +0000 (0:00:00.042) 0:00:37.323 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:28:17 +0000 (0:00:00.041) 0:00:37.364 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:28:17 +0000 (0:00:00.027) 0:00:37.391 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:28:17 +0000 (0:00:00.022) 0:00:37.414 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:28:17 +0000 (0:00:00.020) 0:00:37.434 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:28:18 +0000 (0:00:01.630) 0:00:39.065 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:28:20 +0000 (0:00:01.314) 0:00:40.379 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:28:20 +0000 (0:00:00.022) 0:00:40.402 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:28:20 +0000 (0:00:00.021) 0:00:40.423 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:28:20 +0000 (0:00:00.021) 0:00:40.445 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:28:20 +0000 (0:00:00.067) 0:00:40.513 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:28:20 +0000 (0:00:00.022) 0:00:40.536 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:28:20 +0000 (0:00:00.022) 0:00:40.558 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:28:20 +0000 (0:00:00.025) 0:00:40.584 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:28:20 +0000 (0:00:00.350) 0:00:40.934 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:28:20 +0000 (0:00:00.025) 0:00:40.960 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:28:20 +0000 (0:00:00.022) 0:00:40.983 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:28:20 +0000 (0:00:00.020) 0:00:41.004 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:28:21 +0000 (0:00:00.359) 0:00:41.363 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:28:21 +0000 (0:00:00.022) 0:00:41.386 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:28:21 +0000 (0:00:00.023) 0:00:41.409 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:28:21 +0000 (0:00:00.023) 0:00:41.433 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:28:21 +0000 (0:00:00.023) 0:00:41.456 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:28:21 +0000 (0:00:00.225) 0:00:41.681 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:28:21 +0000 (0:00:00.047) 0:00:41.729 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:28:21 +0000 (0:00:00.038) 0:00:41.768 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705084092.3126202, "block_size": 4096, "blocks": 0, "ctime": 1705084092.3126202, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 37690, "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": 1705084092.3126202, "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_type0_yg41s7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:28:21 +0000 (0:00:00.203) 0:00:41.972 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:28:21 +0000 (0:00:00.024) 0:00:41.997 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:28:21 +0000 (0:00:00.038) 0:00:42.036 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:28:21 +0000 (0:00:00.022) 0:00:42.058 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:28:22 +0000 (0:00:00.200) 0:00:42.259 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:28:22 +0000 (0:00:00.021) 0:00:42.280 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020317", "end": "2024-01-12 18:28:22.388698", "rc": 1, "start": "2024-01-12 18:28:22.368381" } 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:28:22 +0000 (0:00:00.220) 0:00:42.500 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:28:22 +0000 (0:00:00.023) 0:00:42.524 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:28:22 +0000 (0:00:00.022) 0:00:42.546 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:28:22 +0000 (0:00:00.047) 0:00:42.594 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:28:22 +0000 (0:00:00.024) 0:00:42.618 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:28:22 +0000 (0:00:00.022) 0:00:42.640 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:28:22 +0000 (0:00:00.025) 0:00:42.666 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:28:22 +0000 (0:00:00.021) 0:00:42.687 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:28:22 +0000 (0:00:00.021) 0:00:42.709 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:28:22 +0000 (0:00:00.042) 0:00:42.751 ******** 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.075260", "end": "2024-01-12 18:28:22.914663", "rc": 1, "start": "2024-01-12 18:28:22.839403" } STDOUT: Connection 'statebr' (a205b8c3-6b5a-4dd5-a703-54ad9325e1a7) 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_type0_yg41s7/tests/playbooks/tests_states.yml:103 Friday 12 January 2024 18:28:22 +0000 (0:00:00.276) 0:00:43.027 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:28:22 +0000 (0:00:00.038) 0:00:43.066 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:28:23 +0000 (0:00:00.021) 0:00:43.088 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:28:23 +0000 (0:00:00.045) 0:00:43.133 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:28:23 +0000 (0:00:00.035) 0:00:43.169 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:28:23 +0000 (0:00:00.059) 0:00:43.228 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003355", "end": "2024-01-12 18:28:23.323097", "rc": 0, "start": "2024-01-12 18:28:23.319742" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:28:23 +0000 (0:00:00.208) 0:00:43.437 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:28:23 +0000 (0:00:00.023) 0:00:43.460 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:28:23 +0000 (0:00:00.022) 0:00:43.482 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:28:23 +0000 (0:00:00.045) 0:00:43.527 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:28:23 +0000 (0:00:00.036) 0:00:43.564 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:28:23 +0000 (0:00:00.041) 0:00:43.606 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:28:23 +0000 (0:00:00.028) 0:00:43.634 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:28:23 +0000 (0:00:00.021) 0:00:43.655 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:28:23 +0000 (0:00:00.021) 0:00:43.677 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:28:25 +0000 (0:00:01.652) 0:00:45.329 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:28:26 +0000 (0:00:01.321) 0:00:46.650 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:28:26 +0000 (0:00:00.024) 0:00:46.675 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:28:26 +0000 (0:00:00.047) 0:00:46.723 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:28:26 +0000 (0:00:00.023) 0:00:46.746 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:28:26 +0000 (0:00:00.047) 0:00:46.794 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:28:26 +0000 (0:00:00.032) 0:00:46.826 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:28:26 +0000 (0:00:00.023) 0:00:46.849 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:28:26 +0000 (0:00:00.028) 0:00:46.878 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:28:27 +0000 (0:00:00.359) 0:00:47.238 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:28:27 +0000 (0:00:00.025) 0:00:47.263 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:28:27 +0000 (0:00:00.021) 0:00:47.285 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:28:27 +0000 (0:00:00.021) 0:00:47.307 ******** 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, f23f52e9-2580-4e17-b097-ffe607d22860 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:28:27 +0000 (0:00:00.394) 0:00:47.701 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:28:27 +0000 (0:00:00.022) 0:00:47.723 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f23f52e9-2580-4e17-b097-ffe607d22860" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:28:27 +0000 (0:00:00.023) 0:00:47.747 ******** 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, f23f52e9-2580-4e17-b097-ffe607d22860\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f23f52e9-2580-4e17-b097-ffe607d22860" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:28:27 +0000 (0:00:00.023) 0:00:47.770 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:28:27 +0000 (0:00:00.047) 0:00:47.818 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:28:27 +0000 (0:00:00.203) 0:00:48.022 ******** 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, f23f52e9-2580-4e17-b097-ffe607d22860\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f23f52e9-2580-4e17-b097-ffe607d22860" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:28:27 +0000 (0:00:00.024) 0:00:48.046 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:28:27 +0000 (0:00:00.036) 0:00:48.083 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:28:28 +0000 (0:00:00.041) 0:00:48.124 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:28:28 +0000 (0:00:00.028) 0:00:48.152 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:28:28 +0000 (0:00:00.022) 0:00:48.174 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:28:28 +0000 (0:00:00.020) 0:00:48.195 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:28:29 +0000 (0:00:01.637) 0:00:49.833 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:28:31 +0000 (0:00:01.318) 0:00:51.151 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:28:31 +0000 (0:00:00.023) 0:00:51.175 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:28:31 +0000 (0:00:00.022) 0:00:51.198 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:28:31 +0000 (0:00:00.021) 0:00:51.219 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:28:31 +0000 (0:00:00.045) 0:00:51.264 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:28:31 +0000 (0:00:00.023) 0:00:51.287 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:28:31 +0000 (0:00:00.021) 0:00:51.308 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:28:31 +0000 (0:00:00.051) 0:00:51.360 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:28:31 +0000 (0:00:00.351) 0:00:51.711 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:28:31 +0000 (0:00:00.025) 0:00:51.736 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:28:31 +0000 (0:00:00.021) 0:00:51.758 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:28:31 +0000 (0:00:00.020) 0:00:51.779 ******** 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, f23f52e9-2580-4e17-b097-ffe607d22860 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:28:32 +0000 (0:00:00.342) 0:00:52.121 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:28:32 +0000 (0:00:00.023) 0:00:52.145 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f23f52e9-2580-4e17-b097-ffe607d22860 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:28:32 +0000 (0:00:00.023) 0:00:52.168 ******** 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, f23f52e9-2580-4e17-b097-ffe607d22860 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f23f52e9-2580-4e17-b097-ffe607d22860 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:28:32 +0000 (0:00:00.024) 0:00:52.192 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:28:32 +0000 (0:00:00.022) 0:00:52.215 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:28:32 +0000 (0:00:00.204) 0:00:52.420 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:28:32 +0000 (0:00:00.037) 0:00:52.457 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:28:32 +0000 (0:00:00.073) 0:00:52.531 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:28:32 +0000 (0:00:00.029) 0:00:52.560 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:28:32 +0000 (0:00:00.023) 0:00:52.584 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:28:32 +0000 (0:00:00.023) 0:00:52.607 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:28:34 +0000 (0:00:01.633) 0:00:54.240 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:28:35 +0000 (0:00:01.313) 0:00:55.554 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:28:35 +0000 (0:00:00.023) 0:00:55.578 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:28:35 +0000 (0:00:00.023) 0:00:55.602 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:28:35 +0000 (0:00:00.024) 0:00:55.626 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:28:35 +0000 (0:00:00.047) 0:00:55.673 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:28:35 +0000 (0:00:00.023) 0:00:55.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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:28:35 +0000 (0:00:00.022) 0:00:55.719 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:28:35 +0000 (0:00:00.025) 0:00:55.745 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:28:36 +0000 (0:00:00.349) 0:00:56.095 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:28:36 +0000 (0:00:00.025) 0:00:56.120 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:28:36 +0000 (0:00:00.024) 0:00:56.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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:28:36 +0000 (0:00:00.050) 0:00:56.196 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:28:36 +0000 (0:00:00.366) 0:00:56.562 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:28:36 +0000 (0:00:00.023) 0:00:56.585 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:28:36 +0000 (0:00:00.026) 0:00:56.611 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:28:36 +0000 (0:00:00.024) 0:00:56.636 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:28:36 +0000 (0:00:00.023) 0:00:56.659 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:28:36 +0000 (0:00:00.195) 0:00:56.855 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:28:36 +0000 (0:00:00.042) 0:00:56.897 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:28:36 +0000 (0:00:00.042) 0:00:56.940 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:28:36 +0000 (0:00:00.043) 0:00:56.983 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:28:36 +0000 (0:00:00.028) 0:00:57.012 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:28:36 +0000 (0:00:00.064) 0:00:57.077 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:28:37 +0000 (0:00:00.023) 0:00:57.100 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:28:39 +0000 (0:00:02.644) 0:00:59.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:28:41 +0000 (0:00:01.339) 0:01:01.084 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:28:41 +0000 (0:00:00.049) 0:01:01.133 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:28:41 +0000 (0:00:00.024) 0:01:01.158 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:28:41 +0000 (0:00:00.025) 0:01:01.183 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:28:41 +0000 (0:00:00.050) 0:01:01.234 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:28:41 +0000 (0:00:00.023) 0:01:01.257 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:28:41 +0000 (0:00:00.022) 0:01:01.280 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:28:41 +0000 (0:00:00.026) 0:01:01.307 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:28:41 +0000 (0:00:00.352) 0:01:01.659 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:28:41 +0000 (0:00:00.035) 0:01:01.695 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:28:41 +0000 (0:00:00.025) 0:01:01.720 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:28:41 +0000 (0:00:00.022) 0:01:01.743 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:28:42 +0000 (0:00:00.416) 0:01:02.159 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:28:42 +0000 (0:00:00.023) 0:01:02.183 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:28:42 +0000 (0:00:00.024) 0:01:02.207 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:28:42 +0000 (0:00:00.056) 0:01:02.264 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:28:42 +0000 (0:00:00.023) 0:01:02.288 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:28:42 +0000 (0:00:00.199) 0:01:02.487 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:28:42 +0000 (0:00:00.041) 0:01:02.528 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:28:42 +0000 (0:00:00.039) 0:01:02.567 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:28:42 +0000 (0:00:00.022) 0:01:02.590 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:28:42 +0000 (0:00:00.202) 0:01:02.793 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:28:42 +0000 (0:00:00.023) 0:01:02.816 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019805", "end": "2024-01-12 18:28:42.927974", "rc": 1, "start": "2024-01-12 18:28:42.908169" } 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:28:42 +0000 (0:00:00.224) 0:01:03.041 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:28:42 +0000 (0:00:00.025) 0:01:03.066 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:28:43 +0000 (0:00:00.026) 0:01:03.092 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:28:43 +0000 (0:00:00.030) 0:01:03.123 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:28:43 +0000 (0:00:00.072) 0:01:03.195 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:28:43 +0000 (0:00:00.027) 0:01:03.223 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:28:43 +0000 (0:00:00.027) 0:01:03.251 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:28:43 +0000 (0:00:00.044) 0:01:03.295 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:28:43 +0000 (0:00:00.036) 0:01:03.332 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:28:43 +0000 (0:00:00.207) 0:01:03.539 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:28:43 +0000 (0:00:00.028) 0:01:03.568 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:28:43 +0000 (0:00:00.025) 0:01:03.594 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:28:43 +0000 (0:00:00.043) 0:01:03.637 ******** 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.041646", "end": "2024-01-12 18:28:43.768880", "rc": 1, "start": "2024-01-12 18:28:43.727234" } 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_type0_yg41s7/tests/playbooks/tests_states.yml:126 Friday 12 January 2024 18:28:43 +0000 (0:00:00.244) 0:01:03.882 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:28:43 +0000 (0:00:00.038) 0:01:03.921 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:28:43 +0000 (0:00:00.060) 0:01:03.981 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:28:43 +0000 (0:00:00.047) 0:01:04.029 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:28:44 +0000 (0:00:00.057) 0:01:04.086 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:28:44 +0000 (0:00:00.036) 0:01:04.122 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003349", "end": "2024-01-12 18:28:44.214957", "rc": 0, "start": "2024-01-12 18:28:44.211608" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:28:44 +0000 (0:00:00.206) 0:01:04.328 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:28:44 +0000 (0:00:00.023) 0:01:04.352 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:28:44 +0000 (0:00:00.022) 0:01:04.374 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:28:44 +0000 (0:00:00.045) 0:01:04.419 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:28:44 +0000 (0:00:00.038) 0:01:04.457 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:28:44 +0000 (0:00:00.040) 0:01:04.498 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:28:44 +0000 (0:00:00.052) 0:01:04.551 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:28:44 +0000 (0:00:00.022) 0:01:04.573 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:28:44 +0000 (0:00:00.022) 0:01:04.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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:28:46 +0000 (0:00:01.626) 0:01:06.223 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:28:47 +0000 (0:00:01.335) 0:01:07.558 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:28:47 +0000 (0:00:00.024) 0:01:07.582 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:28:47 +0000 (0:00:00.021) 0:01:07.603 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:28:47 +0000 (0:00:00.022) 0:01:07.626 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:28:47 +0000 (0:00:00.045) 0:01:07.671 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:28:47 +0000 (0:00:00.023) 0:01:07.694 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:28:47 +0000 (0:00:00.023) 0:01:07.718 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:28:47 +0000 (0:00:00.026) 0:01:07.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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:28:48 +0000 (0:00:00.351) 0:01:08.096 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:28:48 +0000 (0:00:00.027) 0:01:08.124 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:28:48 +0000 (0:00:00.021) 0:01:08.146 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:28:48 +0000 (0:00:00.021) 0:01:08.167 ******** 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, 6ef87838-000c-4541-9240-8f5969e79eaf TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:28:48 +0000 (0:00:00.382) 0:01:08.550 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:28:48 +0000 (0:00:00.049) 0:01:08.599 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6ef87838-000c-4541-9240-8f5969e79eaf" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:28:48 +0000 (0:00:00.023) 0:01:08.623 ******** 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, 6ef87838-000c-4541-9240-8f5969e79eaf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6ef87838-000c-4541-9240-8f5969e79eaf" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:28:48 +0000 (0:00:00.024) 0:01:08.648 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:28:48 +0000 (0:00:00.023) 0:01:08.672 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:28:48 +0000 (0:00:00.200) 0:01:08.872 ******** 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, 6ef87838-000c-4541-9240-8f5969e79eaf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6ef87838-000c-4541-9240-8f5969e79eaf" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:28:48 +0000 (0:00:00.023) 0:01:08.895 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:28:48 +0000 (0:00:00.037) 0:01:08.933 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:28:48 +0000 (0:00:00.041) 0:01:08.974 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:28:48 +0000 (0:00:00.027) 0:01:09.002 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:28:48 +0000 (0:00:00.022) 0:01:09.024 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:28:48 +0000 (0:00:00.020) 0:01:09.045 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:28:50 +0000 (0:00:01.647) 0:01:10.692 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:28:51 +0000 (0:00:01.313) 0:01:12.006 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:28:51 +0000 (0:00:00.023) 0:01:12.030 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:28:51 +0000 (0:00:00.022) 0:01:12.052 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:28:51 +0000 (0:00:00.021) 0:01:12.074 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:28:52 +0000 (0:00:00.065) 0:01:12.140 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:28:52 +0000 (0:00:00.022) 0:01:12.163 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:28:52 +0000 (0:00:00.021) 0:01:12.184 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:28:52 +0000 (0:00:00.025) 0:01:12.210 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:28:52 +0000 (0:00:00.356) 0:01:12.567 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:28:52 +0000 (0:00:00.026) 0:01:12.593 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:28:52 +0000 (0:00:00.021) 0:01:12.615 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:28:52 +0000 (0:00:00.020) 0:01:12.636 ******** 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, 6ef87838-000c-4541-9240-8f5969e79eaf skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:28:52 +0000 (0:00:00.339) 0:01:12.975 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:28:52 +0000 (0:00:00.024) 0:01:12.999 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6ef87838-000c-4541-9240-8f5969e79eaf skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:28:52 +0000 (0:00:00.025) 0:01:13.025 ******** 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, 6ef87838-000c-4541-9240-8f5969e79eaf skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6ef87838-000c-4541-9240-8f5969e79eaf skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:28:52 +0000 (0:00:00.046) 0:01:13.071 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:28:53 +0000 (0:00:00.032) 0:01:13.104 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:28:53 +0000 (0:00:00.229) 0:01:13.334 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:28:53 +0000 (0:00:00.038) 0:01:13.372 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:28:53 +0000 (0:00:00.042) 0:01:13.415 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:28:53 +0000 (0:00:00.042) 0:01:13.458 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:28:53 +0000 (0:00:00.025) 0:01:13.483 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:28:53 +0000 (0:00:00.026) 0:01:13.509 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:28:55 +0000 (0:00:01.664) 0:01:15.174 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:28:56 +0000 (0:00:01.338) 0:01:16.512 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:28:56 +0000 (0:00:00.024) 0:01:16.537 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:28:56 +0000 (0:00:00.024) 0:01:16.561 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:28:56 +0000 (0:00:00.023) 0:01:16.584 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:28:56 +0000 (0:00:00.044) 0:01:16.629 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:28:56 +0000 (0:00:00.022) 0:01:16.652 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:28:56 +0000 (0:00:00.022) 0:01:16.675 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:28:56 +0000 (0:00:00.024) 0:01:16.699 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:28:56 +0000 (0:00:00.380) 0:01:17.079 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:28:57 +0000 (0:00:00.026) 0:01:17.106 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:28:57 +0000 (0:00:00.023) 0:01:17.130 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:28:57 +0000 (0:00:00.023) 0:01:17.154 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:28:57 +0000 (0:00:00.400) 0:01:17.554 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:28:57 +0000 (0:00:00.023) 0:01:17.577 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:28:57 +0000 (0:00:00.024) 0:01:17.602 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:28:57 +0000 (0:00:00.024) 0:01:17.627 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:28:57 +0000 (0:00:00.023) 0:01:17.650 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:28:57 +0000 (0:00:00.199) 0:01:17.850 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:28:57 +0000 (0:00:00.040) 0:01:17.891 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:28:57 +0000 (0:00:00.038) 0:01:17.929 ******** included: /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:28:57 +0000 (0:00:00.075) 0:01:18.004 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:28:57 +0000 (0:00:00.029) 0:01:18.033 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:28:57 +0000 (0:00:00.023) 0:01:18.057 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:28:57 +0000 (0:00:00.024) 0:01:18.081 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:28:59 +0000 (0:00:01.649) 0:01:19.731 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:29:00 +0000 (0:00:01.318) 0:01:21.049 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:29:00 +0000 (0:00:00.023) 0:01:21.073 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:29:01 +0000 (0:00:00.022) 0:01:21.095 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:29:01 +0000 (0:00:00.022) 0:01:21.117 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:29:01 +0000 (0:00:00.044) 0:01:21.162 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:29:01 +0000 (0:00:00.023) 0:01:21.185 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:29:01 +0000 (0:00:00.023) 0:01:21.209 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:29:01 +0000 (0:00:00.026) 0:01:21.235 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:29:01 +0000 (0:00:00.355) 0:01:21.591 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:29:01 +0000 (0:00:00.027) 0:01:21.619 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:29:01 +0000 (0:00:00.022) 0:01:21.641 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:29:01 +0000 (0:00:00.020) 0:01:21.662 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:29:01 +0000 (0:00:00.378) 0:01:22.041 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:29:01 +0000 (0:00:00.022) 0:01:22.063 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:29:02 +0000 (0:00:00.023) 0:01:22.087 ******** 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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:29:02 +0000 (0:00:00.025) 0:01:22.113 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:29:02 +0000 (0:00:00.023) 0:01:22.136 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:29:02 +0000 (0:00:00.200) 0:01:22.337 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:29:02 +0000 (0:00:00.045) 0:01:22.382 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:29:02 +0000 (0:00:00.038) 0:01:22.421 ******** 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:29:02 +0000 (0:00:00.022) 0:01:22.443 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:29:02 +0000 (0:00:00.203) 0:01:22.647 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:29:02 +0000 (0:00:00.023) 0:01:22.671 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019520", "end": "2024-01-12 18:29:02.779599", "rc": 1, "start": "2024-01-12 18:29:02.760079" } 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_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:29:02 +0000 (0:00:00.249) 0:01:22.920 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:29:02 +0000 (0:00:00.024) 0:01:22.944 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:29:02 +0000 (0:00:00.023) 0:01:22.968 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:29:02 +0000 (0:00:00.024) 0:01:22.992 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:29:02 +0000 (0:00:00.024) 0:01:23.017 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:29:02 +0000 (0:00:00.024) 0:01:23.042 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 12 January 2024 18:29:02 +0000 (0:00:00.025) 0:01:23.067 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.949729", "end": "2024-01-12 18:29:04.104673", "rc": 0, "start": "2024-01-12 18:29:03.154944" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 12 January 2024 18:29:04 +0000 (0:00:01.151) 0:01:24.219 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 12 January 2024 18:29:04 +0000 (0:00:00.023) 0:01:24.242 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:29:04 +0000 (0:00:00.024) 0:01:24.267 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:29:04 +0000 (0:00:00.044) 0:01:24.311 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:29:04 +0000 (0:00:00.061) 0:01:24.373 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:29:04 +0000 (0:00:00.214) 0:01:24.588 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:29:04 +0000 (0:00:00.027) 0:01:24.615 ******** 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_type0_yg41s7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:29:04 +0000 (0:00:00.024) 0:01:24.640 ******** included: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type0_yg41s7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:29:04 +0000 (0:00:00.043) 0:01:24.683 ******** 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.041176", "end": "2024-01-12 18:29:04.814406", "rc": 1, "start": "2024-01-12 18:29:04.773230" } 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 Friday 12 January 2024 18:29:04 +0000 (0:00:00.230) 0:01:24.914 ******** =============================================================================== linux-system-roles.network : Check which services are running ----------- 2.64s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.13s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.91s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-route_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/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_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.46s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.42s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.40s /WORKDIR/git-route_type0_yg41s7/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---