# 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-weekly-cib75cg7fb/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/tests_states_nm.yml:6 Saturday 20 January 2024 13:34:22 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/tests_states_nm.yml:9 Saturday 20 January 2024 13:34:22 +0000 (0:00:00.684) 0:00:00.696 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/tasks/el_repo_setup.yml:3 Saturday 20 January 2024 13:34:22 +0000 (0:00:00.023) 0:00:00.719 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/tasks/el_repo_setup.yml:19 Saturday 20 January 2024 13:34:23 +0000 (0:00:00.350) 0:00:01.069 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/tasks/el_repo_setup.yml:24 Saturday 20 January 2024 13:34:23 +0000 (0:00:00.378) 0:00:01.448 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/tasks/el_repo_setup.yml:28 Saturday 20 January 2024 13:34:23 +0000 (0:00:00.069) 0:00:01.517 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/tasks/el_repo_setup.yml:53 Saturday 20 January 2024 13:34:23 +0000 (0:00:00.023) 0:00:01.541 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/tasks/enable_epel.yml:8 Saturday 20 January 2024 13:34:23 +0000 (0:00:00.049) 0:00:01.590 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/tasks/enable_epel.yml:24 Saturday 20 January 2024 13:34:23 +0000 (0:00:00.011) 0:00:01.602 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/tasks/enable_epel.yml:30 Saturday 20 January 2024 13:34:23 +0000 (0:00:00.023) 0:00:01.625 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/tasks/enable_epel.yml:35 Saturday 20 January 2024 13:34:23 +0000 (0:00:00.010) 0:00:01.636 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/tasks/enable_epel.yml:40 Saturday 20 January 2024 13:34:23 +0000 (0:00:00.013) 0:00:01.649 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/tests_states_nm.yml:11 Saturday 20 January 2024 13:34:23 +0000 (0:00:00.032) 0:00:01.682 ****** 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-weekly-cib75cg7fb/tests/playbooks/tests_states.yml:3 Saturday 20 January 2024 13:34:23 +0000 (0:00:00.033) 0:00:01.715 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tests_states.yml:11 Saturday 20 January 2024 13:34:24 +0000 (0:00:00.506) 0:00:02.221 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tests_states.yml:22 Saturday 20 January 2024 13:34:24 +0000 (0:00:00.012) 0:00:02.234 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:34:24 +0000 (0:00:00.027) 0:00:02.262 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:34:24 +0000 (0:00:00.017) 0:00:02.279 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:34:24 +0000 (0:00:00.033) 0:00:02.312 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:34:24 +0000 (0:00:00.014) 0:00:02.327 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:34:24 +0000 (0:00:00.014) 0:00:02.341 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003700", "end": "2024-01-20 13:34:24.628466", "rc": 0, "start": "2024-01-20 13:34:24.624766" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:34:24 +0000 (0:00:00.257) 0:00:02.598 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:34:24 +0000 (0:00:00.026) 0:00:02.625 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:34:24 +0000 (0:00:00.019) 0:00:02.645 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/delete_interface.yml:3 Saturday 20 January 2024 13:34:24 +0000 (0:00:00.036) 0:00:02.681 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007910", "end": "2024-01-20 13:34:24.913717", "rc": 1, "start": "2024-01-20 13:34:24.905807" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:34:24 +0000 (0:00:00.202) 0:00:02.884 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:34:24 +0000 (0:00:00.015) 0:00:02.899 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:34:25 +0000 (0:00:00.200) 0:00:03.100 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:34:25 +0000 (0:00:00.035) 0:00:03.136 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:34:25 +0000 (0:00:00.021) 0:00:03.158 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:34:25 +0000 (0:00:00.036) 0:00:03.194 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:34:25 +0000 (0:00:00.123) 0:00:03.317 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:34:25 +0000 (0:00:00.034) 0:00:03.352 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:34:25 +0000 (0:00:00.022) 0:00:03.374 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:34:25 +0000 (0:00:00.017) 0:00:03.391 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:34:27 +0000 (0:00:01.666) 0:00:05.057 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:34:28 +0000 (0:00:01.207) 0:00:06.264 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:34:28 +0000 (0:00:00.022) 0:00:06.286 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:34:28 +0000 (0:00:00.023) 0:00:06.310 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:34:28 +0000 (0:00:00.038) 0:00:06.349 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:34:28 +0000 (0:00:00.046) 0:00:06.396 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:34:28 +0000 (0:00:00.028) 0:00:06.425 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:34:28 +0000 (0:00:00.020) 0:00:06.445 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:34:28 +0000 (0:00:00.032) 0:00:06.478 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:34:29 +0000 (0:00:00.615) 0:00:07.094 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:34:29 +0000 (0:00:00.038) 0:00:07.132 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:34:29 +0000 (0:00:00.023) 0:00:07.155 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:34:29 +0000 (0:00:00.022) 0:00:07.177 ****** 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, 6a5ef946-914d-49d7-878d-f8772eca0ea3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:34:29 +0000 (0:00:00.639) 0:00:07.817 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:34:29 +0000 (0:00:00.087) 0:00:07.904 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6a5ef946-914d-49d7-878d-f8772eca0ea3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:34:29 +0000 (0:00:00.032) 0:00:07.937 ****** 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, 6a5ef946-914d-49d7-878d-f8772eca0ea3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6a5ef946-914d-49d7-878d-f8772eca0ea3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:34:30 +0000 (0:00:00.055) 0:00:07.993 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:34:30 +0000 (0:00:00.029) 0:00:08.022 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:34:30 +0000 (0:00:00.251) 0:00:08.274 ****** 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, 6a5ef946-914d-49d7-878d-f8772eca0ea3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6a5ef946-914d-49d7-878d-f8772eca0ea3" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:34:30 +0000 (0:00:00.027) 0:00:08.302 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 20 January 2024 13:34:30 +0000 (0:00:00.043) 0:00:08.345 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:34:30 +0000 (0:00:00.059) 0:00:08.405 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:34:30 +0000 (0:00:00.035) 0:00:08.440 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:34:30 +0000 (0:00:00.257) 0:00:08.697 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:34:30 +0000 (0:00:00.058) 0:00:08.755 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023944", "end": "2024-01-20 13:34:31.024169", "rc": 0, "start": "2024-01-20 13:34:31.000225" } 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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.250) 0:00:09.006 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.026) 0:00:09.032 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.023) 0:00:09.055 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.021) 0:00:09.077 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.023) 0:00:09.101 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.021) 0:00:09.122 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.046) 0:00:09.169 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.024) 0:00:09.194 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.024) 0:00:09.218 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.056) 0:00:09.274 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.082) 0:00:09.357 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705757669.765136, "block_size": 4096, "blocks": 0, "ctime": 1705757669.765136, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28716, "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": 1705757669.765136, "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-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.224) 0:00:09.582 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.027) 0:00:09.609 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.029) 0:00:09.639 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:34:31 +0000 (0:00:00.063) 0:00:09.702 ****** 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.062988", "end": "2024-01-20 13:34:32.041600", "rc": 1, "start": "2024-01-20 13:34:31.978612" } STDOUT: Connection 'statebr' (6a5ef946-914d-49d7-878d-f8772eca0ea3) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tests_states.yml:45 Saturday 20 January 2024 13:34:32 +0000 (0:00:00.350) 0:00:10.052 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:34:32 +0000 (0:00:00.104) 0:00:10.156 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:34:32 +0000 (0:00:00.084) 0:00:10.241 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:34:32 +0000 (0:00:00.067) 0:00:10.308 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:34:32 +0000 (0:00:00.055) 0:00:10.364 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:34:32 +0000 (0:00:00.036) 0:00:10.400 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003598", "end": "2024-01-20 13:34:32.645637", "rc": 0, "start": "2024-01-20 13:34:32.642039" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:34:32 +0000 (0:00:00.224) 0:00:10.625 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:34:32 +0000 (0:00:00.024) 0:00:10.650 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:34:32 +0000 (0:00:00.024) 0:00:10.675 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/delete_interface.yml:3 Saturday 20 January 2024 13:34:32 +0000 (0:00:00.087) 0:00:10.762 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006678", "end": "2024-01-20 13:34:32.995043", "rc": 1, "start": "2024-01-20 13:34:32.988365" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:34:33 +0000 (0:00:00.250) 0:00:11.013 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:34:33 +0000 (0:00:00.047) 0:00:11.060 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:34:33 +0000 (0:00:00.230) 0:00:11.290 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:34:33 +0000 (0:00:00.041) 0:00:11.331 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 20 January 2024 13:34:33 +0000 (0:00:00.155) 0:00:11.487 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:34:33 +0000 (0:00:00.081) 0:00:11.568 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:34:33 +0000 (0:00:00.074) 0:00:11.643 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:34:33 +0000 (0:00:00.082) 0:00:11.726 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:34:33 +0000 (0:00:00.037) 0:00:11.763 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:34:33 +0000 (0:00:00.049) 0:00:11.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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:34:35 +0000 (0:00:01.480) 0:00:13.293 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:34:36 +0000 (0:00:00.998) 0:00:14.292 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:34:36 +0000 (0:00:00.025) 0:00:14.318 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:34:36 +0000 (0:00:00.024) 0:00:14.342 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:34:36 +0000 (0:00:00.029) 0:00:14.372 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:34:36 +0000 (0:00:00.058) 0:00:14.430 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:34:36 +0000 (0:00:00.026) 0:00:14.457 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:34:36 +0000 (0:00:00.026) 0:00:14.483 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:34:36 +0000 (0:00:00.026) 0:00:14.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:34:36 +0000 (0:00:00.386) 0:00:14.896 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:34:36 +0000 (0:00:00.046) 0:00:14.942 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:34:37 +0000 (0:00:00.023) 0:00:14.965 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:34:37 +0000 (0:00:00.068) 0:00:15.034 ****** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 693ac220-c8ba-44f6-8d09-1063e88a41fb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:34:37 +0000 (0:00:00.561) 0:00:15.596 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:34:37 +0000 (0:00:00.031) 0:00:15.627 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 693ac220-c8ba-44f6-8d09-1063e88a41fb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:34:37 +0000 (0:00:00.026) 0:00:15.654 ****** 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, 693ac220-c8ba-44f6-8d09-1063e88a41fb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 693ac220-c8ba-44f6-8d09-1063e88a41fb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:34:37 +0000 (0:00:00.028) 0:00:15.683 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:34:37 +0000 (0:00:00.021) 0:00:15.705 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 20 January 2024 13:34:37 +0000 (0:00:00.226) 0:00:15.931 ****** 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, 693ac220-c8ba-44f6-8d09-1063e88a41fb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 693ac220-c8ba-44f6-8d09-1063e88a41fb" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:34:38 +0000 (0:00:00.024) 0:00:15.956 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:34:38 +0000 (0:00:00.044) 0:00:16.000 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:34:38 +0000 (0:00:00.038) 0:00:16.039 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:34:38 +0000 (0:00:00.203) 0:00:16.242 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 20 January 2024 13:34:38 +0000 (0:00:00.024) 0:00:16.266 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:34:38 +0000 (0:00:00.037) 0:00:16.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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:34:38 +0000 (0:00:00.022) 0:00:16.326 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:34:38 +0000 (0:00:00.252) 0:00:16.579 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:34:38 +0000 (0:00:00.026) 0:00:16.606 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023271", "end": "2024-01-20 13:34:38.852302", "rc": 0, "start": "2024-01-20 13:34:38.829031" } 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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:34:38 +0000 (0:00:00.236) 0:00:16.842 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:34:38 +0000 (0:00:00.051) 0:00:16.894 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:34:38 +0000 (0:00:00.049) 0:00:16.944 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:34:39 +0000 (0:00:00.069) 0:00:17.013 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:34:39 +0000 (0:00:00.051) 0:00:17.065 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 20 January 2024 13:34:39 +0000 (0:00:00.052) 0:00:17.117 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 20 January 2024 13:34:39 +0000 (0:00:00.040) 0:00:17.157 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 20 January 2024 13:34:39 +0000 (0:00:00.027) 0:00:17.185 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:34:39 +0000 (0:00:00.023) 0:00:17.209 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:34:39 +0000 (0:00:00.035) 0:00:17.244 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:34:39 +0000 (0:00:00.038) 0:00:17.283 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:34:39 +0000 (0:00:00.055) 0:00:17.338 ****** 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.042479", "end": "2024-01-20 13:34:39.605536", "rc": 1, "start": "2024-01-20 13:34:39.563057" } STDOUT: Connection 'statebr' (693ac220-c8ba-44f6-8d09-1063e88a41fb) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tests_states.yml:65 Saturday 20 January 2024 13:34:39 +0000 (0:00:00.260) 0:00:17.599 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:34:39 +0000 (0:00:00.100) 0:00:17.699 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:34:39 +0000 (0:00:00.040) 0:00:17.740 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:34:39 +0000 (0:00:00.100) 0:00:17.840 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:34:39 +0000 (0:00:00.061) 0:00:17.901 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:34:40 +0000 (0:00:00.165) 0:00:18.067 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003558", "end": "2024-01-20 13:34:40.385457", "rc": 0, "start": "2024-01-20 13:34:40.381899" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:34:40 +0000 (0:00:00.348) 0:00:18.416 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:34:40 +0000 (0:00:00.056) 0:00:18.472 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:34:40 +0000 (0:00:00.038) 0:00:18.511 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:34:40 +0000 (0:00:00.085) 0:00:18.596 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:34:40 +0000 (0:00:00.045) 0:00:18.641 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:34:40 +0000 (0:00:00.050) 0:00:18.692 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:34:40 +0000 (0:00:00.169) 0:00:18.861 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:34:40 +0000 (0:00:00.029) 0:00:18.891 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:34:40 +0000 (0:00:00.037) 0:00:18.929 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:34:42 +0000 (0:00:01.478) 0:00:20.408 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:34:43 +0000 (0:00:00.948) 0:00:21.357 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:34:43 +0000 (0:00:00.041) 0:00:21.398 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:34:43 +0000 (0:00:00.022) 0:00:21.421 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:34:43 +0000 (0:00:00.045) 0:00:21.466 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:34:43 +0000 (0:00:00.044) 0:00:21.511 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:34:43 +0000 (0:00:00.021) 0:00:21.533 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:34:43 +0000 (0:00:00.022) 0:00:21.555 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:34:43 +0000 (0:00:00.025) 0:00:21.581 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:34:43 +0000 (0:00:00.365) 0:00:21.946 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:34:44 +0000 (0:00:00.025) 0:00:21.971 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:34:44 +0000 (0:00:00.021) 0:00:21.993 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:34:44 +0000 (0:00:00.021) 0:00:22.014 ****** 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, 614ca5c9-3ad2-4080-ae8e-24f3405e5a4c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:34:44 +0000 (0:00:00.415) 0:00:22.429 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:34:44 +0000 (0:00:00.027) 0:00:22.457 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 614ca5c9-3ad2-4080-ae8e-24f3405e5a4c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:34:44 +0000 (0:00:00.031) 0:00:22.489 ****** 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, 614ca5c9-3ad2-4080-ae8e-24f3405e5a4c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 614ca5c9-3ad2-4080-ae8e-24f3405e5a4c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:34:44 +0000 (0:00:00.029) 0:00:22.519 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:34:44 +0000 (0:00:00.031) 0:00:22.550 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:34:44 +0000 (0:00:00.210) 0:00:22.761 ****** 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, 614ca5c9-3ad2-4080-ae8e-24f3405e5a4c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 614ca5c9-3ad2-4080-ae8e-24f3405e5a4c" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:34:44 +0000 (0:00:00.060) 0:00:22.822 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:34:44 +0000 (0:00:00.042) 0:00:22.864 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:34:44 +0000 (0:00:00.050) 0:00:22.914 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:34:45 +0000 (0:00:00.040) 0:00:22.955 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:34:45 +0000 (0:00:00.027) 0:00:22.982 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:34:45 +0000 (0:00:00.021) 0:00:23.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:34:45 +0000 (0:00:00.022) 0:00:23.026 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:34:46 +0000 (0:00:01.479) 0:00:24.505 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:34:47 +0000 (0:00:01.009) 0:00:25.515 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:34:47 +0000 (0:00:00.027) 0:00:25.543 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:34:47 +0000 (0:00:00.023) 0:00:25.566 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:34:47 +0000 (0:00:00.050) 0:00:25.616 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:34:47 +0000 (0:00:00.058) 0:00:25.676 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:34:47 +0000 (0:00:00.023) 0:00:25.699 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:34:47 +0000 (0:00:00.022) 0:00:25.721 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:34:47 +0000 (0:00:00.029) 0:00:25.751 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:34:48 +0000 (0:00:00.360) 0:00:26.111 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:34:48 +0000 (0:00:00.027) 0:00:26.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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:34:48 +0000 (0:00:00.041) 0:00:26.180 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:34:48 +0000 (0:00:00.025) 0:00:26.205 ****** 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, 614ca5c9-3ad2-4080-ae8e-24f3405e5a4c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:34:48 +0000 (0:00:00.439) 0:00:26.644 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:34:48 +0000 (0:00:00.025) 0:00:26.670 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 614ca5c9-3ad2-4080-ae8e-24f3405e5a4c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:34:48 +0000 (0:00:00.036) 0:00:26.706 ****** 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, 614ca5c9-3ad2-4080-ae8e-24f3405e5a4c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 614ca5c9-3ad2-4080-ae8e-24f3405e5a4c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:34:48 +0000 (0:00:00.114) 0:00:26.820 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:34:48 +0000 (0:00:00.098) 0:00:26.919 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:34:49 +0000 (0:00:00.246) 0:00:27.165 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 20 January 2024 13:34:49 +0000 (0:00:00.079) 0:00:27.244 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:34:49 +0000 (0:00:00.077) 0:00:27.322 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705757684.3870535, "block_size": 4096, "blocks": 0, "ctime": 1705757684.3870535, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28847, "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": 1705757684.3870535, "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-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 20 January 2024 13:34:49 +0000 (0:00:00.273) 0:00:27.596 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 20 January 2024 13:34:49 +0000 (0:00:00.026) 0:00:27.623 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:34:49 +0000 (0:00:00.050) 0:00:27.673 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:34:49 +0000 (0:00:00.041) 0:00:27.715 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:34:49 +0000 (0:00:00.211) 0:00:27.926 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:34:50 +0000 (0:00:00.057) 0:00:27.984 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022055", "end": "2024-01-20 13:34:50.232607", "rc": 0, "start": "2024-01-20 13:34:50.210552" } 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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:34:50 +0000 (0:00:00.258) 0:00:28.242 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:34:50 +0000 (0:00:00.050) 0:00:28.293 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:34:50 +0000 (0:00:00.065) 0:00:28.359 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:34:50 +0000 (0:00:00.040) 0:00:28.400 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:34:50 +0000 (0:00:00.037) 0:00:28.437 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 20 January 2024 13:34:50 +0000 (0:00:00.035) 0:00:28.473 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 20 January 2024 13:34:50 +0000 (0:00:00.038) 0:00:28.511 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 20 January 2024 13:34:50 +0000 (0:00:00.056) 0:00:28.568 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:34:50 +0000 (0:00:00.048) 0:00:28.616 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:34:50 +0000 (0:00:00.025) 0:00:28.642 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:34:50 +0000 (0:00:00.034) 0:00:28.677 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:34:50 +0000 (0:00:00.095) 0:00:28.772 ****** 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.076781", "end": "2024-01-20 13:34:51.102440", "rc": 1, "start": "2024-01-20 13:34:51.025659" } STDOUT: Connection 'statebr' (614ca5c9-3ad2-4080-ae8e-24f3405e5a4c) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tests_states.yml:83 Saturday 20 January 2024 13:34:51 +0000 (0:00:00.337) 0:00:29.110 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:34:51 +0000 (0:00:00.113) 0:00:29.224 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:34:51 +0000 (0:00:00.038) 0:00:29.262 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:34:51 +0000 (0:00:00.061) 0:00:29.324 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:34:51 +0000 (0:00:00.055) 0:00:29.379 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:34:51 +0000 (0:00:00.075) 0:00:29.455 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003537", "end": "2024-01-20 13:34:51.704559", "rc": 0, "start": "2024-01-20 13:34:51.701022" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:34:51 +0000 (0:00:00.229) 0:00:29.684 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:34:51 +0000 (0:00:00.024) 0:00:29.709 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:34:51 +0000 (0:00:00.023) 0:00:29.732 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:34:51 +0000 (0:00:00.041) 0:00:29.774 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:34:51 +0000 (0:00:00.036) 0:00:29.810 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:34:51 +0000 (0:00:00.042) 0:00:29.853 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:34:51 +0000 (0:00:00.028) 0:00:29.881 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:34:51 +0000 (0:00:00.052) 0:00:29.933 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:34:52 +0000 (0:00:00.023) 0:00:29.956 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:34:53 +0000 (0:00:01.455) 0:00:31.412 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:34:54 +0000 (0:00:00.962) 0:00:32.374 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:34:54 +0000 (0:00:00.035) 0:00:32.410 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:34:54 +0000 (0:00:00.061) 0:00:32.472 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:34:54 +0000 (0:00:00.023) 0:00:32.495 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:34:54 +0000 (0:00:00.045) 0:00:32.540 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:34:54 +0000 (0:00:00.021) 0:00:32.562 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:34:54 +0000 (0:00:00.021) 0:00:32.583 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:34:54 +0000 (0:00:00.030) 0:00:32.613 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:34:55 +0000 (0:00:00.373) 0:00:32.987 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:34:55 +0000 (0:00:00.027) 0:00:33.014 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:34:55 +0000 (0:00:00.031) 0:00:33.046 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:34:55 +0000 (0:00:00.023) 0:00:33.069 ****** 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, 3e6639ce-dba9-46f3-987f-ce9058a19650 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:34:55 +0000 (0:00:00.409) 0:00:33.479 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:34:55 +0000 (0:00:00.023) 0:00:33.503 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3e6639ce-dba9-46f3-987f-ce9058a19650" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:34:55 +0000 (0:00:00.024) 0:00:33.527 ****** 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, 3e6639ce-dba9-46f3-987f-ce9058a19650\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3e6639ce-dba9-46f3-987f-ce9058a19650" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:34:55 +0000 (0:00:00.027) 0:00:33.554 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:34:55 +0000 (0:00:00.026) 0:00:33.581 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:34:55 +0000 (0:00:00.288) 0:00:33.870 ****** 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, 3e6639ce-dba9-46f3-987f-ce9058a19650\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3e6639ce-dba9-46f3-987f-ce9058a19650" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:34:55 +0000 (0:00:00.024) 0:00:33.894 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:34:55 +0000 (0:00:00.038) 0:00:33.933 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:34:56 +0000 (0:00:00.042) 0:00:33.975 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:34:56 +0000 (0:00:00.032) 0:00:34.007 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:34:56 +0000 (0:00:00.026) 0:00:34.034 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:34:56 +0000 (0:00:00.024) 0:00:34.058 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:34:57 +0000 (0:00:01.514) 0:00:35.573 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:34:58 +0000 (0:00:01.026) 0:00:36.600 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:34:58 +0000 (0:00:00.037) 0:00:36.637 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:34:58 +0000 (0:00:00.027) 0:00:36.665 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:34:58 +0000 (0:00:00.024) 0:00:36.689 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:34:58 +0000 (0:00:00.066) 0:00:36.756 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:34:58 +0000 (0:00:00.026) 0:00:36.783 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:34:58 +0000 (0:00:00.035) 0:00:36.818 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:34:58 +0000 (0:00:00.027) 0:00:36.846 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:34:59 +0000 (0:00:00.386) 0:00:37.233 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:34:59 +0000 (0:00:00.027) 0:00:37.261 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:34:59 +0000 (0:00:00.037) 0:00:37.298 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:34:59 +0000 (0:00:00.040) 0:00:37.339 ****** 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, 3e6639ce-dba9-46f3-987f-ce9058a19650 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:34:59 +0000 (0:00:00.412) 0:00:37.752 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:34:59 +0000 (0:00:00.034) 0:00:37.786 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3e6639ce-dba9-46f3-987f-ce9058a19650 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:34:59 +0000 (0:00:00.048) 0:00:37.834 ****** 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, 3e6639ce-dba9-46f3-987f-ce9058a19650 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3e6639ce-dba9-46f3-987f-ce9058a19650 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:34:59 +0000 (0:00:00.107) 0:00:37.941 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:35:00 +0000 (0:00:00.022) 0:00:37.964 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:35:00 +0000 (0:00:00.209) 0:00:38.174 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/remove_profile.yml:3 Saturday 20 January 2024 13:35:00 +0000 (0:00:00.041) 0:00:38.216 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:35:00 +0000 (0:00:00.041) 0:00:38.257 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:35:00 +0000 (0:00:00.050) 0:00:38.307 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:35:00 +0000 (0:00:00.028) 0:00:38.335 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:35:00 +0000 (0:00:00.023) 0:00:38.358 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:35:00 +0000 (0:00:00.030) 0:00:38.389 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:35:01 +0000 (0:00:01.529) 0:00:39.918 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:35:03 +0000 (0:00:01.061) 0:00:40.980 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:35:03 +0000 (0:00:00.058) 0:00:41.038 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:35:03 +0000 (0:00:00.078) 0:00:41.116 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:35:03 +0000 (0:00:00.080) 0:00:41.197 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:35:03 +0000 (0:00:00.075) 0:00:41.272 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:35:03 +0000 (0:00:00.048) 0:00:41.320 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:35:03 +0000 (0:00:00.031) 0:00:41.352 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:35:03 +0000 (0:00:00.053) 0:00:41.406 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:35:03 +0000 (0:00:00.443) 0:00:41.850 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:35:03 +0000 (0:00:00.058) 0:00:41.908 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:35:03 +0000 (0:00:00.035) 0:00:41.944 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:35:04 +0000 (0:00:00.082) 0:00:42.027 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:35:04 +0000 (0:00:00.434) 0:00:42.461 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:35:04 +0000 (0:00:00.072) 0:00:42.534 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:35:04 +0000 (0:00:00.049) 0:00:42.583 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:35:04 +0000 (0:00:00.033) 0:00:42.617 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:35:04 +0000 (0:00:00.041) 0:00:42.658 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:35:04 +0000 (0:00:00.244) 0:00:42.903 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 20 January 2024 13:35:05 +0000 (0:00:00.071) 0:00:42.974 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:35:05 +0000 (0:00:00.045) 0:00:43.019 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705757695.4421177, "block_size": 4096, "blocks": 0, "ctime": 1705757695.4421177, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 28978, "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": 1705757695.4421177, "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-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 20 January 2024 13:35:05 +0000 (0:00:00.213) 0:00:43.233 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 20 January 2024 13:35:05 +0000 (0:00:00.068) 0:00:43.302 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:35:05 +0000 (0:00:00.103) 0:00:43.405 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:35:05 +0000 (0:00:00.047) 0:00:43.452 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:35:05 +0000 (0:00:00.301) 0:00:43.754 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:35:05 +0000 (0:00:00.052) 0:00:43.806 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022953", "end": "2024-01-20 13:35:06.108727", "rc": 1, "start": "2024-01-20 13:35:06.085774" } 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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:35:06 +0000 (0:00:00.314) 0:00:44.121 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:35:06 +0000 (0:00:00.062) 0:00:44.183 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:35:06 +0000 (0:00:00.059) 0:00:44.243 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:35:06 +0000 (0:00:00.057) 0:00:44.301 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:35:06 +0000 (0:00:00.035) 0:00:44.336 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 20 January 2024 13:35:06 +0000 (0:00:00.023) 0:00:44.360 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:35:06 +0000 (0:00:00.025) 0:00:44.386 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:35:06 +0000 (0:00:00.022) 0:00:44.408 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:35:06 +0000 (0:00:00.022) 0:00:44.430 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:35:06 +0000 (0:00:00.053) 0:00:44.484 ****** 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.076607", "end": "2024-01-20 13:35:06.786810", "rc": 1, "start": "2024-01-20 13:35:06.710203" } STDOUT: Connection 'statebr' (3e6639ce-dba9-46f3-987f-ce9058a19650) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tests_states.yml:103 Saturday 20 January 2024 13:35:06 +0000 (0:00:00.292) 0:00:44.777 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:35:06 +0000 (0:00:00.047) 0:00:44.824 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:35:06 +0000 (0:00:00.055) 0:00:44.879 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:35:06 +0000 (0:00:00.053) 0:00:44.932 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:35:07 +0000 (0:00:00.039) 0:00:44.971 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:35:07 +0000 (0:00:00.036) 0:00:45.008 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003644", "end": "2024-01-20 13:35:07.235337", "rc": 0, "start": "2024-01-20 13:35:07.231693" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:35:07 +0000 (0:00:00.207) 0:00:45.216 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:35:07 +0000 (0:00:00.024) 0:00:45.240 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:35:07 +0000 (0:00:00.023) 0:00:45.264 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:35:07 +0000 (0:00:00.047) 0:00:45.312 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:35:07 +0000 (0:00:00.037) 0:00:45.350 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:35:07 +0000 (0:00:00.040) 0:00:45.390 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:35:07 +0000 (0:00:00.026) 0:00:45.417 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:35:07 +0000 (0:00:00.020) 0:00:45.437 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:35:07 +0000 (0:00:00.051) 0:00:45.488 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:35:09 +0000 (0:00:01.563) 0:00:47.052 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:35:10 +0000 (0:00:01.010) 0:00:48.062 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:35:10 +0000 (0:00:00.040) 0:00:48.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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:35:10 +0000 (0:00:00.048) 0:00:48.151 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:35:10 +0000 (0:00:00.027) 0:00:48.178 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:35:10 +0000 (0:00:00.046) 0:00:48.225 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:35:10 +0000 (0:00:00.023) 0:00:48.249 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:35:10 +0000 (0:00:00.052) 0:00:48.302 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:35:10 +0000 (0:00:00.028) 0:00:48.330 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:35:10 +0000 (0:00:00.367) 0:00:48.697 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:35:10 +0000 (0:00:00.027) 0:00:48.724 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:35:10 +0000 (0:00:00.024) 0:00:48.748 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:35:10 +0000 (0:00:00.035) 0:00:48.784 ****** 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, a662e168-50fa-4106-b032-f9c709ffb24f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:35:11 +0000 (0:00:00.515) 0:00:49.299 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:35:11 +0000 (0:00:00.059) 0:00:49.359 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a662e168-50fa-4106-b032-f9c709ffb24f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:35:11 +0000 (0:00:00.035) 0:00:49.395 ****** 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, a662e168-50fa-4106-b032-f9c709ffb24f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a662e168-50fa-4106-b032-f9c709ffb24f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:35:11 +0000 (0:00:00.047) 0:00:49.442 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:35:11 +0000 (0:00:00.033) 0:00:49.475 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:35:11 +0000 (0:00:00.232) 0:00:49.708 ****** 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, a662e168-50fa-4106-b032-f9c709ffb24f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a662e168-50fa-4106-b032-f9c709ffb24f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:35:11 +0000 (0:00:00.040) 0:00:49.748 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:35:11 +0000 (0:00:00.044) 0:00:49.792 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:35:11 +0000 (0:00:00.124) 0:00:49.916 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:35:12 +0000 (0:00:00.034) 0:00:49.951 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:35:12 +0000 (0:00:00.026) 0:00:49.978 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:35:12 +0000 (0:00:00.046) 0:00:50.025 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:35:13 +0000 (0:00:01.572) 0:00:51.597 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:35:14 +0000 (0:00:01.008) 0:00:52.606 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:35:14 +0000 (0:00:00.024) 0:00:52.630 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:35:14 +0000 (0:00:00.024) 0:00:52.655 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:35:14 +0000 (0:00:00.026) 0:00:52.682 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:35:14 +0000 (0:00:00.132) 0:00:52.815 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:35:15 +0000 (0:00:00.160) 0:00:52.975 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:35:15 +0000 (0:00:00.029) 0:00:53.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:35:15 +0000 (0:00:00.065) 0:00:53.069 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:35:15 +0000 (0:00:00.428) 0:00:53.498 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:35:15 +0000 (0:00:00.048) 0:00:53.547 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:35:15 +0000 (0:00:00.063) 0:00:53.611 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:35:15 +0000 (0:00:00.047) 0:00:53.658 ****** 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, a662e168-50fa-4106-b032-f9c709ffb24f skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:35:16 +0000 (0:00:00.447) 0:00:54.106 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:35:16 +0000 (0:00:00.049) 0:00:54.155 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a662e168-50fa-4106-b032-f9c709ffb24f skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:35:16 +0000 (0:00:00.029) 0:00:54.185 ****** 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, a662e168-50fa-4106-b032-f9c709ffb24f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a662e168-50fa-4106-b032-f9c709ffb24f skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:35:16 +0000 (0:00:00.032) 0:00:54.217 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:35:16 +0000 (0:00:00.026) 0:00:54.244 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/remove_profile.yml:3 Saturday 20 January 2024 13:35:16 +0000 (0:00:00.213) 0:00:54.457 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:35:16 +0000 (0:00:00.037) 0:00:54.495 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:35:16 +0000 (0:00:00.107) 0:00:54.602 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:35:16 +0000 (0:00:00.054) 0:00:54.657 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:35:16 +0000 (0:00:00.026) 0:00:54.683 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:35:16 +0000 (0:00:00.035) 0:00:54.719 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:35:18 +0000 (0:00:01.569) 0:00:56.289 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:35:19 +0000 (0:00:00.966) 0:00:57.255 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:35:19 +0000 (0:00:00.024) 0:00:57.279 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:35:19 +0000 (0:00:00.050) 0:00:57.329 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:35:19 +0000 (0:00:00.039) 0:00:57.369 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:35:19 +0000 (0:00:00.050) 0:00:57.420 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:35:19 +0000 (0:00:00.031) 0:00:57.452 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:35:19 +0000 (0:00:00.033) 0:00:57.485 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:35:19 +0000 (0:00:00.027) 0:00:57.513 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:35:19 +0000 (0:00:00.383) 0:00:57.897 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:35:19 +0000 (0:00:00.033) 0:00:57.930 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:35:20 +0000 (0:00:00.037) 0:00:57.968 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:35:20 +0000 (0:00:00.063) 0:00:58.031 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:35:20 +0000 (0:00:00.439) 0:00:58.471 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:35:20 +0000 (0:00:00.023) 0:00:58.495 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:35:20 +0000 (0:00:00.027) 0:00:58.522 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:35:20 +0000 (0:00:00.037) 0:00:58.560 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:35:20 +0000 (0:00:00.025) 0:00:58.585 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:35:20 +0000 (0:00:00.253) 0:00:58.839 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 20 January 2024 13:35:20 +0000 (0:00:00.061) 0:00:58.900 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:35:20 +0000 (0:00:00.047) 0:00:58.947 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:35:21 +0000 (0:00:00.041) 0:00:58.988 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:35:21 +0000 (0:00:00.027) 0:00:59.015 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:35:21 +0000 (0:00:00.022) 0:00:59.038 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:35:21 +0000 (0:00:00.025) 0:00:59.063 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:35:22 +0000 (0:00:01.598) 0:01:00.662 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:35:23 +0000 (0:00:00.996) 0:01:01.658 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:35:23 +0000 (0:00:00.025) 0:01:01.684 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:35:23 +0000 (0:00:00.027) 0:01:01.712 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:35:23 +0000 (0:00:00.034) 0:01:01.746 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:35:23 +0000 (0:00:00.047) 0:01:01.794 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:35:23 +0000 (0:00:00.027) 0:01:01.821 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:35:23 +0000 (0:00:00.062) 0:01:01.884 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:35:23 +0000 (0:00:00.049) 0:01:01.933 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:35:24 +0000 (0:00:00.447) 0:01:02.381 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:35:24 +0000 (0:00:00.076) 0:01:02.457 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:35:24 +0000 (0:00:00.031) 0:01:02.489 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:35:24 +0000 (0:00:00.023) 0:01:02.513 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:35:25 +0000 (0:00:00.667) 0:01:03.181 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:35:25 +0000 (0:00:00.102) 0:01:03.283 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:35:25 +0000 (0:00:00.064) 0:01:03.347 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:35:25 +0000 (0:00:00.026) 0:01:03.374 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:35:25 +0000 (0:00:00.030) 0:01:03.404 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:35:25 +0000 (0:00:00.283) 0:01:03.688 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 20 January 2024 13:35:25 +0000 (0:00:00.071) 0:01:03.760 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:35:25 +0000 (0:00:00.104) 0:01:03.864 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:35:25 +0000 (0:00:00.061) 0:01:03.926 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:35:26 +0000 (0:00:00.265) 0:01:04.191 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:35:26 +0000 (0:00:00.025) 0:01:04.217 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021411", "end": "2024-01-20 13:35:26.460843", "rc": 1, "start": "2024-01-20 13:35:26.439432" } 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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:35:26 +0000 (0:00:00.264) 0:01:04.481 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:35:26 +0000 (0:00:00.041) 0:01:04.522 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:35:26 +0000 (0:00:00.024) 0:01:04.547 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:35:26 +0000 (0:00:00.060) 0:01:04.607 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:35:26 +0000 (0:00:00.038) 0:01:04.646 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 20 January 2024 13:35:26 +0000 (0:00:00.034) 0:01:04.681 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:35:26 +0000 (0:00:00.034) 0:01:04.715 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:35:26 +0000 (0:00:00.052) 0:01:04.768 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:35:26 +0000 (0:00:00.046) 0:01:04.815 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:35:27 +0000 (0:00:00.290) 0:01:05.106 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:35:27 +0000 (0:00:00.030) 0:01:05.136 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:35:27 +0000 (0:00:00.025) 0:01:05.162 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:35:27 +0000 (0:00:00.042) 0:01:05.205 ****** 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.042599", "end": "2024-01-20 13:35:27.484261", "rc": 1, "start": "2024-01-20 13:35:27.441662" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tests_states.yml:126 Saturday 20 January 2024 13:35:27 +0000 (0:00:00.270) 0:01:05.475 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:35:27 +0000 (0:00:00.037) 0:01:05.513 ****** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:35:27 +0000 (0:00:00.024) 0:01:05.537 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:35:27 +0000 (0:00:00.190) 0:01:05.728 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:35:27 +0000 (0:00:00.041) 0:01:05.769 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:35:27 +0000 (0:00:00.039) 0:01:05.808 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003650", "end": "2024-01-20 13:35:28.037552", "rc": 0, "start": "2024-01-20 13:35:28.033902" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:35:28 +0000 (0:00:00.222) 0:01:06.031 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:35:28 +0000 (0:00:00.039) 0:01:06.071 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:35:28 +0000 (0:00:00.066) 0:01:06.137 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:35:28 +0000 (0:00:00.067) 0:01:06.205 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:35:28 +0000 (0:00:00.082) 0:01:06.287 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:35:28 +0000 (0:00:00.080) 0:01:06.368 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:35:28 +0000 (0:00:00.053) 0:01:06.421 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:35:28 +0000 (0:00:00.046) 0:01:06.468 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:35:28 +0000 (0:00:00.083) 0:01:06.551 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:35:30 +0000 (0:00:01.546) 0:01:08.098 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:35:31 +0000 (0:00:00.989) 0:01:09.088 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:35:31 +0000 (0:00:00.041) 0:01:09.129 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:35:31 +0000 (0:00:00.026) 0:01:09.156 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:35:31 +0000 (0:00:00.076) 0:01:09.232 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:35:31 +0000 (0:00:00.135) 0:01:09.368 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:35:31 +0000 (0:00:00.025) 0:01:09.393 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:35:31 +0000 (0:00:00.024) 0:01:09.417 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:35:31 +0000 (0:00:00.030) 0:01:09.448 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:35:31 +0000 (0:00:00.372) 0:01:09.821 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:35:31 +0000 (0:00:00.029) 0:01:09.850 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:35:31 +0000 (0:00:00.030) 0:01:09.881 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:35:31 +0000 (0:00:00.027) 0:01:09.909 ****** 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, 569797b5-2194-4cca-b0f3-8e44011d09f7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:35:32 +0000 (0:00:00.449) 0:01:10.358 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:35:32 +0000 (0:00:00.044) 0:01:10.402 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 569797b5-2194-4cca-b0f3-8e44011d09f7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:35:32 +0000 (0:00:00.031) 0:01:10.434 ****** 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, 569797b5-2194-4cca-b0f3-8e44011d09f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 569797b5-2194-4cca-b0f3-8e44011d09f7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:35:32 +0000 (0:00:00.023) 0:01:10.457 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:35:32 +0000 (0:00:00.022) 0:01:10.480 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:35:32 +0000 (0:00:00.198) 0:01:10.679 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 569797b5-2194-4cca-b0f3-8e44011d09f7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 569797b5-2194-4cca-b0f3-8e44011d09f7" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:35:32 +0000 (0:00:00.051) 0:01:10.730 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:35:32 +0000 (0:00:00.036) 0:01:10.767 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:35:32 +0000 (0:00:00.045) 0:01:10.812 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:35:32 +0000 (0:00:00.050) 0:01:10.862 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:35:32 +0000 (0:00:00.034) 0:01:10.897 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:35:32 +0000 (0:00:00.033) 0:01:10.930 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:35:34 +0000 (0:00:01.551) 0:01:12.481 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:35:35 +0000 (0:00:00.987) 0:01:13.469 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:35:35 +0000 (0:00:00.021) 0:01:13.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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:35:35 +0000 (0:00:00.021) 0:01:13.512 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:35:35 +0000 (0:00:00.023) 0:01:13.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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:35:35 +0000 (0:00:00.045) 0:01:13.581 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:35:35 +0000 (0:00:00.023) 0:01:13.604 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:35:35 +0000 (0:00:00.021) 0:01:13.625 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:35:35 +0000 (0:00:00.027) 0:01:13.652 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:35:36 +0000 (0:00:00.366) 0:01:14.019 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:35:36 +0000 (0:00:00.026) 0:01:14.046 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:35:36 +0000 (0:00:00.021) 0:01:14.067 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:35:36 +0000 (0:00:00.020) 0:01:14.088 ****** 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, 569797b5-2194-4cca-b0f3-8e44011d09f7 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:35:36 +0000 (0:00:00.393) 0:01:14.482 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:35:36 +0000 (0:00:00.022) 0:01:14.505 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 569797b5-2194-4cca-b0f3-8e44011d09f7 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:35:36 +0000 (0:00:00.024) 0:01:14.529 ****** 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, 569797b5-2194-4cca-b0f3-8e44011d09f7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 569797b5-2194-4cca-b0f3-8e44011d09f7 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:35:36 +0000 (0:00:00.029) 0:01:14.558 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:35:36 +0000 (0:00:00.022) 0:01:14.580 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 20 January 2024 13:35:36 +0000 (0:00:00.195) 0:01:14.776 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:35:36 +0000 (0:00:00.036) 0:01:14.812 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:35:36 +0000 (0:00:00.042) 0:01:14.854 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:35:36 +0000 (0:00:00.031) 0:01:14.886 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:35:36 +0000 (0:00:00.042) 0:01:14.928 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:35:37 +0000 (0:00:00.040) 0:01:14.969 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:35:38 +0000 (0:00:01.524) 0:01:16.494 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:35:39 +0000 (0:00:00.964) 0:01:17.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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:35:39 +0000 (0:00:00.024) 0:01:17.482 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:35:39 +0000 (0:00:00.021) 0:01:17.504 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:35:39 +0000 (0:00:00.021) 0:01:17.526 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:35:39 +0000 (0:00:00.043) 0:01:17.569 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:35:39 +0000 (0:00:00.023) 0:01:17.593 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:35:39 +0000 (0:00:00.047) 0:01:17.641 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:35:39 +0000 (0:00:00.025) 0:01:17.666 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:35:40 +0000 (0:00:00.365) 0:01:18.032 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:35:40 +0000 (0:00:00.027) 0:01:18.059 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:35:40 +0000 (0:00:00.023) 0:01:18.083 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:35:40 +0000 (0:00:00.023) 0:01:18.106 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:35:40 +0000 (0:00:00.454) 0:01:18.561 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:35:40 +0000 (0:00:00.037) 0:01:18.598 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:35:40 +0000 (0:00:00.051) 0:01:18.649 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:35:40 +0000 (0:00:00.030) 0:01:18.680 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:35:40 +0000 (0:00:00.022) 0:01:18.702 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:35:40 +0000 (0:00:00.200) 0:01:18.903 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 20 January 2024 13:35:40 +0000 (0:00:00.041) 0:01:18.945 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:35:41 +0000 (0:00:00.084) 0:01:19.029 ****** included: /WORKDIR/git-weekly-cib75cg7fb/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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:35:41 +0000 (0:00:00.047) 0:01:19.076 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:35:41 +0000 (0:00:00.029) 0:01:19.106 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:35:41 +0000 (0:00:00.022) 0:01:19.129 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:35:41 +0000 (0:00:00.022) 0:01:19.151 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:35:42 +0000 (0:00:01.448) 0:01:20.600 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:35:43 +0000 (0:00:01.008) 0:01:21.609 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:35:43 +0000 (0:00:00.044) 0:01:21.653 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:35:43 +0000 (0:00:00.037) 0:01:21.691 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:35:43 +0000 (0:00:00.030) 0:01:21.721 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:35:43 +0000 (0:00:00.048) 0:01:21.769 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:35:43 +0000 (0:00:00.024) 0:01:21.793 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:35:43 +0000 (0:00:00.023) 0:01:21.816 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:35:43 +0000 (0:00:00.028) 0:01:21.845 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:35:44 +0000 (0:00:00.368) 0:01:22.213 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:35:44 +0000 (0:00:00.026) 0:01:22.240 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:35:44 +0000 (0:00:00.020) 0:01:22.261 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:35:44 +0000 (0:00:00.021) 0:01:22.282 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:35:44 +0000 (0:00:00.441) 0:01:22.723 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:35:44 +0000 (0:00:00.022) 0:01:22.745 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:35:44 +0000 (0:00:00.023) 0:01:22.769 ****** 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-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:35:44 +0000 (0:00:00.023) 0:01:22.793 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:35:44 +0000 (0:00:00.021) 0:01:22.814 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:35:45 +0000 (0:00:00.196) 0:01:23.011 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 20 January 2024 13:35:45 +0000 (0:00:00.047) 0:01:23.058 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:35:45 +0000 (0:00:00.038) 0:01:23.097 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:35:45 +0000 (0:00:00.022) 0:01:23.119 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:35:45 +0000 (0:00:00.199) 0:01:23.319 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:35:45 +0000 (0:00:00.027) 0:01:23.346 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021459", "end": "2024-01-20 13:35:45.588215", "rc": 1, "start": "2024-01-20 13:35:45.566756" } 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-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:35:45 +0000 (0:00:00.222) 0:01:23.569 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:35:45 +0000 (0:00:00.024) 0:01:23.593 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:35:45 +0000 (0:00:00.023) 0:01:23.617 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:35:45 +0000 (0:00:00.062) 0:01:23.679 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:35:45 +0000 (0:00:00.039) 0:01:23.719 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 20 January 2024 13:35:45 +0000 (0:00:00.039) 0:01:23.758 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 20 January 2024 13:35:45 +0000 (0:00:00.030) 0:01:23.789 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.596587", "end": "2024-01-20 13:35:46.606801", "rc": 0, "start": "2024-01-20 13:35:46.010214" } STDOUT: NetworkManager-1.45.9-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 20 January 2024 13:35:46 +0000 (0:00:00.798) 0:01:24.587 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.9-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 20 January 2024 13:35:46 +0000 (0:00:00.023) 0:01:24.611 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.9-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:35:46 +0000 (0:00:00.024) 0:01:24.636 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:35:46 +0000 (0:00:00.046) 0:01:24.682 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:35:46 +0000 (0:00:00.037) 0:01:24.720 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:35:46 +0000 (0:00:00.199) 0:01:24.919 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:35:46 +0000 (0:00:00.026) 0:01:24.946 ****** 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-weekly-cib75cg7fb/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:35:47 +0000 (0:00:00.055) 0:01:25.001 ****** included: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cib75cg7fb/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:35:47 +0000 (0:00:00.042) 0:01:25.043 ****** 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.043408", "end": "2024-01-20 13:35:47.308067", "rc": 1, "start": "2024-01-20 13:35:47.264659" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Saturday 20 January 2024 13:35:47 +0000 (0:00:00.231) 0:01:25.275 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.43s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.09s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.69s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.56s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.54s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-weekly-cib75cg7fb/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---