# 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_type2n9espu7/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/tests_states_nm.yml:6 Friday 12 January 2024 18:09:01 +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_type2n9espu7/tests/tests_states_nm.yml:9 Friday 12 January 2024 18:09:02 +0000 (0:00:00.956) 0:00:00.968 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/tasks/el_repo_setup.yml:3 Friday 12 January 2024 18:09:02 +0000 (0:00:00.022) 0:00:00.990 ******** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/tasks/el_repo_setup.yml:19 Friday 12 January 2024 18:09:02 +0000 (0:00:00.529) 0:00:01.520 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-route_type2n9espu7/tests/tasks/el_repo_setup.yml:24 Friday 12 January 2024 18:09:03 +0000 (0:00:00.262) 0:00:01.782 ******** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/tasks/el_repo_setup.yml:28 Friday 12 January 2024 18:09:03 +0000 (0:00:00.031) 0:00:01.814 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/tasks/el_repo_setup.yml:53 Friday 12 January 2024 18:09:03 +0000 (0:00:00.019) 0:00:01.833 ******** included: /WORKDIR/git-route_type2n9espu7/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/tasks/enable_epel.yml:8 Friday 12 January 2024 18:09:03 +0000 (0:00:00.030) 0:00:01.864 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/tasks/enable_epel.yml:24 Friday 12 January 2024 18:09:03 +0000 (0:00:00.009) 0:00:01.873 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/tasks/enable_epel.yml:30 Friday 12 January 2024 18:09:03 +0000 (0:00:00.008) 0:00:01.881 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/tasks/enable_epel.yml:35 Friday 12 January 2024 18:09:03 +0000 (0:00:00.009) 0:00:01.891 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/tasks/enable_epel.yml:40 Friday 12 January 2024 18:09:03 +0000 (0:00:00.008) 0:00:01.899 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/tests_states_nm.yml:11 Friday 12 January 2024 18:09:03 +0000 (0:00:00.008) 0:00:01.908 ******** 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_type2n9espu7/tests/playbooks/tests_states.yml:3 Friday 12 January 2024 18:09:03 +0000 (0:00:00.009) 0:00:01.917 ******** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tests_states.yml:11 Friday 12 January 2024 18:09:04 +0000 (0:00:00.817) 0:00:02.735 ******** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tests_states.yml:22 Friday 12 January 2024 18:09:04 +0000 (0:00:00.011) 0:00:02.746 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:09:04 +0000 (0:00:00.017) 0:00:02.764 ******** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:09:04 +0000 (0:00:00.010) 0:00:02.775 ******** 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_type2n9espu7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:09:04 +0000 (0:00:00.031) 0:00:02.806 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:09:04 +0000 (0:00:00.013) 0:00:02.819 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:09:04 +0000 (0:00:00.012) 0:00:02.832 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005319", "end": "2024-01-12 18:09:05.355096", "rc": 0, "start": "2024-01-12 18:09:04.349777" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:09:05 +0000 (0:00:01.273) 0:00:04.106 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:09:05 +0000 (0:00:00.012) 0:00:04.118 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:09:05 +0000 (0:00:00.010) 0:00:04.129 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:09:05 +0000 (0:00:00.019) 0:00:04.149 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008552", "end": "2024-01-12 18:09:05.609312", "rc": 1, "start": "2024-01-12 18:09:05.600760" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:09:05 +0000 (0:00:00.209) 0:00:04.358 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:09:05 +0000 (0:00:00.014) 0:00:04.373 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:09:05 +0000 (0:00:00.204) 0:00:04.577 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:09:05 +0000 (0:00:00.012) 0:00:04.590 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:09:05 +0000 (0:00:00.019) 0:00:04.609 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:09:05 +0000 (0:00:00.034) 0:00:04.644 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:09:05 +0000 (0:00:00.070) 0:00:04.715 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:09:06 +0000 (0:00:00.012) 0:00:04.727 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:09:06 +0000 (0:00:00.013) 0:00:04.741 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:09:06 +0000 (0:00:00.010) 0:00:04.752 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:09:08 +0000 (0:00:02.371) 0:00:07.123 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:09:09 +0000 (0:00:01.071) 0:00:08.195 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:09:09 +0000 (0:00:00.023) 0:00:08.218 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:09:09 +0000 (0:00:00.028) 0:00:08.246 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:09:09 +0000 (0:00:00.033) 0:00:08.280 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:09:09 +0000 (0:00:00.046) 0:00:08.326 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:09:09 +0000 (0:00:00.022) 0:00:08.349 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:09:09 +0000 (0:00:00.021) 0:00:08.370 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:09:09 +0000 (0:00:00.024) 0:00:08.395 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:09:10 +0000 (0:00:00.717) 0:00:09.113 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:09:10 +0000 (0:00:00.025) 0:00:09.139 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:09:10 +0000 (0:00:00.021) 0:00:09.160 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:09:10 +0000 (0:00:00.021) 0:00:09.181 ******** 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, 58fa5ae1-80fe-4653-bda5-7e85b5006a6f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:09:10 +0000 (0:00:00.533) 0:00:09.715 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:09:11 +0000 (0:00:00.021) 0:00:09.736 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58fa5ae1-80fe-4653-bda5-7e85b5006a6f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:09:11 +0000 (0:00:00.022) 0:00:09.758 ******** 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, 58fa5ae1-80fe-4653-bda5-7e85b5006a6f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58fa5ae1-80fe-4653-bda5-7e85b5006a6f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:09:11 +0000 (0:00:00.022) 0:00:09.780 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:09:11 +0000 (0:00:00.020) 0:00:09.801 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:09:11 +0000 (0:00:00.277) 0:00:10.078 ******** 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, 58fa5ae1-80fe-4653-bda5-7e85b5006a6f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 58fa5ae1-80fe-4653-bda5-7e85b5006a6f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:09:11 +0000 (0:00:00.023) 0:00:10.101 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:09:11 +0000 (0:00:00.059) 0:00:10.161 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:09:11 +0000 (0:00:00.038) 0:00:10.200 ******** 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:09:11 +0000 (0:00:00.021) 0:00:10.222 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:09:11 +0000 (0:00:00.209) 0:00:10.431 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:09:11 +0000 (0:00:00.021) 0:00:10.453 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023330", "end": "2024-01-12 18:09:11.927165", "rc": 0, "start": "2024-01-12 18:09:11.903835" } 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:09:11 +0000 (0:00:00.237) 0:00:10.690 ******** 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:09:11 +0000 (0:00:00.026) 0:00:10.717 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:09:12 +0000 (0:00:00.024) 0:00:10.741 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:09:12 +0000 (0:00:00.022) 0:00:10.764 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:09:12 +0000 (0:00:00.022) 0:00:10.787 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:09:12 +0000 (0:00:00.023) 0:00:10.810 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:09:12 +0000 (0:00:00.026) 0:00:10.837 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:09:12 +0000 (0:00:00.033) 0:00:10.870 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:09:12 +0000 (0:00:00.041) 0:00:10.912 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:09:12 +0000 (0:00:00.102) 0:00:11.015 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:09:12 +0000 (0:00:00.038) 0:00:11.053 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705082950.8947465, "block_size": 4096, "blocks": 0, "ctime": 1705082950.8947465, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34579, "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": 1705082950.8947465, "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_type2n9espu7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:09:12 +0000 (0:00:00.240) 0:00:11.293 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:09:12 +0000 (0:00:00.048) 0:00:11.342 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:09:12 +0000 (0:00:00.026) 0:00:11.368 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:09:12 +0000 (0:00:00.056) 0:00:11.425 ******** 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.063155", "end": "2024-01-12 18:09:12.954154", "rc": 1, "start": "2024-01-12 18:09:12.890999" } STDOUT: Connection 'statebr' (58fa5ae1-80fe-4653-bda5-7e85b5006a6f) 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_type2n9espu7/tests/playbooks/tests_states.yml:45 Friday 12 January 2024 18:09:12 +0000 (0:00:00.297) 0:00:11.722 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:09:13 +0000 (0:00:00.062) 0:00:11.785 ******** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:09:13 +0000 (0:00:00.024) 0:00:11.809 ******** 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_type2n9espu7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:09:13 +0000 (0:00:00.046) 0:00:11.855 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:09:13 +0000 (0:00:00.082) 0:00:11.938 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:09:13 +0000 (0:00:00.037) 0:00:11.975 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004044", "end": "2024-01-12 18:09:13.432724", "rc": 0, "start": "2024-01-12 18:09:13.428680" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:09:13 +0000 (0:00:00.220) 0:00:12.196 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:09:13 +0000 (0:00:00.022) 0:00:12.218 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:09:13 +0000 (0:00:00.022) 0:00:12.241 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/delete_interface.yml:3 Friday 12 January 2024 18:09:13 +0000 (0:00:00.043) 0:00:12.285 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007288", "end": "2024-01-12 18:09:13.747177", "rc": 1, "start": "2024-01-12 18:09:13.739889" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:09:13 +0000 (0:00:00.223) 0:00:12.508 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:09:13 +0000 (0:00:00.038) 0:00:12.547 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:09:14 +0000 (0:00:00.213) 0:00:12.760 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:09:14 +0000 (0:00:00.024) 0:00:12.785 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Friday 12 January 2024 18:09:14 +0000 (0:00:00.070) 0:00:12.856 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:09:14 +0000 (0:00:00.044) 0:00:12.900 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:09:14 +0000 (0:00:00.057) 0:00:12.958 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:09:14 +0000 (0:00:00.033) 0:00:12.991 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:09:14 +0000 (0:00:00.022) 0:00:13.014 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:09:14 +0000 (0:00:00.023) 0:00:13.038 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:09:16 +0000 (0:00:02.256) 0:00:15.295 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:09:17 +0000 (0:00:00.920) 0:00:16.216 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:09:17 +0000 (0:00:00.025) 0:00:16.242 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:09:17 +0000 (0:00:00.022) 0:00:16.264 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:09:17 +0000 (0:00:00.022) 0:00:16.287 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:09:17 +0000 (0:00:00.043) 0:00:16.330 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:09:17 +0000 (0:00:00.021) 0:00:16.352 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:09:17 +0000 (0:00:00.044) 0:00:16.396 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:09:17 +0000 (0:00:00.026) 0:00:16.423 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:09:18 +0000 (0:00:00.574) 0:00:16.997 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:09:18 +0000 (0:00:00.028) 0:00:17.026 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:09:18 +0000 (0:00:00.023) 0:00:17.049 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:09:18 +0000 (0:00:00.025) 0:00:17.075 ******** 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, 17d6c0e4-02f1-435d-8c50-5f83b58a9447 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:09:18 +0000 (0:00:00.435) 0:00:17.510 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:09:18 +0000 (0:00:00.026) 0:00:17.537 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 17d6c0e4-02f1-435d-8c50-5f83b58a9447" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:09:18 +0000 (0:00:00.027) 0:00:17.565 ******** 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, 17d6c0e4-02f1-435d-8c50-5f83b58a9447\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 17d6c0e4-02f1-435d-8c50-5f83b58a9447" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:09:18 +0000 (0:00:00.025) 0:00:17.591 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:09:18 +0000 (0:00:00.028) 0:00:17.619 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Friday 12 January 2024 18:09:19 +0000 (0:00:00.244) 0:00:17.864 ******** 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, 17d6c0e4-02f1-435d-8c50-5f83b58a9447\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 17d6c0e4-02f1-435d-8c50-5f83b58a9447" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:09:19 +0000 (0:00:00.046) 0:00:17.910 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:09:19 +0000 (0:00:00.099) 0:00:18.009 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:09:19 +0000 (0:00:00.074) 0:00:18.084 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:09:19 +0000 (0:00:00.233) 0:00:18.317 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:09:19 +0000 (0:00:00.044) 0:00:18.362 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:09:19 +0000 (0:00:00.053) 0:00:18.415 ******** 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:09:19 +0000 (0:00:00.031) 0:00:18.447 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:09:19 +0000 (0:00:00.214) 0:00:18.661 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:09:19 +0000 (0:00:00.027) 0:00:18.689 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023148", "end": "2024-01-12 18:09:20.167302", "rc": 0, "start": "2024-01-12 18:09:20.144154" } 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:09:20 +0000 (0:00:00.244) 0:00:18.933 ******** 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:09:20 +0000 (0:00:00.037) 0:00:18.971 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:09:20 +0000 (0:00:00.024) 0:00:18.995 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:09:20 +0000 (0:00:00.055) 0:00:19.051 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:09:20 +0000 (0:00:00.031) 0:00:19.083 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:09:20 +0000 (0:00:00.026) 0:00:19.109 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:09:20 +0000 (0:00:00.024) 0:00:19.134 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:09:20 +0000 (0:00:00.023) 0:00:19.157 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:09:20 +0000 (0:00:00.022) 0:00:19.180 ******** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:09:20 +0000 (0:00:00.021) 0:00:19.202 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:09:20 +0000 (0:00:00.022) 0:00:19.224 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:09:20 +0000 (0:00:00.043) 0:00:19.267 ******** 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.045437", "end": "2024-01-12 18:09:20.766432", "rc": 1, "start": "2024-01-12 18:09:20.720995" } STDOUT: Connection 'statebr' (17d6c0e4-02f1-435d-8c50-5f83b58a9447) 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_type2n9espu7/tests/playbooks/tests_states.yml:65 Friday 12 January 2024 18:09:20 +0000 (0:00:00.260) 0:00:19.528 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:09:20 +0000 (0:00:00.037) 0:00:19.565 ******** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:09:20 +0000 (0:00:00.024) 0:00:19.589 ******** 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_type2n9espu7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:09:20 +0000 (0:00:00.052) 0:00:19.641 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:09:20 +0000 (0:00:00.076) 0:00:19.718 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:09:21 +0000 (0:00:00.053) 0:00:19.772 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004023", "end": "2024-01-12 18:09:21.230103", "rc": 0, "start": "2024-01-12 18:09:21.226080" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:09:21 +0000 (0:00:00.220) 0:00:19.992 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:09:21 +0000 (0:00:00.026) 0:00:20.019 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:09:21 +0000 (0:00:00.025) 0:00:20.045 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:09:21 +0000 (0:00:00.052) 0:00:20.098 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:09:21 +0000 (0:00:00.037) 0:00:20.135 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:09:21 +0000 (0:00:00.040) 0:00:20.176 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:09:21 +0000 (0:00:00.026) 0:00:20.203 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:09:21 +0000 (0:00:00.021) 0:00:20.224 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:09:21 +0000 (0:00:00.044) 0:00:20.268 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:09:23 +0000 (0:00:02.255) 0:00:22.524 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:09:24 +0000 (0:00:00.924) 0:00:23.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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:09:24 +0000 (0:00:00.042) 0:00:23.491 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:09:24 +0000 (0:00:00.022) 0:00:23.513 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:09:24 +0000 (0:00:00.021) 0:00:23.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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:09:24 +0000 (0:00:00.045) 0:00:23.580 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:09:24 +0000 (0:00:00.021) 0:00:23.602 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:09:24 +0000 (0:00:00.021) 0:00:23.623 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:09:24 +0000 (0:00:00.028) 0:00:23.651 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:09:25 +0000 (0:00:00.568) 0:00:24.220 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:09:25 +0000 (0:00:00.026) 0:00:24.247 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:09:25 +0000 (0:00:00.022) 0:00:24.269 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:09:25 +0000 (0:00:00.027) 0:00:24.297 ******** 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, 642ee26b-8643-4bdc-a765-59e0eaf6daec TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:09:26 +0000 (0:00:00.433) 0:00:24.731 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:09:26 +0000 (0:00:00.054) 0:00:24.785 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 642ee26b-8643-4bdc-a765-59e0eaf6daec" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:09:26 +0000 (0:00:00.025) 0:00:24.811 ******** 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, 642ee26b-8643-4bdc-a765-59e0eaf6daec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 642ee26b-8643-4bdc-a765-59e0eaf6daec" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:09:26 +0000 (0:00:00.025) 0:00:24.836 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:09:26 +0000 (0:00:00.021) 0:00:24.858 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:09:26 +0000 (0:00:00.209) 0:00:25.067 ******** 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, 642ee26b-8643-4bdc-a765-59e0eaf6daec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 642ee26b-8643-4bdc-a765-59e0eaf6daec" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:09:26 +0000 (0:00:00.024) 0:00:25.092 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:09:26 +0000 (0:00:00.040) 0:00:25.133 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:09:26 +0000 (0:00:00.041) 0:00:25.174 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:09:26 +0000 (0:00:00.039) 0:00:25.214 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:09:26 +0000 (0:00:00.027) 0:00:25.241 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:09:26 +0000 (0:00:00.020) 0:00:25.262 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:09:26 +0000 (0:00:00.021) 0:00:25.283 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:09:28 +0000 (0:00:02.246) 0:00:27.530 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:09:29 +0000 (0:00:00.928) 0:00:28.458 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:09:29 +0000 (0:00:00.025) 0:00:28.484 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:09:29 +0000 (0:00:00.041) 0:00:28.525 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:09:29 +0000 (0:00:00.027) 0:00:28.553 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:09:29 +0000 (0:00:00.044) 0:00:28.598 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:09:29 +0000 (0:00:00.023) 0:00:28.621 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:09:29 +0000 (0:00:00.022) 0:00:28.644 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:09:29 +0000 (0:00:00.026) 0:00:28.670 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:09:30 +0000 (0:00:00.579) 0:00:29.250 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:09:30 +0000 (0:00:00.026) 0:00:29.276 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:09:30 +0000 (0:00:00.023) 0:00:29.300 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:09:30 +0000 (0:00:00.023) 0:00:29.323 ******** 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, 642ee26b-8643-4bdc-a765-59e0eaf6daec skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:09:30 +0000 (0:00:00.386) 0:00:29.709 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:09:31 +0000 (0:00:00.023) 0:00:29.733 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 642ee26b-8643-4bdc-a765-59e0eaf6daec skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:09:31 +0000 (0:00:00.024) 0:00:29.757 ******** 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, 642ee26b-8643-4bdc-a765-59e0eaf6daec skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 642ee26b-8643-4bdc-a765-59e0eaf6daec skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:09:31 +0000 (0:00:00.045) 0:00:29.803 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:09:31 +0000 (0:00:00.023) 0:00:29.826 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:09:31 +0000 (0:00:00.209) 0:00:30.036 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:09:31 +0000 (0:00:00.045) 0:00:30.082 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:09:31 +0000 (0:00:00.038) 0:00:30.121 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705082965.907927, "block_size": 4096, "blocks": 0, "ctime": 1705082965.907927, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34710, "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": 1705082965.907927, "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_type2n9espu7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:09:31 +0000 (0:00:00.213) 0:00:30.334 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml:3 Friday 12 January 2024 18:09:31 +0000 (0:00:00.028) 0:00:30.363 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:09:31 +0000 (0:00:00.039) 0:00:30.402 ******** 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:09:31 +0000 (0:00:00.024) 0:00:30.427 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:09:31 +0000 (0:00:00.212) 0:00:30.639 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:09:31 +0000 (0:00:00.048) 0:00:30.688 ******** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022972", "end": "2024-01-12 18:09:32.163444", "rc": 0, "start": "2024-01-12 18:09:32.140472" } 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:09:32 +0000 (0:00:00.237) 0:00:30.925 ******** 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:09:32 +0000 (0:00:00.025) 0:00:30.951 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:09:32 +0000 (0:00:00.025) 0:00:30.976 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:09:32 +0000 (0:00:00.029) 0:00:31.005 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:09:32 +0000 (0:00:00.023) 0:00:31.029 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml:5 Friday 12 January 2024 18:09:32 +0000 (0:00:00.029) 0:00:31.058 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml:10 Friday 12 January 2024 18:09:32 +0000 (0:00:00.026) 0:00:31.084 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_present.yml:15 Friday 12 January 2024 18:09:32 +0000 (0:00:00.024) 0:00:31.109 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:09:32 +0000 (0:00:00.023) 0:00:31.133 ******** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:09:32 +0000 (0:00:00.020) 0:00:31.154 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:09:32 +0000 (0:00:00.022) 0:00:31.177 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:09:32 +0000 (0:00:00.040) 0:00:31.217 ******** 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.073009", "end": "2024-01-12 18:09:32.745613", "rc": 1, "start": "2024-01-12 18:09:32.672604" } STDOUT: Connection 'statebr' (642ee26b-8643-4bdc-a765-59e0eaf6daec) 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_type2n9espu7/tests/playbooks/tests_states.yml:83 Friday 12 January 2024 18:09:32 +0000 (0:00:00.295) 0:00:31.513 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:09:32 +0000 (0:00:00.077) 0:00:31.591 ******** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:09:32 +0000 (0:00:00.031) 0:00:31.622 ******** 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_type2n9espu7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:09:32 +0000 (0:00:00.052) 0:00:31.675 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:09:32 +0000 (0:00:00.050) 0:00:31.726 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:09:33 +0000 (0:00:00.055) 0:00:31.781 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004046", "end": "2024-01-12 18:09:33.269581", "rc": 0, "start": "2024-01-12 18:09:33.265535" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:09:33 +0000 (0:00:00.250) 0:00:32.031 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:09:33 +0000 (0:00:00.025) 0:00:32.057 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:09:33 +0000 (0:00:00.023) 0:00:32.080 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:09:33 +0000 (0:00:00.044) 0:00:32.124 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:09:33 +0000 (0:00:00.037) 0:00:32.162 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:09:33 +0000 (0:00:00.067) 0:00:32.229 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:09:33 +0000 (0:00:00.027) 0:00:32.256 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:09:33 +0000 (0:00:00.022) 0:00:32.279 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:09:33 +0000 (0:00:00.024) 0:00:32.303 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:09:35 +0000 (0:00:02.232) 0:00:34.536 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:09:36 +0000 (0:00:00.946) 0:00:35.483 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:09:36 +0000 (0:00:00.023) 0:00:35.506 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:09:36 +0000 (0:00:00.023) 0:00:35.529 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:09:36 +0000 (0:00:00.021) 0:00:35.551 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:09:36 +0000 (0:00:00.043) 0:00:35.594 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:09:36 +0000 (0:00:00.021) 0:00:35.616 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:09:36 +0000 (0:00:00.024) 0:00:35.640 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:09:36 +0000 (0:00:00.024) 0:00:35.665 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:09:37 +0000 (0:00:00.595) 0:00:36.260 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:09:37 +0000 (0:00:00.026) 0:00:36.286 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:09:37 +0000 (0:00:00.021) 0:00:36.308 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:09:37 +0000 (0:00:00.021) 0:00:36.330 ******** 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, d317d3d6-bcbc-4576-a2af-b8beb543727d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:09:38 +0000 (0:00:00.427) 0:00:36.758 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:09:38 +0000 (0:00:00.021) 0:00:36.780 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d317d3d6-bcbc-4576-a2af-b8beb543727d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:09:38 +0000 (0:00:00.023) 0:00:36.803 ******** 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, d317d3d6-bcbc-4576-a2af-b8beb543727d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d317d3d6-bcbc-4576-a2af-b8beb543727d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:09:38 +0000 (0:00:00.022) 0:00:36.825 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:09:38 +0000 (0:00:00.021) 0:00:36.847 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:09:38 +0000 (0:00:00.214) 0:00:37.061 ******** 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, d317d3d6-bcbc-4576-a2af-b8beb543727d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d317d3d6-bcbc-4576-a2af-b8beb543727d" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:09:38 +0000 (0:00:00.023) 0:00:37.085 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:09:38 +0000 (0:00:00.036) 0:00:37.121 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:09:38 +0000 (0:00:00.065) 0:00:37.186 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:09:38 +0000 (0:00:00.027) 0:00:37.214 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:09:38 +0000 (0:00:00.021) 0:00:37.236 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:09:38 +0000 (0:00:00.021) 0:00:37.257 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:09:40 +0000 (0:00:02.252) 0:00:39.509 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:09:41 +0000 (0:00:00.948) 0:00:40.457 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:09:41 +0000 (0:00:00.022) 0:00:40.480 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:09:41 +0000 (0:00:00.021) 0:00:40.502 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:09:41 +0000 (0:00:00.022) 0:00:40.524 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:09:41 +0000 (0:00:00.043) 0:00:40.568 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:09:41 +0000 (0:00:00.021) 0:00:40.590 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:09:41 +0000 (0:00:00.021) 0:00:40.611 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:09:41 +0000 (0:00:00.024) 0:00:40.636 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:09:42 +0000 (0:00:00.570) 0:00:41.206 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:09:42 +0000 (0:00:00.026) 0:00:41.233 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:09:42 +0000 (0:00:00.044) 0:00:41.278 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:09:42 +0000 (0:00:00.022) 0:00:41.300 ******** 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, d317d3d6-bcbc-4576-a2af-b8beb543727d skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:09:42 +0000 (0:00:00.374) 0:00:41.675 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:09:42 +0000 (0:00:00.021) 0:00:41.697 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d317d3d6-bcbc-4576-a2af-b8beb543727d skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:09:42 +0000 (0:00:00.022) 0:00:41.719 ******** 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, d317d3d6-bcbc-4576-a2af-b8beb543727d skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d317d3d6-bcbc-4576-a2af-b8beb543727d skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:09:43 +0000 (0:00:00.023) 0:00:41.742 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:09:43 +0000 (0:00:00.021) 0:00:41.764 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:09:43 +0000 (0:00:00.212) 0:00:41.976 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:09:43 +0000 (0:00:00.043) 0:00:42.020 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:09:43 +0000 (0:00:00.043) 0:00:42.064 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:09:43 +0000 (0:00:00.041) 0:00:42.105 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:09:43 +0000 (0:00:00.050) 0:00:42.156 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:09:43 +0000 (0:00:00.022) 0:00:42.178 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:09:43 +0000 (0:00:00.021) 0:00:42.200 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:09:45 +0000 (0:00:02.225) 0:00:44.426 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:09:46 +0000 (0:00:00.953) 0:00:45.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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:09:46 +0000 (0:00:00.023) 0:00:45.402 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:09:46 +0000 (0:00:00.021) 0:00:45.424 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:09:46 +0000 (0:00:00.022) 0:00:45.446 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:09:46 +0000 (0:00:00.045) 0:00:45.492 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:09:46 +0000 (0:00:00.021) 0:00:45.513 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:09:46 +0000 (0:00:00.023) 0:00:45.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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:09:46 +0000 (0:00:00.024) 0:00:45.562 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:09:47 +0000 (0:00:00.566) 0:00:46.129 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:09:47 +0000 (0:00:00.026) 0:00:46.155 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:09:47 +0000 (0:00:00.021) 0:00:46.176 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:09:47 +0000 (0:00:00.021) 0:00:46.197 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:09:47 +0000 (0:00:00.424) 0:00:46.622 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:09:47 +0000 (0:00:00.021) 0:00:46.644 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:09:47 +0000 (0:00:00.024) 0:00:46.669 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:09:47 +0000 (0:00:00.024) 0:00:46.693 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:09:47 +0000 (0:00:00.021) 0:00:46.715 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:09:48 +0000 (0:00:00.208) 0:00:46.924 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_present.yml:3 Friday 12 January 2024 18:09:48 +0000 (0:00:00.044) 0:00:46.969 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:09:48 +0000 (0:00:00.036) 0:00:47.005 ******** ok: [sut] => { "changed": false, "stat": { "atime": 1705082977.9415026, "block_size": 4096, "blocks": 0, "ctime": 1705082977.9415026, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34841, "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": 1705082977.9415026, "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_type2n9espu7/tests/playbooks/tasks/assert_device_present.yml:5 Friday 12 January 2024 18:09:48 +0000 (0:00:00.214) 0:00:47.220 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:09:48 +0000 (0:00:00.023) 0:00:47.243 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:09:48 +0000 (0:00:00.061) 0:00:47.304 ******** 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:09:48 +0000 (0:00:00.022) 0:00:47.327 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:09:48 +0000 (0:00:00.211) 0:00:47.539 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:09:48 +0000 (0:00:00.021) 0:00:47.560 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023271", "end": "2024-01-12 18:09:49.036212", "rc": 1, "start": "2024-01-12 18:09:49.012941" } 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:09:49 +0000 (0:00:00.236) 0:00:47.797 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:09:49 +0000 (0:00:00.022) 0:00:47.820 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:09:49 +0000 (0:00:00.023) 0:00:47.843 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:09:49 +0000 (0:00:00.022) 0:00:47.865 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:09:49 +0000 (0:00:00.023) 0:00:47.888 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:09:49 +0000 (0:00:00.022) 0:00:47.911 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:09:49 +0000 (0:00:00.022) 0:00:47.934 ******** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:09:49 +0000 (0:00:00.021) 0:00:47.955 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:09:49 +0000 (0:00:00.022) 0:00:47.978 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:09:49 +0000 (0:00:00.040) 0:00:48.018 ******** 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.073215", "end": "2024-01-12 18:09:49.546049", "rc": 1, "start": "2024-01-12 18:09:49.472834" } STDOUT: Connection 'statebr' (d317d3d6-bcbc-4576-a2af-b8beb543727d) 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_type2n9espu7/tests/playbooks/tests_states.yml:103 Friday 12 January 2024 18:09:49 +0000 (0:00:00.294) 0:00:48.313 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:09:49 +0000 (0:00:00.038) 0:00:48.351 ******** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:09:49 +0000 (0:00:00.023) 0:00:48.374 ******** 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_type2n9espu7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:09:49 +0000 (0:00:00.043) 0:00:48.417 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:09:49 +0000 (0:00:00.036) 0:00:48.454 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:09:49 +0000 (0:00:00.035) 0:00:48.489 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004247", "end": "2024-01-12 18:09:49.946162", "rc": 0, "start": "2024-01-12 18:09:49.941915" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:09:49 +0000 (0:00:00.219) 0:00:48.709 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:09:50 +0000 (0:00:00.024) 0:00:48.733 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:09:50 +0000 (0:00:00.022) 0:00:48.755 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:09:50 +0000 (0:00:00.044) 0:00:48.800 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:09:50 +0000 (0:00:00.061) 0:00:48.861 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:09:50 +0000 (0:00:00.042) 0:00:48.904 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:09:50 +0000 (0:00:00.027) 0:00:48.932 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:09:50 +0000 (0:00:00.021) 0:00:48.954 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:09:50 +0000 (0:00:00.022) 0:00:48.976 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:09:52 +0000 (0:00:02.253) 0:00:51.229 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:09:53 +0000 (0:00:00.919) 0:00:52.149 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:09:53 +0000 (0:00:00.023) 0:00:52.172 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:09:53 +0000 (0:00:00.021) 0:00:52.194 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:09:53 +0000 (0:00:00.021) 0:00:52.215 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:09:53 +0000 (0:00:00.044) 0:00:52.259 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:09:53 +0000 (0:00:00.021) 0:00:52.281 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:09:53 +0000 (0:00:00.021) 0:00:52.302 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:09:53 +0000 (0:00:00.025) 0:00:52.328 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:09:54 +0000 (0:00:00.571) 0:00:52.899 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:09:54 +0000 (0:00:00.026) 0:00:52.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:09:54 +0000 (0:00:00.021) 0:00:52.947 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:09:54 +0000 (0:00:00.021) 0:00:52.969 ******** 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, e8eba667-0abb-4a4a-8826-d7fc2202aba9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:09:54 +0000 (0:00:00.423) 0:00:53.392 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:09:54 +0000 (0:00:00.021) 0:00:53.414 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8eba667-0abb-4a4a-8826-d7fc2202aba9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:09:54 +0000 (0:00:00.023) 0:00:53.437 ******** 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, e8eba667-0abb-4a4a-8826-d7fc2202aba9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8eba667-0abb-4a4a-8826-d7fc2202aba9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:09:54 +0000 (0:00:00.023) 0:00:53.460 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:09:54 +0000 (0:00:00.021) 0:00:53.482 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:09:54 +0000 (0:00:00.211) 0:00:53.693 ******** 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, e8eba667-0abb-4a4a-8826-d7fc2202aba9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e8eba667-0abb-4a4a-8826-d7fc2202aba9" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:09:54 +0000 (0:00:00.023) 0:00:53.716 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:09:55 +0000 (0:00:00.058) 0:00:53.775 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:09:55 +0000 (0:00:00.041) 0:00:53.817 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:09:55 +0000 (0:00:00.027) 0:00:53.844 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:09:55 +0000 (0:00:00.023) 0:00:53.868 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:09:55 +0000 (0:00:00.024) 0:00:53.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 : Check which packages are installed] ********* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:09:57 +0000 (0:00:02.252) 0:00:56.145 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:09:58 +0000 (0:00:00.933) 0:00:57.079 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:09:58 +0000 (0:00:00.023) 0:00:57.102 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:09:58 +0000 (0:00:00.023) 0:00:57.125 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:09:58 +0000 (0:00:00.022) 0:00:57.147 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:09:58 +0000 (0:00:00.044) 0:00:57.192 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:09:58 +0000 (0:00:00.021) 0:00:57.213 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:09:58 +0000 (0:00:00.021) 0:00:57.235 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:09:58 +0000 (0:00:00.024) 0:00:57.260 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:09:59 +0000 (0:00:00.608) 0:00:57.868 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:09:59 +0000 (0:00:00.026) 0:00:57.895 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:09:59 +0000 (0:00:00.021) 0:00:57.917 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:09:59 +0000 (0:00:00.021) 0:00:57.938 ******** 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, e8eba667-0abb-4a4a-8826-d7fc2202aba9 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:09:59 +0000 (0:00:00.372) 0:00:58.311 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:09:59 +0000 (0:00:00.021) 0:00:58.333 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e8eba667-0abb-4a4a-8826-d7fc2202aba9 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:09:59 +0000 (0:00:00.023) 0:00:58.356 ******** 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, e8eba667-0abb-4a4a-8826-d7fc2202aba9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e8eba667-0abb-4a4a-8826-d7fc2202aba9 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:09:59 +0000 (0:00:00.024) 0:00:58.380 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:09:59 +0000 (0:00:00.021) 0:00:58.402 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/remove_profile.yml:3 Friday 12 January 2024 18:09:59 +0000 (0:00:00.206) 0:00:58.608 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:09:59 +0000 (0:00:00.037) 0:00:58.646 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:09:59 +0000 (0:00:00.040) 0:00:58.687 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:10:00 +0000 (0:00:00.076) 0:00:58.763 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:10:00 +0000 (0:00:00.023) 0:00:58.787 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:10:00 +0000 (0:00:00.021) 0:00:58.808 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:10:02 +0000 (0:00:02.272) 0:01:01.080 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:10:03 +0000 (0:00:00.961) 0:01:02.042 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:10:03 +0000 (0:00:00.022) 0:01:02.065 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:10:03 +0000 (0:00:00.021) 0:01:02.087 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:10:03 +0000 (0:00:00.021) 0:01:02.108 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:10:03 +0000 (0:00:00.044) 0:01:02.152 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:10:03 +0000 (0:00:00.021) 0:01:02.174 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:10:03 +0000 (0:00:00.021) 0:01:02.196 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:10:03 +0000 (0:00:00.024) 0:01:02.220 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:10:04 +0000 (0:00:00.572) 0:01:02.793 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:10:04 +0000 (0:00:00.027) 0:01:02.820 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:10:04 +0000 (0:00:00.022) 0:01:02.842 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:10:04 +0000 (0:00:00.021) 0:01:02.863 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:10:04 +0000 (0:00:00.450) 0:01:03.314 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:10:04 +0000 (0:00:00.022) 0:01:03.336 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:10:04 +0000 (0:00:00.023) 0:01:03.359 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:10:04 +0000 (0:00:00.022) 0:01:03.382 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:10:04 +0000 (0:00:00.021) 0:01:03.404 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:10:04 +0000 (0:00:00.206) 0:01:03.610 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:10:04 +0000 (0:00:00.041) 0:01:03.652 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:10:04 +0000 (0:00:00.041) 0:01:03.694 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:10:05 +0000 (0:00:00.042) 0:01:03.736 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:10:05 +0000 (0:00:00.031) 0:01:03.767 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:10:05 +0000 (0:00:00.023) 0:01:03.790 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:10:05 +0000 (0:00:00.022) 0:01:03.813 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:10:07 +0000 (0:00:02.314) 0:01:06.128 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:10:08 +0000 (0:00:00.925) 0:01:07.054 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:10:08 +0000 (0:00:00.025) 0:01:07.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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:10:08 +0000 (0:00:00.052) 0:01:07.132 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:10:08 +0000 (0:00:00.024) 0:01:07.157 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:10:08 +0000 (0:00:00.049) 0:01:07.206 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:10:08 +0000 (0:00:00.025) 0:01:07.232 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:10:08 +0000 (0:00:00.024) 0:01:07.257 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:10:08 +0000 (0:00:00.030) 0:01:07.287 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:10:09 +0000 (0:00:00.591) 0:01:07.878 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:10:09 +0000 (0:00:00.029) 0:01:07.907 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:10:09 +0000 (0:00:00.025) 0:01:07.932 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:10:09 +0000 (0:00:00.023) 0:01:07.956 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:10:09 +0000 (0:00:00.481) 0:01:08.438 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:10:09 +0000 (0:00:00.023) 0:01:08.462 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:10:09 +0000 (0:00:00.055) 0:01:08.517 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:10:09 +0000 (0:00:00.025) 0:01:08.542 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:10:09 +0000 (0:00:00.024) 0:01:08.567 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:10:10 +0000 (0:00:00.218) 0:01:08.785 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:10:10 +0000 (0:00:00.044) 0:01:08.829 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:10:10 +0000 (0:00:00.042) 0:01:08.871 ******** 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:10:10 +0000 (0:00:00.025) 0:01:08.897 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:10:10 +0000 (0:00:00.219) 0:01:09.117 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:10:10 +0000 (0:00:00.023) 0:01:09.141 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022677", "end": "2024-01-12 18:10:10.620770", "rc": 1, "start": "2024-01-12 18:10:10.598093" } 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:10:10 +0000 (0:00:00.242) 0:01:09.384 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:10:10 +0000 (0:00:00.025) 0:01:09.409 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:10:10 +0000 (0:00:00.025) 0:01:09.435 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:10:10 +0000 (0:00:00.065) 0:01:09.501 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:10:10 +0000 (0:00:00.026) 0:01:09.527 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:10:10 +0000 (0:00:00.028) 0:01:09.556 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:10:10 +0000 (0:00:00.026) 0:01:09.582 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:10:10 +0000 (0:00:00.046) 0:01:09.629 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:10:10 +0000 (0:00:00.041) 0:01:09.670 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:10:11 +0000 (0:00:00.219) 0:01:09.890 ******** 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_type2n9espu7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:10:11 +0000 (0:00:00.027) 0:01:09.917 ******** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:10:11 +0000 (0:00:00.024) 0:01:09.941 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:10:11 +0000 (0:00:00.044) 0:01:09.986 ******** 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.043855", "end": "2024-01-12 18:10:11.488358", "rc": 1, "start": "2024-01-12 18:10:11.444503" } 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_type2n9espu7/tests/playbooks/tests_states.yml:126 Friday 12 January 2024 18:10:11 +0000 (0:00:00.264) 0:01:10.250 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/playbooks/tasks/run_test.yml:5 Friday 12 January 2024 18:10:11 +0000 (0:00:00.074) 0:01:10.325 ******** 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_type2n9espu7/tests/playbooks/tasks/run_test.yml:9 Friday 12 January 2024 18:10:11 +0000 (0:00:00.025) 0:01:10.351 ******** 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_type2n9espu7/tests/playbooks/tasks/run_test.yml:21 Friday 12 January 2024 18:10:11 +0000 (0:00:00.046) 0:01:10.397 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml:3 Friday 12 January 2024 18:10:11 +0000 (0:00:00.039) 0:01:10.437 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml:3 Friday 12 January 2024 18:10:11 +0000 (0:00:00.038) 0:01:10.475 ******** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005273", "end": "2024-01-12 18:10:12.937273", "rc": 0, "start": "2024-01-12 18:10:11.932000" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_current_interfaces.yml:9 Friday 12 January 2024 18:10:12 +0000 (0:00:01.226) 0:01:11.701 ******** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/show_interfaces.yml:5 Friday 12 January 2024 18:10:12 +0000 (0:00:00.025) 0:01:11.727 ******** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:24 Friday 12 January 2024 18:10:13 +0000 (0:00:00.024) 0:01:11.752 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml:3 Friday 12 January 2024 18:10:13 +0000 (0:00:00.086) 0:01:11.838 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:10:13 +0000 (0:00:00.043) 0:01:11.882 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:10:13 +0000 (0:00:00.045) 0:01:11.927 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:10:13 +0000 (0:00:00.031) 0:01:11.959 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:10:13 +0000 (0:00:00.024) 0:01:11.984 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:10:13 +0000 (0:00:00.023) 0:01:12.007 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:10:15 +0000 (0:00:02.278) 0:01:14.286 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:10:16 +0000 (0:00:00.927) 0:01:15.213 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:10:16 +0000 (0:00:00.024) 0:01:15.238 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:10:16 +0000 (0:00:00.023) 0:01:15.261 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:10:16 +0000 (0:00:00.024) 0:01:15.286 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:10:16 +0000 (0:00:00.046) 0:01:15.332 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:10:16 +0000 (0:00:00.023) 0:01:15.356 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:10:16 +0000 (0:00:00.024) 0:01:15.381 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:10:16 +0000 (0:00:00.063) 0:01:15.445 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:10:17 +0000 (0:00:00.579) 0:01:16.024 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:10:17 +0000 (0:00:00.032) 0:01:16.057 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:10:17 +0000 (0:00:00.023) 0:01:16.081 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:10:17 +0000 (0:00:00.024) 0:01:16.105 ******** 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, 953ab886-75e6-4d65-bd8a-6f7124f9d024 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:10:17 +0000 (0:00:00.426) 0:01:16.532 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:10:17 +0000 (0:00:00.023) 0:01:16.556 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 953ab886-75e6-4d65-bd8a-6f7124f9d024" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:10:17 +0000 (0:00:00.025) 0:01:16.582 ******** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 953ab886-75e6-4d65-bd8a-6f7124f9d024\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 953ab886-75e6-4d65-bd8a-6f7124f9d024" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:10:17 +0000 (0:00:00.025) 0:01:16.607 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:10:17 +0000 (0:00:00.023) 0:01:16.630 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/create_bridge_profile.yml:14 Friday 12 January 2024 18:10:18 +0000 (0:00:00.211) 0:01:16.841 ******** 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, 953ab886-75e6-4d65-bd8a-6f7124f9d024\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 953ab886-75e6-4d65-bd8a-6f7124f9d024" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/activate_profile.yml:3 Friday 12 January 2024 18:10:18 +0000 (0:00:00.024) 0:01:16.866 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:10:18 +0000 (0:00:00.077) 0:01:16.944 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:10:18 +0000 (0:00:00.046) 0:01:16.990 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:10:18 +0000 (0:00:00.031) 0:01:17.022 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:10:18 +0000 (0:00:00.024) 0:01:17.046 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:10:18 +0000 (0:00:00.025) 0:01:17.072 ******** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:10:20 +0000 (0:00:02.245) 0:01:19.317 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:10:21 +0000 (0:00:00.922) 0:01:20.240 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:10:21 +0000 (0:00:00.023) 0:01:20.263 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:10:21 +0000 (0:00:00.021) 0:01:20.284 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:10:21 +0000 (0:00:00.021) 0:01:20.306 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:10:21 +0000 (0:00:00.045) 0:01:20.351 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:10:21 +0000 (0:00:00.021) 0:01:20.373 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:10:21 +0000 (0:00:00.021) 0:01:20.394 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:10:21 +0000 (0:00:00.025) 0:01:20.420 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:10:22 +0000 (0:00:00.567) 0:01:20.987 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:10:22 +0000 (0:00:00.026) 0:01:21.013 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:10:22 +0000 (0:00:00.021) 0:01:21.035 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:10:22 +0000 (0:00:00.021) 0:01:21.057 ******** 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, 953ab886-75e6-4d65-bd8a-6f7124f9d024 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:10:22 +0000 (0:00:00.373) 0:01:21.430 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:10:22 +0000 (0:00:00.022) 0:01:21.452 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 953ab886-75e6-4d65-bd8a-6f7124f9d024 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:10:22 +0000 (0:00:00.022) 0:01:21.475 ******** 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, 953ab886-75e6-4d65-bd8a-6f7124f9d024 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 953ab886-75e6-4d65-bd8a-6f7124f9d024 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:10:22 +0000 (0:00:00.022) 0:01:21.497 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:10:22 +0000 (0:00:00.021) 0:01:21.519 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:10:23 +0000 (0:00:00.208) 0:01:21.728 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:10:23 +0000 (0:00:00.036) 0:01:21.765 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:10:23 +0000 (0:00:00.065) 0:01:21.830 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:10:23 +0000 (0:00:00.029) 0:01:21.859 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:10:23 +0000 (0:00:00.021) 0:01:21.881 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:10:23 +0000 (0:00:00.021) 0:01:21.902 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:10:25 +0000 (0:00:02.278) 0:01:24.181 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:10:26 +0000 (0:00:00.946) 0:01:25.128 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:10:26 +0000 (0:00:00.023) 0:01:25.151 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:10:26 +0000 (0:00:00.023) 0:01:25.174 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:10:26 +0000 (0:00:00.021) 0:01:25.195 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:10:26 +0000 (0:00:00.046) 0:01:25.241 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:10:26 +0000 (0:00:00.022) 0:01:25.264 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:10:26 +0000 (0:00:00.022) 0:01:25.286 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:10:26 +0000 (0:00:00.027) 0:01:25.314 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:10:27 +0000 (0:00:00.576) 0:01:25.891 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:10:27 +0000 (0:00:00.053) 0:01:25.944 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:10:27 +0000 (0:00:00.023) 0:01:25.968 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:10:27 +0000 (0:00:00.021) 0:01:25.989 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:10:27 +0000 (0:00:00.457) 0:01:26.447 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:10:27 +0000 (0:00:00.024) 0:01:26.471 ******** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:10:27 +0000 (0:00:00.024) 0:01:26.495 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:10:27 +0000 (0:00:00.023) 0:01:26.518 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:10:27 +0000 (0:00:00.022) 0:01:26.540 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:30 Friday 12 January 2024 18:10:28 +0000 (0:00:00.209) 0:01:26.749 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/remove+down_profile.yml:3 Friday 12 January 2024 18:10:28 +0000 (0:00:00.040) 0:01:26.790 ******** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:4 Friday 12 January 2024 18:10:28 +0000 (0:00:00.036) 0:01:26.826 ******** included: /WORKDIR/git-route_type2n9espu7/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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Friday 12 January 2024 18:10:28 +0000 (0:00:00.065) 0:01: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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Friday 12 January 2024 18:10:28 +0000 (0:00:00.029) 0:01:26.921 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Friday 12 January 2024 18:10:28 +0000 (0:00:00.022) 0:01:26.944 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Friday 12 January 2024 18:10:28 +0000 (0:00:00.023) 0:01:26.967 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Friday 12 January 2024 18:10:30 +0000 (0:00:02.315) 0:01:29.283 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:7 Friday 12 January 2024 18:10:31 +0000 (0:00:00.951) 0:01:30.235 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:11 Friday 12 January 2024 18:10:31 +0000 (0:00:00.023) 0:01:30.259 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:19 Friday 12 January 2024 18:10:31 +0000 (0:00:00.021) 0:01:30.280 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:30 Friday 12 January 2024 18:10:31 +0000 (0:00:00.021) 0:01:30.302 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:40 Friday 12 January 2024 18:10:31 +0000 (0:00:00.043) 0:01:30.346 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:55 Friday 12 January 2024 18:10:31 +0000 (0:00:00.021) 0:01:30.368 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:71 Friday 12 January 2024 18:10:31 +0000 (0:00:00.021) 0:01:30.389 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 Friday 12 January 2024 18:10:31 +0000 (0:00:00.024) 0:01:30.414 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:96 Friday 12 January 2024 18:10:32 +0000 (0:00:00.597) 0:01:31.011 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:105 Friday 12 January 2024 18:10:32 +0000 (0:00:00.026) 0:01:31.038 ******** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:113 Friday 12 January 2024 18:10:32 +0000 (0:00:00.022) 0:01:31.060 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 Friday 12 January 2024 18:10:32 +0000 (0:00:00.022) 0:01:31.082 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:134 Friday 12 January 2024 18:10:32 +0000 (0:00:00.405) 0:01:31.488 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:140 Friday 12 January 2024 18:10:32 +0000 (0:00:00.022) 0:01:31.510 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:144 Friday 12 January 2024 18:10:32 +0000 (0:00:00.024) 0:01:31.534 ******** 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_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:149 Friday 12 January 2024 18:10:32 +0000 (0:00:00.023) 0:01:31.558 ******** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:155 Friday 12 January 2024 18:10:32 +0000 (0:00:00.021) 0:01:31.580 ******** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:36 Friday 12 January 2024 18:10:33 +0000 (0:00:00.207) 0:01:31.788 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_absent.yml:3 Friday 12 January 2024 18:10:33 +0000 (0:00:00.045) 0:01:31.833 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:3 Friday 12 January 2024 18:10:33 +0000 (0:00:00.037) 0:01:31.870 ******** 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:9 Friday 12 January 2024 18:10:33 +0000 (0:00:00.049) 0:01:31.920 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:17 Friday 12 January 2024 18:10:33 +0000 (0:00:00.213) 0:01:32.133 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:25 Friday 12 January 2024 18:10:33 +0000 (0:00:00.022) 0:01:32.156 ******** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021989", "end": "2024-01-12 18:10:33.630302", "rc": 1, "start": "2024-01-12 18:10:33.608313" } 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_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:35 Friday 12 January 2024 18:10:33 +0000 (0:00:00.236) 0:01:32.392 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:49 Friday 12 January 2024 18:10:33 +0000 (0:00:00.025) 0:01:32.417 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:56 Friday 12 January 2024 18:10:33 +0000 (0:00:00.026) 0:01:32.444 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:62 Friday 12 January 2024 18:10:33 +0000 (0:00:00.025) 0:01:32.469 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_profile_stat.yml:69 Friday 12 January 2024 18:10:33 +0000 (0:00:00.024) 0:01:32.493 ******** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_profile_absent.yml:5 Friday 12 January 2024 18:10:33 +0000 (0:00:00.025) 0:01:32.519 ******** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Friday 12 January 2024 18:10:33 +0000 (0:00:00.025) 0:01:32.544 ******** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.362193", "end": "2024-01-12 18:10:34.358498", "rc": 0, "start": "2024-01-12 18:10:33.996305" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Friday 12 January 2024 18:10:34 +0000 (0:00:00.578) 0:01:33.123 ******** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Friday 12 January 2024 18:10:34 +0000 (0:00:00.024) 0:01:33.147 ******** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/run_test.yml:42 Friday 12 January 2024 18:10:34 +0000 (0:00:00.023) 0:01:33.170 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml:3 Friday 12 January 2024 18:10:34 +0000 (0:00:00.072) 0:01:33.243 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/get_interface_stat.yml:3 Friday 12 January 2024 18:10:34 +0000 (0:00:00.038) 0:01:33.281 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/assert_device_absent.yml:5 Friday 12 January 2024 18:10:34 +0000 (0:00:00.215) 0:01:33.496 ******** 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_type2n9espu7/tests/playbooks/tasks/run_test.yml:47 Friday 12 January 2024 18:10:34 +0000 (0:00:00.025) 0:01:33.521 ******** 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_type2n9espu7/tests/playbooks/tasks/run_test.yml:66 Friday 12 January 2024 18:10:34 +0000 (0:00:00.022) 0:01:33.544 ******** included: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-route_type2n9espu7/tests/playbooks/tasks/cleanup_profile+device.yml:3 Friday 12 January 2024 18:10:34 +0000 (0:00:00.042) 0:01:33.587 ******** 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.042620", "end": "2024-01-12 18:10:35.083386", "rc": 1, "start": "2024-01-12 18:10:35.040766" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Friday 12 January 2024 18:10:35 +0000 (0:00:00.244) 0:01:33.831 ******** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.03s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.37s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.33s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.32s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.31s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.27s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.24s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.23s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.23s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.77s /WORKDIR/git-route_type2n9espu7/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.51s /WORKDIR/git-route_type2n9espu7/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. ---^---^---^---^---^---