# 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_type2u04jt7x/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/tests_states_nm.yml:6 Thursday 11 January 2024 02:15:16 +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_type2u04jt7x/tests/tests_states_nm.yml:9 Thursday 11 January 2024 02:15:17 +0000 (0:00:00.978) 0:00:00.990 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/tasks/el_repo_setup.yml:3 Thursday 11 January 2024 02:15:17 +0000 (0:00:00.021) 0:00:01.012 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/tasks/el_repo_setup.yml:19 Thursday 11 January 2024 02:15:18 +0000 (0:00:00.561) 0:00:01.573 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/tasks/el_repo_setup.yml:24 Thursday 11 January 2024 02:15:18 +0000 (0:00:00.264) 0:00:01.838 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/tasks/el_repo_setup.yml:28 Thursday 11 January 2024 02:15:18 +0000 (0:00:00.022) 0:00:01.861 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/tasks/el_repo_setup.yml:53 Thursday 11 January 2024 02:15:18 +0000 (0:00:00.019) 0:00:01.880 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/tasks/enable_epel.yml:8 Thursday 11 January 2024 02:15:18 +0000 (0:00:00.055) 0:00:01.936 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/tasks/enable_epel.yml:24 Thursday 11 January 2024 02:15:18 +0000 (0:00:00.015) 0:00:01.951 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/tasks/enable_epel.yml:30 Thursday 11 January 2024 02:15:18 +0000 (0:00:00.009) 0:00:01.961 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/tasks/enable_epel.yml:35 Thursday 11 January 2024 02:15:18 +0000 (0:00:00.010) 0:00:01.972 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/tasks/enable_epel.yml:40 Thursday 11 January 2024 02:15:18 +0000 (0:00:00.009) 0:00:01.982 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/tests_states_nm.yml:11 Thursday 11 January 2024 02:15:18 +0000 (0:00:00.059) 0:00:02.041 ****** 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_type2u04jt7x/tests/playbooks/tests_states.yml:3 Thursday 11 January 2024 02:15:18 +0000 (0:00:00.020) 0:00:02.062 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tests_states.yml:11 Thursday 11 January 2024 02:15:19 +0000 (0:00:00.886) 0:00:02.948 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tests_states.yml:22 Thursday 11 January 2024 02:15:19 +0000 (0:00:00.012) 0:00:02.961 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:15:19 +0000 (0:00:00.025) 0:00:02.987 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:15:19 +0000 (0:00:00.012) 0:00:02.999 ****** 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_type2u04jt7x/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:15:19 +0000 (0:00:00.034) 0:00:03.034 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:15:19 +0000 (0:00:00.015) 0:00:03.050 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:15:19 +0000 (0:00:00.014) 0:00:03.064 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005065", "end": "2024-01-11 02:15:21.160019", "rc": 0, "start": "2024-01-11 02:15:20.154954" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:15:21 +0000 (0:00:01.286) 0:00:04.351 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:15:21 +0000 (0:00:00.011) 0:00:04.362 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:15:21 +0000 (0:00:00.010) 0:00:04.373 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:15:21 +0000 (0:00:00.042) 0:00:04.416 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008402", "end": "2024-01-11 02:15:21.492652", "rc": 1, "start": "2024-01-11 02:15:21.484250" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:15:21 +0000 (0:00:00.268) 0:00:04.684 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:15:21 +0000 (0:00:00.015) 0:00:04.699 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:15:21 +0000 (0:00:00.233) 0:00:04.933 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:15:21 +0000 (0:00:00.023) 0:00:04.956 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:15:21 +0000 (0:00:00.027) 0:00:04.983 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:15:21 +0000 (0:00:00.054) 0:00:05.038 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:15:21 +0000 (0:00:00.088) 0:00:05.127 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:15:21 +0000 (0:00:00.012) 0:00:05.139 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:15:21 +0000 (0:00:00.010) 0:00:05.150 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:15:21 +0000 (0:00:00.011) 0:00:05.161 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:15:24 +0000 (0:00:02.517) 0:00:07.678 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:15:25 +0000 (0:00:01.128) 0:00:08.807 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:15:25 +0000 (0:00:00.024) 0:00:08.831 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:15:25 +0000 (0:00:00.028) 0:00:08.859 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:15:25 +0000 (0:00:00.023) 0:00:08.883 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:15:25 +0000 (0:00:00.048) 0:00:08.932 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:15:25 +0000 (0:00:00.024) 0:00:08.956 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:15:25 +0000 (0:00:00.025) 0:00:08.981 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:15:25 +0000 (0:00:00.028) 0:00:09.010 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:15:26 +0000 (0:00:00.832) 0:00:09.842 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:15:26 +0000 (0:00:00.026) 0:00:09.869 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:15:26 +0000 (0:00:00.022) 0:00:09.891 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:15:26 +0000 (0:00:00.022) 0:00:09.914 ****** 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, 99d0f4df-df73-4d52-84ff-6a1b3382ffef TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:15:27 +0000 (0:00:00.627) 0:00:10.541 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:15:27 +0000 (0:00:00.035) 0:00:10.577 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 99d0f4df-df73-4d52-84ff-6a1b3382ffef" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:15:27 +0000 (0:00:00.031) 0:00:10.608 ****** 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, 99d0f4df-df73-4d52-84ff-6a1b3382ffef\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 99d0f4df-df73-4d52-84ff-6a1b3382ffef" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:15:27 +0000 (0:00:00.025) 0:00:10.634 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:15:27 +0000 (0:00:00.037) 0:00:10.672 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:15:27 +0000 (0:00:00.314) 0:00:10.986 ****** 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, 99d0f4df-df73-4d52-84ff-6a1b3382ffef\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 99d0f4df-df73-4d52-84ff-6a1b3382ffef" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:15:27 +0000 (0:00:00.041) 0:00:11.028 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:15:27 +0000 (0:00:00.067) 0:00:11.096 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.077) 0:00:11.173 ****** 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_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.035) 0:00:11.209 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.232) 0:00:11.442 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.023) 0:00:11.465 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024107", "end": "2024-01-11 02:15:28.512894", "rc": 0, "start": "2024-01-11 02:15:28.488787" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.248) 0:00:11.713 ****** 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_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.026) 0:00:11.740 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.025) 0:00:11.765 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.028) 0:00:11.794 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.026) 0:00:11.820 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.029) 0:00:11.849 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.025) 0:00:11.875 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.025) 0:00:11.900 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.022) 0:00:11.923 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.073) 0:00:11.996 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:15:28 +0000 (0:00:00.040) 0:00:12.036 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939327.253174, "block_size": 4096, "blocks": 0, "ctime": 1704939327.253174, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33747, "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": 1704939327.253174, "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_type2u04jt7x/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:15:29 +0000 (0:00:00.233) 0:00:12.270 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:15:29 +0000 (0:00:00.037) 0:00:12.307 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:15:29 +0000 (0:00:00.036) 0:00:12.344 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:15:29 +0000 (0:00:00.056) 0:00:12.401 ****** 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.063229", "end": "2024-01-11 02:15:29.500282", "rc": 1, "start": "2024-01-11 02:15:29.437053" } STDOUT: Connection 'statebr' (99d0f4df-df73-4d52-84ff-6a1b3382ffef) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tests_states.yml:45 Thursday 11 January 2024 02:15:29 +0000 (0:00:00.298) 0:00:12.699 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:15:29 +0000 (0:00:00.037) 0:00:12.737 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:15:29 +0000 (0:00:00.022) 0:00:12.760 ****** 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_type2u04jt7x/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:15:29 +0000 (0:00:00.043) 0:00:12.804 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:15:29 +0000 (0:00:00.058) 0:00:12.863 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:15:29 +0000 (0:00:00.037) 0:00:12.901 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003917", "end": "2024-01-11 02:15:29.944410", "rc": 0, "start": "2024-01-11 02:15:29.940493" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:15:29 +0000 (0:00:00.245) 0:00:13.146 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:15:30 +0000 (0:00:00.024) 0:00:13.170 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:15:30 +0000 (0:00:00.025) 0:00:13.195 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/delete_interface.yml:3 Thursday 11 January 2024 02:15:30 +0000 (0:00:00.045) 0:00:13.241 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007038", "end": "2024-01-11 02:15:30.271338", "rc": 1, "start": "2024-01-11 02:15:30.264300" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:15:30 +0000 (0:00:00.230) 0:00:13.471 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:15:30 +0000 (0:00:00.037) 0:00:13.508 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:15:30 +0000 (0:00:00.242) 0:00:13.751 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:15:30 +0000 (0:00:00.025) 0:00:13.776 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 11 January 2024 02:15:30 +0000 (0:00:00.062) 0:00:13.839 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:15:30 +0000 (0:00:00.044) 0:00:13.884 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:15:30 +0000 (0:00:00.042) 0:00:13.926 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:15:30 +0000 (0:00:00.028) 0:00:13.955 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:15:30 +0000 (0:00:00.025) 0:00:13.980 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:15:30 +0000 (0:00:00.050) 0:00:14.030 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:15:33 +0000 (0:00:02.403) 0:00:16.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 : Print network provider] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.973) 0:00:17.407 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.039) 0:00:17.447 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.038) 0:00:17.486 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.054) 0:00:17.541 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.080) 0:00:17.622 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.038) 0:00:17.660 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.028) 0:00:17.688 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:15:34 +0000 (0:00:00.050) 0:00:17.739 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:15:35 +0000 (0:00:00.621) 0:00:18.361 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:15:35 +0000 (0:00:00.043) 0:00:18.404 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:15:35 +0000 (0:00:00.024) 0:00:18.429 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:15:35 +0000 (0:00:00.029) 0:00:18.458 ****** 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, 19790780-9a45-46bc-aad6-e86320514cac TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:15:35 +0000 (0:00:00.437) 0:00:18.896 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:15:35 +0000 (0:00:00.046) 0:00:18.942 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 19790780-9a45-46bc-aad6-e86320514cac" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:15:35 +0000 (0:00:00.030) 0:00:18.973 ****** 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, 19790780-9a45-46bc-aad6-e86320514cac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 19790780-9a45-46bc-aad6-e86320514cac" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:15:35 +0000 (0:00:00.033) 0:00:19.007 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:15:35 +0000 (0:00:00.022) 0:00:19.030 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.221) 0:00:19.251 ****** 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, 19790780-9a45-46bc-aad6-e86320514cac\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 19790780-9a45-46bc-aad6-e86320514cac" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.042) 0:00:19.294 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.088) 0:00:19.382 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.039) 0:00:19.422 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.229) 0:00:19.652 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.025) 0:00:19.677 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.062) 0:00:19.740 ****** 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_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.036) 0:00:19.776 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.235) 0:00:20.011 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:15:36 +0000 (0:00:00.026) 0:00:20.037 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023351", "end": "2024-01-11 02:15:37.091026", "rc": 0, "start": "2024-01-11 02:15:37.067675" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.253) 0:00:20.291 ****** 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_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.025) 0:00:20.316 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.032) 0:00:20.348 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.024) 0:00:20.372 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.024) 0:00:20.397 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.055) 0:00:20.453 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.026) 0:00:20.479 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.025) 0:00:20.505 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.025) 0:00:20.530 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.023) 0:00:20.554 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.022) 0:00:20.577 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.043) 0:00:20.621 ****** 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.046179", "end": "2024-01-11 02:15:37.693596", "rc": 1, "start": "2024-01-11 02:15:37.647417" } STDOUT: Connection 'statebr' (19790780-9a45-46bc-aad6-e86320514cac) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tests_states.yml:65 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.272) 0:00:20.893 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.039) 0:00:20.933 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.022) 0:00:20.956 ****** 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_type2u04jt7x/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.044) 0:00:21.000 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.036) 0:00:21.036 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:15:37 +0000 (0:00:00.059) 0:00:21.096 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003832", "end": "2024-01-11 02:15:38.126406", "rc": 0, "start": "2024-01-11 02:15:38.122574" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:15:38 +0000 (0:00:00.231) 0:00:21.327 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:15:38 +0000 (0:00:00.024) 0:00:21.351 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:15:38 +0000 (0:00:00.023) 0:00:21.375 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:15:38 +0000 (0:00:00.039) 0:00:21.414 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:15:38 +0000 (0:00:00.037) 0:00:21.452 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:15:38 +0000 (0:00:00.049) 0:00:21.502 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:15:38 +0000 (0:00:00.042) 0:00:21.545 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:15:38 +0000 (0:00:00.036) 0:00:21.581 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:15:38 +0000 (0:00:00.037) 0:00:21.618 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:15:40 +0000 (0:00:02.427) 0:00:24.046 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:15:41 +0000 (0:00:00.986) 0:00:25.032 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:15:41 +0000 (0:00:00.048) 0:00:25.080 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:15:41 +0000 (0:00:00.023) 0:00:25.104 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:15:41 +0000 (0:00:00.023) 0:00:25.127 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:15:42 +0000 (0:00:00.045) 0:00:25.173 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:15:42 +0000 (0:00:00.021) 0:00:25.195 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:15:42 +0000 (0:00:00.022) 0:00:25.217 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:15:42 +0000 (0:00:00.026) 0:00:25.244 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:15:42 +0000 (0:00:00.603) 0:00:25.847 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:15:42 +0000 (0:00:00.026) 0:00:25.874 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:15:42 +0000 (0:00:00.022) 0:00:25.897 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:15:42 +0000 (0:00:00.023) 0:00:25.920 ****** 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, d80f67c9-8101-4418-a74b-f979d7837525 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:15:43 +0000 (0:00:00.456) 0:00:26.377 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:15:43 +0000 (0:00:00.021) 0:00:26.399 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d80f67c9-8101-4418-a74b-f979d7837525" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:15:43 +0000 (0:00:00.045) 0:00:26.445 ****** 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, d80f67c9-8101-4418-a74b-f979d7837525\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d80f67c9-8101-4418-a74b-f979d7837525" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:15:43 +0000 (0:00:00.027) 0:00:26.472 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:15:43 +0000 (0:00:00.023) 0:00:26.496 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:15:43 +0000 (0:00:00.223) 0:00:26.719 ****** 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, d80f67c9-8101-4418-a74b-f979d7837525\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d80f67c9-8101-4418-a74b-f979d7837525" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:15:43 +0000 (0:00:00.024) 0:00:26.743 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:15:43 +0000 (0:00:00.045) 0:00:26.789 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:15:43 +0000 (0:00:00.060) 0:00:26.849 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:15:43 +0000 (0:00:00.043) 0:00:26.892 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:15:43 +0000 (0:00:00.027) 0:00:26.920 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:15:43 +0000 (0:00:00.022) 0:00:26.942 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:15:43 +0000 (0:00:00.022) 0:00:26.964 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:15:46 +0000 (0:00:02.437) 0:00:29.401 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:15:47 +0000 (0:00:00.997) 0:00:30.399 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:15:47 +0000 (0:00:00.059) 0:00:30.458 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:15:47 +0000 (0:00:00.051) 0:00:30.510 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:15:47 +0000 (0:00:00.025) 0:00:30.535 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:15:47 +0000 (0:00:00.055) 0:00:30.590 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:15:47 +0000 (0:00:00.023) 0:00:30.614 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:15:47 +0000 (0:00:00.021) 0:00:30.636 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:15:47 +0000 (0:00:00.028) 0:00:30.664 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:15:48 +0000 (0:00:00.594) 0:00:31.258 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:15:48 +0000 (0:00:00.027) 0:00:31.285 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:15:48 +0000 (0:00:00.024) 0:00:31.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:15:48 +0000 (0:00:00.023) 0:00:31.333 ****** 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, d80f67c9-8101-4418-a74b-f979d7837525 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:15:48 +0000 (0:00:00.437) 0:00:31.771 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:15:48 +0000 (0:00:00.075) 0:00:31.846 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d80f67c9-8101-4418-a74b-f979d7837525 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:15:48 +0000 (0:00:00.048) 0:00:31.894 ****** 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, d80f67c9-8101-4418-a74b-f979d7837525 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d80f67c9-8101-4418-a74b-f979d7837525 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:15:48 +0000 (0:00:00.028) 0:00:31.923 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:15:48 +0000 (0:00:00.032) 0:00:31.955 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.225) 0:00:32.180 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.045) 0:00:32.226 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.037) 0:00:32.263 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939343.118223, "block_size": 4096, "blocks": 0, "ctime": 1704939343.118223, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33878, "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": 1704939343.118223, "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_type2u04jt7x/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.224) 0:00:32.488 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.025) 0:00:32.513 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.041) 0:00:32.555 ****** 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_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.023) 0:00:32.579 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.247) 0:00:32.826 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.022) 0:00:32.849 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023960", "end": "2024-01-11 02:15:49.899796", "rc": 0, "start": "2024-01-11 02:15:49.875836" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.252) 0:00:33.101 ****** 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_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:15:49 +0000 (0:00:00.038) 0:00:33.139 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.033) 0:00:33.173 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.038) 0:00:33.212 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.034) 0:00:33.246 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.025) 0:00:33.272 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.026) 0:00:33.298 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.026) 0:00:33.325 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.025) 0:00:33.351 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.021) 0:00:33.373 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.023) 0:00:33.396 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.043) 0:00:33.440 ****** 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.076115", "end": "2024-01-11 02:15:50.543474", "rc": 1, "start": "2024-01-11 02:15:50.467359" } STDOUT: Connection 'statebr' (d80f67c9-8101-4418-a74b-f979d7837525) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tests_states.yml:83 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.302) 0:00:33.743 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.039) 0:00:33.782 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.023) 0:00:33.806 ****** 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_type2u04jt7x/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.044) 0:00:33.850 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.039) 0:00:33.890 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.039) 0:00:33.930 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003948", "end": "2024-01-11 02:15:50.958135", "rc": 0, "start": "2024-01-11 02:15:50.954187" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:15:50 +0000 (0:00:00.228) 0:00:34.158 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:15:51 +0000 (0:00:00.024) 0:00:34.183 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:15:51 +0000 (0:00:00.026) 0:00:34.210 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:15:51 +0000 (0:00:00.044) 0:00:34.255 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:15:51 +0000 (0:00:00.065) 0:00:34.321 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:15:51 +0000 (0:00:00.060) 0:00:34.381 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:15:51 +0000 (0:00:00.032) 0:00:34.413 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:15:51 +0000 (0:00:00.023) 0:00:34.437 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:15:51 +0000 (0:00:00.026) 0:00:34.463 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:15:53 +0000 (0:00:02.420) 0:00:36.884 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:15:54 +0000 (0:00:01.006) 0:00:37.890 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:15:54 +0000 (0:00:00.025) 0:00:37.916 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:15:54 +0000 (0:00:00.024) 0:00:37.940 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:15:54 +0000 (0:00:00.026) 0:00:37.967 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:15:54 +0000 (0:00:00.045) 0:00:38.013 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:15:54 +0000 (0:00:00.022) 0:00:38.036 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:15:54 +0000 (0:00:00.025) 0:00:38.061 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:15:54 +0000 (0:00:00.027) 0:00:38.089 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:15:55 +0000 (0:00:00.607) 0:00:38.696 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:15:55 +0000 (0:00:00.094) 0:00:38.791 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:15:55 +0000 (0:00:00.024) 0:00:38.815 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:15:55 +0000 (0:00:00.030) 0:00:38.846 ****** 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, 905324a0-28a3-4f7a-aaa6-65dc0cf4fde0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:15:56 +0000 (0:00:00.482) 0:00:39.328 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:15:56 +0000 (0:00:00.042) 0:00:39.371 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 905324a0-28a3-4f7a-aaa6-65dc0cf4fde0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:15:56 +0000 (0:00:00.034) 0:00:39.405 ****** 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, 905324a0-28a3-4f7a-aaa6-65dc0cf4fde0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 905324a0-28a3-4f7a-aaa6-65dc0cf4fde0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:15:56 +0000 (0:00:00.039) 0:00:39.445 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:15:56 +0000 (0:00:00.037) 0:00:39.482 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:15:56 +0000 (0:00:00.260) 0:00:39.743 ****** 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, 905324a0-28a3-4f7a-aaa6-65dc0cf4fde0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 905324a0-28a3-4f7a-aaa6-65dc0cf4fde0" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:15:56 +0000 (0:00:00.027) 0:00:39.770 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:15:56 +0000 (0:00:00.052) 0:00:39.823 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:15:56 +0000 (0:00:00.056) 0:00:39.880 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:15:56 +0000 (0:00:00.068) 0:00:39.949 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:15:56 +0000 (0:00:00.028) 0:00:39.977 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:15:56 +0000 (0:00:00.024) 0:00:40.002 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:15:59 +0000 (0:00:02.391) 0:00:42.394 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:00 +0000 (0:00:00.985) 0:00:43.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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:00 +0000 (0:00:00.025) 0:00:43.405 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:00 +0000 (0:00:00.021) 0:00:43.427 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:00 +0000 (0:00:00.024) 0:00:43.451 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:00 +0000 (0:00:00.047) 0:00:43.499 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:00 +0000 (0:00:00.023) 0:00:43.522 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:00 +0000 (0:00:00.024) 0:00:43.546 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:00 +0000 (0:00:00.026) 0:00:43.573 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:01 +0000 (0:00:00.597) 0:00:44.171 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:01 +0000 (0:00:00.028) 0:00:44.200 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:01 +0000 (0:00:00.023) 0:00:44.223 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:01 +0000 (0:00:00.024) 0:00:44.247 ****** 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, 905324a0-28a3-4f7a-aaa6-65dc0cf4fde0 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:01 +0000 (0:00:00.466) 0:00:44.714 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:01 +0000 (0:00:00.034) 0:00:44.749 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 905324a0-28a3-4f7a-aaa6-65dc0cf4fde0 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:01 +0000 (0:00:00.030) 0:00:44.779 ****** 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, 905324a0-28a3-4f7a-aaa6-65dc0cf4fde0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 905324a0-28a3-4f7a-aaa6-65dc0cf4fde0 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:01 +0000 (0:00:00.025) 0:00:44.805 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:01 +0000 (0:00:00.023) 0:00:44.828 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:16:01 +0000 (0:00:00.287) 0:00:45.116 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.056) 0:00:45.173 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.080) 0:00:45.254 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.059) 0:00:45.314 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.036) 0:00:45.350 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.076) 0:00:45.426 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:16:02 +0000 (0:00:00.096) 0:00:45.523 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:16:04 +0000 (0:00:02.454) 0:00:47.977 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:05 +0000 (0:00:00.983) 0:00:48.961 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:05 +0000 (0:00:00.089) 0:00:49.050 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:05 +0000 (0:00:00.028) 0:00:49.079 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:05 +0000 (0:00:00.024) 0:00:49.103 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:06 +0000 (0:00:00.082) 0:00:49.186 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:06 +0000 (0:00:00.029) 0:00:49.215 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:06 +0000 (0:00:00.027) 0:00:49.242 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:06 +0000 (0:00:00.028) 0:00:49.271 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:06 +0000 (0:00:00.604) 0:00:49.875 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:06 +0000 (0:00:00.027) 0:00:49.902 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:06 +0000 (0:00:00.021) 0:00:49.924 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:06 +0000 (0:00:00.022) 0:00:49.947 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:07 +0000 (0:00:00.431) 0:00:50.379 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:07 +0000 (0:00:00.022) 0:00:50.402 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:07 +0000 (0:00:00.024) 0:00:50.426 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:07 +0000 (0:00:00.025) 0:00:50.451 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:07 +0000 (0:00:00.049) 0:00:50.501 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:16:07 +0000 (0:00:00.221) 0:00:50.723 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 11 January 2024 02:16:07 +0000 (0:00:00.045) 0:00:50.768 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:16:07 +0000 (0:00:00.038) 0:00:50.807 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704939356.056278, "block_size": 4096, "blocks": 0, "ctime": 1704939356.056278, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34009, "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": 1704939356.056278, "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_type2u04jt7x/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 11 January 2024 02:16:07 +0000 (0:00:00.236) 0:00:51.043 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:16:07 +0000 (0:00:00.050) 0:00:51.093 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:16:07 +0000 (0:00:00.043) 0:00:51.137 ****** 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_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.031) 0:00:51.169 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.226) 0:00:51.395 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.022) 0:00:51.417 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023932", "end": "2024-01-11 02:16:08.467107", "rc": 1, "start": "2024-01-11 02:16:08.443175" } 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_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.275) 0:00:51.693 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.025) 0:00:51.718 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.025) 0:00:51.743 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.024) 0:00:51.768 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.025) 0:00:51.794 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.025) 0:00:51.819 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.038) 0:00:51.857 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.030) 0:00:51.887 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.043) 0:00:51.931 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:16:08 +0000 (0:00:00.045) 0:00:51.977 ****** ok: [sut] => { "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.072037", "end": "2024-01-11 02:16:09.074209", "rc": 0, "start": "2024-01-11 02:16:09.002172" } STDOUT: Connection 'statebr' (905324a0-28a3-4f7a-aaa6-65dc0cf4fde0) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tests_states.yml:103 Thursday 11 January 2024 02:16:09 +0000 (0:00:00.362) 0:00:52.339 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:16:09 +0000 (0:00:00.042) 0:00:52.382 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:16:09 +0000 (0:00:00.025) 0:00:52.407 ****** 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_type2u04jt7x/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:16:09 +0000 (0:00:00.132) 0:00:52.540 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:16:09 +0000 (0:00:00.061) 0:00:52.602 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:16:09 +0000 (0:00:00.062) 0:00:52.664 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004981", "end": "2024-01-11 02:16:10.697529", "rc": 0, "start": "2024-01-11 02:16:09.692548" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:16:10 +0000 (0:00:01.239) 0:00:53.904 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:16:10 +0000 (0:00:00.036) 0:00:53.940 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:16:10 +0000 (0:00:00.042) 0:00:53.982 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:16:10 +0000 (0:00:00.048) 0:00:54.031 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:16:10 +0000 (0:00:00.068) 0:00:54.099 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:16:10 +0000 (0:00:00.044) 0:00:54.144 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:16:11 +0000 (0:00:00.030) 0:00:54.175 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:16:11 +0000 (0:00:00.025) 0:00:54.200 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:16:11 +0000 (0:00:00.026) 0:00:54.227 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:16:13 +0000 (0:00:02.475) 0:00:56.702 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:14 +0000 (0:00:01.009) 0:00:57.711 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:14 +0000 (0:00:00.059) 0:00:57.771 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:14 +0000 (0:00:00.035) 0:00:57.806 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:14 +0000 (0:00:00.031) 0:00:57.837 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:14 +0000 (0:00:00.054) 0:00:57.892 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:14 +0000 (0:00:00.023) 0:00:57.915 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:14 +0000 (0:00:00.022) 0:00:57.938 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:14 +0000 (0:00:00.027) 0:00:57.965 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.601) 0:00:58.567 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.050) 0:00:58.617 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.039) 0:00:58.656 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.024) 0:00:58.681 ****** 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, fbab5df8-ef2b-4ebd-8769-7a965e6b54d1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.449) 0:00:59.130 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:15 +0000 (0:00:00.024) 0:00:59.155 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fbab5df8-ef2b-4ebd-8769-7a965e6b54d1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:16 +0000 (0:00:00.025) 0:00:59.181 ****** 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, fbab5df8-ef2b-4ebd-8769-7a965e6b54d1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fbab5df8-ef2b-4ebd-8769-7a965e6b54d1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:16 +0000 (0:00:00.028) 0:00:59.209 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:16 +0000 (0:00:00.032) 0:00:59.241 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:16:16 +0000 (0:00:00.268) 0:00:59.510 ****** 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, fbab5df8-ef2b-4ebd-8769-7a965e6b54d1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fbab5df8-ef2b-4ebd-8769-7a965e6b54d1" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:16:16 +0000 (0:00:00.042) 0:00:59.553 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:16:16 +0000 (0:00:00.104) 0:00:59.658 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:16:16 +0000 (0:00:00.069) 0:00:59.728 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:16:16 +0000 (0:00:00.101) 0:00:59.829 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:16:16 +0000 (0:00:00.041) 0:00:59.870 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:16:16 +0000 (0:00:00.039) 0:00:59.910 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:16:19 +0000 (0:00:02.496) 0:01:02.407 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:20 +0000 (0:00:01.041) 0:01:03.448 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:20 +0000 (0:00:00.029) 0:01:03.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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:20 +0000 (0:00:00.035) 0:01:03.513 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:20 +0000 (0:00:00.039) 0:01:03.552 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:20 +0000 (0:00:00.060) 0:01:03.613 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:20 +0000 (0:00:00.030) 0:01:03.643 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:20 +0000 (0:00:00.038) 0:01:03.682 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:20 +0000 (0:00:00.027) 0:01:03.709 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:21 +0000 (0:00:00.623) 0:01:04.333 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:21 +0000 (0:00:00.048) 0:01:04.382 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:21 +0000 (0:00:00.027) 0:01:04.409 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:21 +0000 (0:00:00.022) 0:01:04.432 ****** 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, fbab5df8-ef2b-4ebd-8769-7a965e6b54d1 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:21 +0000 (0:00:00.420) 0:01:04.853 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:21 +0000 (0:00:00.024) 0:01:04.877 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fbab5df8-ef2b-4ebd-8769-7a965e6b54d1 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:21 +0000 (0:00:00.027) 0:01:04.905 ****** 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, fbab5df8-ef2b-4ebd-8769-7a965e6b54d1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fbab5df8-ef2b-4ebd-8769-7a965e6b54d1 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:21 +0000 (0:00:00.026) 0:01:04.931 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:21 +0000 (0:00:00.023) 0:01:04.955 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/remove_profile.yml:3 Thursday 11 January 2024 02:16:22 +0000 (0:00:00.220) 0:01:05.175 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:16:22 +0000 (0:00:00.108) 0:01:05.284 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:16:22 +0000 (0:00:00.056) 0:01:05.340 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:16:22 +0000 (0:00:00.052) 0:01:05.392 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:16:22 +0000 (0:00:00.048) 0:01:05.440 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:16:22 +0000 (0:00:00.024) 0:01:05.465 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:16:24 +0000 (0:00:02.427) 0:01:07.892 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.994) 0:01:08.887 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.039) 0:01:08.926 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.085) 0:01:09.012 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.027) 0:01:09.040 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.084) 0:01:09.125 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:25 +0000 (0:00:00.024) 0:01:09.150 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:26 +0000 (0:00:00.026) 0:01:09.176 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:26 +0000 (0:00:00.026) 0:01:09.203 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:26 +0000 (0:00:00.607) 0:01:09.810 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:26 +0000 (0:00:00.034) 0:01:09.845 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:26 +0000 (0:00:00.028) 0:01:09.874 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:26 +0000 (0:00:00.032) 0:01:09.906 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:27 +0000 (0:00:00.438) 0:01:10.345 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:27 +0000 (0:00:00.035) 0:01:10.380 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:27 +0000 (0:00:00.066) 0:01:10.447 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:27 +0000 (0:00:00.035) 0:01:10.482 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:27 +0000 (0:00:00.024) 0:01:10.507 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:16:27 +0000 (0:00:00.222) 0:01:10.730 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:16:27 +0000 (0:00:00.044) 0:01:10.774 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:16:27 +0000 (0:00:00.044) 0:01:10.818 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:16:27 +0000 (0:00:00.058) 0:01:10.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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:16:27 +0000 (0:00:00.030) 0:01:10.907 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:16:27 +0000 (0:00:00.032) 0:01:10.940 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:16:27 +0000 (0:00:00.024) 0:01:10.964 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:16:30 +0000 (0:00:02.374) 0:01:13.339 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:31 +0000 (0:00:00.971) 0:01:14.311 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:31 +0000 (0:00:00.042) 0:01:14.354 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:31 +0000 (0:00:00.025) 0:01:14.379 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:31 +0000 (0:00:00.053) 0:01:14.432 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:31 +0000 (0:00:00.053) 0:01:14.486 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:31 +0000 (0:00:00.025) 0:01:14.512 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:31 +0000 (0:00:00.024) 0:01:14.537 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:31 +0000 (0:00:00.031) 0:01:14.569 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:32 +0000 (0:00:00.615) 0:01:15.184 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:32 +0000 (0:00:00.039) 0:01:15.224 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:32 +0000 (0:00:00.036) 0:01:15.260 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:32 +0000 (0:00:00.031) 0:01:15.292 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:32 +0000 (0:00:00.489) 0:01:15.781 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:32 +0000 (0:00:00.024) 0:01:15.806 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:32 +0000 (0:00:00.038) 0:01:15.844 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:32 +0000 (0:00:00.088) 0:01:15.933 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:32 +0000 (0:00:00.022) 0:01:15.955 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.234) 0:01:16.190 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.067) 0:01:16.257 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.067) 0:01:16.324 ****** 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_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.033) 0:01:16.357 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.285) 0:01:16.643 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.033) 0:01:16.676 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022255", "end": "2024-01-11 02:16:33.757167", "rc": 1, "start": "2024-01-11 02:16:33.734912" } 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_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.288) 0:01:16.965 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.060) 0:01:17.025 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.054) 0:01:17.080 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.031) 0:01:17.112 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:16:33 +0000 (0:00:00.029) 0:01:17.141 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:16:34 +0000 (0:00:00.091) 0:01:17.232 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:16:34 +0000 (0:00:00.049) 0:01:17.282 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:16:34 +0000 (0:00:00.086) 0:01:17.369 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:16:34 +0000 (0:00:00.041) 0:01:17.410 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:16:34 +0000 (0:00:00.240) 0:01:17.651 ****** 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_type2u04jt7x/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:16:34 +0000 (0:00:00.065) 0:01:17.717 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:16:34 +0000 (0:00:00.030) 0:01:17.747 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:16:34 +0000 (0:00:00.051) 0:01:17.799 ****** 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.044590", "end": "2024-01-11 02:16:34.877088", "rc": 1, "start": "2024-01-11 02:16:34.832498" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tests_states.yml:126 Thursday 11 January 2024 02:16:34 +0000 (0:00:00.285) 0:01:18.085 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/playbooks/tasks/run_test.yml:5 Thursday 11 January 2024 02:16:34 +0000 (0:00:00.054) 0:01:18.139 ****** 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_type2u04jt7x/tests/playbooks/tasks/run_test.yml:9 Thursday 11 January 2024 02:16:35 +0000 (0:00:00.025) 0:01:18.165 ****** 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_type2u04jt7x/tests/playbooks/tasks/run_test.yml:21 Thursday 11 January 2024 02:16:35 +0000 (0:00:00.121) 0:01:18.287 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 11 January 2024 02:16:35 +0000 (0:00:00.041) 0:01:18.328 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 11 January 2024 02:16:35 +0000 (0:00:00.038) 0:01:18.367 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005029", "end": "2024-01-11 02:16:36.393479", "rc": 0, "start": "2024-01-11 02:16:35.388450" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 11 January 2024 02:16:36 +0000 (0:00:01.230) 0:01:19.597 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 11 January 2024 02:16:36 +0000 (0:00:00.024) 0:01:19.621 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:24 Thursday 11 January 2024 02:16:36 +0000 (0:00:00.024) 0:01:19.645 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 11 January 2024 02:16:36 +0000 (0:00:00.047) 0:01:19.693 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:16:36 +0000 (0:00:00.065) 0:01:19.758 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:16:36 +0000 (0:00:00.052) 0:01:19.810 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:16:36 +0000 (0:00:00.038) 0:01:19.849 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:16:36 +0000 (0:00:00.027) 0:01:19.876 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:16:36 +0000 (0:00:00.024) 0:01:19.901 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:16:39 +0000 (0:00:02.390) 0:01:22.291 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.968) 0:01:23.260 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.024) 0:01:23.284 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.023) 0:01:23.308 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.024) 0:01:23.332 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.047) 0:01:23.380 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.023) 0:01:23.404 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.030) 0:01:23.434 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.027) 0:01:23.462 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.604) 0:01:24.066 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.027) 0:01:24.093 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.021) 0:01:24.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:40 +0000 (0:00:00.023) 0:01:24.139 ****** 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, 08b035b1-9d42-4a70-8172-294fd1513171 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.443) 0:01:24.582 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.024) 0:01:24.607 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08b035b1-9d42-4a70-8172-294fd1513171" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.044) 0:01:24.651 ****** 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, 08b035b1-9d42-4a70-8172-294fd1513171\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08b035b1-9d42-4a70-8172-294fd1513171" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.036) 0:01:24.687 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.025) 0:01:24.713 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.218) 0:01:24.932 ****** 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, 08b035b1-9d42-4a70-8172-294fd1513171\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 08b035b1-9d42-4a70-8172-294fd1513171" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/activate_profile.yml:3 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.026) 0:01:24.958 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.041) 0:01:25.000 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.072) 0:01:25.072 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.031) 0:01:25.103 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.027) 0:01:25.131 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:16:41 +0000 (0:00:00.028) 0:01:25.160 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:16:44 +0000 (0:00:02.440) 0:01:27.600 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:45 +0000 (0:00:00.987) 0:01:28.587 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:45 +0000 (0:00:00.025) 0:01:28.612 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:45 +0000 (0:00:00.028) 0:01:28.641 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:45 +0000 (0:00:00.024) 0:01:28.665 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:45 +0000 (0:00:00.047) 0:01:28.713 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:45 +0000 (0:00:00.030) 0:01:28.743 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:45 +0000 (0:00:00.025) 0:01:28.768 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:45 +0000 (0:00:00.030) 0:01:28.799 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:46 +0000 (0:00:00.608) 0:01:29.408 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:46 +0000 (0:00:00.049) 0:01:29.457 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:46 +0000 (0:00:00.024) 0:01:29.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:46 +0000 (0:00:00.022) 0:01:29.504 ****** 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, 08b035b1-9d42-4a70-8172-294fd1513171 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:46 +0000 (0:00:00.392) 0:01:29.896 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:46 +0000 (0:00:00.024) 0:01:29.921 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 08b035b1-9d42-4a70-8172-294fd1513171 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:46 +0000 (0:00:00.024) 0:01:29.945 ****** 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, 08b035b1-9d42-4a70-8172-294fd1513171 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 08b035b1-9d42-4a70-8172-294fd1513171 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:46 +0000 (0:00:00.025) 0:01:29.971 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:46 +0000 (0:00:00.026) 0:01:29.997 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:16:47 +0000 (0:00:00.222) 0:01:30.219 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:16:47 +0000 (0:00:00.038) 0:01:30.258 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:16:47 +0000 (0:00:00.041) 0:01:30.300 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:16:47 +0000 (0:00:00.058) 0:01:30.358 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:16:47 +0000 (0:00:00.023) 0:01:30.382 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:16:47 +0000 (0:00:00.024) 0:01:30.406 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:16:49 +0000 (0:00:02.366) 0:01:32.773 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:50 +0000 (0:00:00.982) 0:01:33.755 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:50 +0000 (0:00:00.024) 0:01:33.780 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:50 +0000 (0:00:00.022) 0:01:33.803 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:50 +0000 (0:00:00.025) 0:01:33.828 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:50 +0000 (0:00:00.048) 0:01:33.877 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:50 +0000 (0:00:00.025) 0:01:33.902 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:50 +0000 (0:00:00.024) 0:01:33.926 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:50 +0000 (0:00:00.027) 0:01:33.954 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:51 +0000 (0:00:00.584) 0:01:34.539 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:51 +0000 (0:00:00.027) 0:01:34.566 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:51 +0000 (0:00:00.023) 0:01:34.589 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:51 +0000 (0:00:00.030) 0:01:34.620 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.558) 0:01:35.179 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.023) 0:01:35.203 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.023) 0:01:35.226 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.023) 0:01:35.250 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.022) 0:01:35.272 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:30 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.215) 0:01:35.487 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.043) 0:01:35.531 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.040) 0:01:35.571 ****** included: /WORKDIR/git-route_type2u04jt7x/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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.047) 0:01:35.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.038) 0:01:35.658 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.031) 0:01:35.689 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 11 January 2024 02:16:52 +0000 (0:00:00.030) 0:01:35.719 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 11 January 2024 02:16:54 +0000 (0:00:02.389) 0:01:38.109 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 11 January 2024 02:16:55 +0000 (0:00:00.943) 0:01:39.052 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 11 January 2024 02:16:55 +0000 (0:00:00.041) 0:01:39.093 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 11 January 2024 02:16:55 +0000 (0:00:00.022) 0:01:39.116 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 11 January 2024 02:16:55 +0000 (0:00:00.022) 0:01:39.138 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 11 January 2024 02:16:56 +0000 (0:00:00.044) 0:01:39.183 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 11 January 2024 02:16:56 +0000 (0:00:00.022) 0:01:39.205 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 11 January 2024 02:16:56 +0000 (0:00:00.021) 0:01:39.227 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 11 January 2024 02:16:56 +0000 (0:00:00.025) 0:01:39.253 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 11 January 2024 02:16:56 +0000 (0:00:00.599) 0:01:39.852 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 11 January 2024 02:16:56 +0000 (0:00:00.028) 0:01:39.881 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 11 January 2024 02:16:56 +0000 (0:00:00.025) 0:01:39.906 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 11 January 2024 02:16:56 +0000 (0:00:00.022) 0:01:39.929 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 11 January 2024 02:16:57 +0000 (0:00:00.414) 0:01:40.343 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 11 January 2024 02:16:57 +0000 (0:00:00.047) 0:01:40.390 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 11 January 2024 02:16:57 +0000 (0:00:00.024) 0:01:40.415 ****** 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_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 11 January 2024 02:16:57 +0000 (0:00:00.025) 0:01:40.441 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 11 January 2024 02:16:57 +0000 (0:00:00.024) 0:01:40.465 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:36 Thursday 11 January 2024 02:16:57 +0000 (0:00:00.217) 0:01:40.683 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 11 January 2024 02:16:57 +0000 (0:00:00.051) 0:01:40.734 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 11 January 2024 02:16:57 +0000 (0:00:00.045) 0:01:40.779 ****** 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_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 11 January 2024 02:16:57 +0000 (0:00:00.025) 0:01:40.805 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 11 January 2024 02:16:57 +0000 (0:00:00.240) 0:01:41.045 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 11 January 2024 02:16:57 +0000 (0:00:00.025) 0:01:41.071 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022521", "end": "2024-01-11 02:16:58.118231", "rc": 1, "start": "2024-01-11 02:16:58.095710" } 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_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.247) 0:01:41.318 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.025) 0:01:41.344 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.063) 0:01:41.408 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.039) 0:01:41.447 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.036) 0:01:41.484 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.046) 0:01:41.531 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.026) 0:01:41.558 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.374800", "end": "2024-01-11 02:16:58.957405", "rc": 0, "start": "2024-01-11 02:16:58.582605" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 11 January 2024 02:16:58 +0000 (0:00:00.602) 0:01:42.160 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.024) 0:01:42.185 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/run_test.yml:42 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.053) 0:01:42.239 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.056) 0:01:42.295 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.054) 0:01:42.350 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.292) 0:01:42.642 ****** 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_type2u04jt7x/tests/playbooks/tasks/run_test.yml:47 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.056) 0:01:42.699 ****** 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_type2u04jt7x/tests/playbooks/tasks/run_test.yml:66 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.026) 0:01:42.725 ****** included: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2u04jt7x/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.045) 0:01:42.770 ****** 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.044204", "end": "2024-01-11 02:16:59.837675", "rc": 1, "start": "2024-01-11 02:16:59.793471" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=10 Thursday 11 January 2024 02:16:59 +0000 (0:00:00.252) 0:01:43.023 ****** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.25s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.52s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.50s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.48s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.46s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.45s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.44s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.44s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.43s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.43s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.42s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.42s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.40s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.39s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.39s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.39s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.37s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.37s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.80s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.72s /WORKDIR/git-route_type2u04jt7x/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---