# 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-cin43ftrll/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/tests_states_nm.yml:6 Saturday 27 January 2024 13:30:45 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/tests_states_nm.yml:9 Saturday 27 January 2024 13:30:46 +0000 (0:00:00.920) 0:00:00.932 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/tasks/el_repo_setup.yml:3 Saturday 27 January 2024 13:30:46 +0000 (0:00:00.025) 0:00:00.958 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/tasks/el_repo_setup.yml:19 Saturday 27 January 2024 13:30:46 +0000 (0:00:00.540) 0:00:01.498 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/tasks/el_repo_setup.yml:24 Saturday 27 January 2024 13:30:47 +0000 (0:00:00.264) 0:00:01.762 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/tasks/el_repo_setup.yml:28 Saturday 27 January 2024 13:30:47 +0000 (0:00:00.039) 0:00:01.801 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/tasks/el_repo_setup.yml:53 Saturday 27 January 2024 13:30:47 +0000 (0:00:00.018) 0:00:01.820 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/tasks/enable_epel.yml:8 Saturday 27 January 2024 13:30:47 +0000 (0:00:00.030) 0:00:01.850 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/tasks/enable_epel.yml:24 Saturday 27 January 2024 13:30:47 +0000 (0:00:00.008) 0:00:01.859 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/tasks/enable_epel.yml:30 Saturday 27 January 2024 13:30:47 +0000 (0:00:00.008) 0:00:01.867 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/tasks/enable_epel.yml:35 Saturday 27 January 2024 13:30:47 +0000 (0:00:00.008) 0:00:01.875 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/tasks/enable_epel.yml:40 Saturday 27 January 2024 13:30:47 +0000 (0:00:00.008) 0:00:01.883 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/tests_states_nm.yml:11 Saturday 27 January 2024 13:30:47 +0000 (0:00:00.008) 0:00:01.892 ****** 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-cin43ftrll/tests/playbooks/tests_states.yml:3 Saturday 27 January 2024 13:30:47 +0000 (0:00:00.009) 0:00:01.901 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tests_states.yml:11 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.788) 0:00:02.689 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tests_states.yml:22 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.010) 0:00:02.699 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.016) 0:00:02.716 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.012) 0:00:02.728 ****** 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-cin43ftrll/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.031) 0:00:02.760 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.013) 0:00:02.774 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.012) 0:00:02.787 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003795", "end": "2024-01-27 13:30:48.364473", "rc": 0, "start": "2024-01-27 13:30:48.360678" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.249) 0:00:03.036 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.010) 0:00:03.047 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.010) 0:00:03.058 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/delete_interface.yml:3 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.019) 0:00:03.077 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008536", "end": "2024-01-27 13:30:48.613481", "rc": 1, "start": "2024-01-27 13:30:48.604945" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.209) 0:00:03.287 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.014) 0:00:03.302 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.196) 0:00:03.498 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.011) 0:00:03.510 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.018) 0:00:03.529 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.030) 0:00:03.560 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.066) 0:00:03.626 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.012) 0:00:03.639 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:30:48 +0000 (0:00:00.009) 0:00:03.648 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:30:49 +0000 (0:00:00.009) 0:00:03.658 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:30:51 +0000 (0:00:02.366) 0:00:06.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:30:52 +0000 (0:00:01.058) 0:00:07.083 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:30:52 +0000 (0:00:00.022) 0:00:07.106 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:30:52 +0000 (0:00:00.021) 0:00:07.127 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:30:52 +0000 (0:00:00.021) 0:00:07.149 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:30:52 +0000 (0:00:00.044) 0:00:07.193 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:30:52 +0000 (0:00:00.021) 0:00:07.215 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:30:52 +0000 (0:00:00.022) 0:00:07.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:30:52 +0000 (0:00:00.024) 0:00:07.262 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:30:53 +0000 (0:00:00.712) 0:00:07.975 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:30:53 +0000 (0:00:00.027) 0:00:08.002 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:30:53 +0000 (0:00:00.021) 0:00:08.023 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:30:53 +0000 (0:00:00.022) 0:00:08.046 ****** 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, f58b2b5b-47cc-48e5-95f6-19989467c690 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:30:53 +0000 (0:00:00.536) 0:00:08.583 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:30:53 +0000 (0:00:00.022) 0:00:08.605 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f58b2b5b-47cc-48e5-95f6-19989467c690" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:30:53 +0000 (0:00:00.023) 0:00:08.629 ****** 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, f58b2b5b-47cc-48e5-95f6-19989467c690\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f58b2b5b-47cc-48e5-95f6-19989467c690" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:30:54 +0000 (0:00:00.029) 0:00:08.658 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:30:54 +0000 (0:00:00.023) 0:00:08.682 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 13:30:54 +0000 (0:00:00.293) 0:00:08.975 ****** 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, f58b2b5b-47cc-48e5-95f6-19989467c690\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f58b2b5b-47cc-48e5-95f6-19989467c690" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 13:30:54 +0000 (0:00:00.024) 0:00:08.999 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 January 2024 13:30:54 +0000 (0:00:00.061) 0:00:09.060 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 13:30:54 +0000 (0:00:00.042) 0:00:09.102 ****** 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 13:30:54 +0000 (0:00:00.023) 0:00:09.126 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 13:30:54 +0000 (0:00:00.209) 0:00:09.336 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 13:30:54 +0000 (0:00:00.023) 0:00:09.359 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024303", "end": "2024-01-27 13:30:54.911346", "rc": 0, "start": "2024-01-27 13:30:54.887043" } 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 13:30:54 +0000 (0:00:00.239) 0:00:09.598 ****** 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 13:30:54 +0000 (0:00:00.025) 0:00:09.624 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 13:30:54 +0000 (0:00:00.024) 0:00:09.649 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.022) 0:00:09.671 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.024) 0:00:09.695 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.022) 0:00:09.718 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.024) 0:00:09.743 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.023) 0:00:09.767 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.044) 0:00:09.811 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.046) 0:00:09.857 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.037) 0:00:09.895 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706362253.84144, "block_size": 4096, "blocks": 0, "ctime": 1706362253.84144, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34554, "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": 1706362253.84144, "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-cin43ftrll/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.213) 0:00:10.108 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.026) 0:00:10.134 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.024) 0:00:10.159 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.043) 0:00:10.203 ****** 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.069238", "end": "2024-01-27 13:30:55.799361", "rc": 1, "start": "2024-01-27 13:30:55.730123" } STDOUT: Connection 'statebr' (f58b2b5b-47cc-48e5-95f6-19989467c690) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tests_states.yml:45 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.283) 0:00:10.486 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.039) 0:00:10.525 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.025) 0:00:10.551 ****** 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-cin43ftrll/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 13:30:55 +0000 (0:00:00.073) 0:00:10.624 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:30:56 +0000 (0:00:00.042) 0:00:10.667 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:30:56 +0000 (0:00:00.037) 0:00:10.704 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005058", "end": "2024-01-27 13:30:57.244395", "rc": 0, "start": "2024-01-27 13:30:56.239337" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:30:57 +0000 (0:00:01.227) 0:00:11.931 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:30:57 +0000 (0:00:00.024) 0:00:11.956 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 13:30:57 +0000 (0:00:00.024) 0:00:11.980 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/delete_interface.yml:3 Saturday 27 January 2024 13:30:57 +0000 (0:00:00.057) 0:00:12.038 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006971", "end": "2024-01-27 13:30:57.571888", "rc": 1, "start": "2024-01-27 13:30:57.564917" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 13:30:57 +0000 (0:00:00.217) 0:00:12.256 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:30:57 +0000 (0:00:00.057) 0:00:12.313 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 13:30:57 +0000 (0:00:00.214) 0:00:12.527 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 13:30:57 +0000 (0:00:00.026) 0:00:12.554 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 27 January 2024 13:30:57 +0000 (0:00:00.044) 0:00:12.599 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:30:57 +0000 (0:00:00.050) 0:00:12.650 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:30:58 +0000 (0:00:00.044) 0:00:12.694 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:30:58 +0000 (0:00:00.027) 0:00:12.722 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:30:58 +0000 (0:00:00.021) 0:00:12.743 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:30:58 +0000 (0:00:00.021) 0:00:12.765 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:31:00 +0000 (0:00:02.275) 0:00:15.040 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:31:01 +0000 (0:00:00.938) 0:00:15.979 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:31:01 +0000 (0:00:00.050) 0:00:16.030 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:31:01 +0000 (0:00:00.026) 0:00:16.056 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:31:01 +0000 (0:00:00.024) 0:00:16.080 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:31:01 +0000 (0:00:00.047) 0:00:16.127 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:31:01 +0000 (0:00:00.022) 0:00:16.150 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:31:01 +0000 (0:00:00.031) 0:00:16.181 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:31:01 +0000 (0:00:00.032) 0:00:16.214 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:31:02 +0000 (0:00:00.590) 0:00:16.804 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:31:02 +0000 (0:00:00.031) 0:00:16.835 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:31:02 +0000 (0:00:00.026) 0:00:16.862 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:31:02 +0000 (0:00:00.023) 0:00:16.886 ****** 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, 8086663b-684b-4082-9a58-91d8ca167164 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:31:02 +0000 (0:00:00.399) 0:00:17.285 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:31:02 +0000 (0:00:00.031) 0:00:17.316 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8086663b-684b-4082-9a58-91d8ca167164" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:31:02 +0000 (0:00:00.090) 0:00:17.407 ****** 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, 8086663b-684b-4082-9a58-91d8ca167164\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8086663b-684b-4082-9a58-91d8ca167164" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:31:02 +0000 (0:00:00.056) 0:00:17.463 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:31:02 +0000 (0:00:00.024) 0:00:17.488 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 27 January 2024 13:31:03 +0000 (0:00:00.216) 0:00:17.704 ****** 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, 8086663b-684b-4082-9a58-91d8ca167164\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8086663b-684b-4082-9a58-91d8ca167164" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 13:31:03 +0000 (0:00:00.028) 0:00:17.733 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 13:31:03 +0000 (0:00:00.053) 0:00:17.786 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:31:03 +0000 (0:00:00.041) 0:00:17.828 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 13:31:03 +0000 (0:00:00.242) 0:00:18.070 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 January 2024 13:31:03 +0000 (0:00:00.028) 0:00:18.098 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 13:31:03 +0000 (0:00:00.053) 0:00:18.151 ****** 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 13:31:03 +0000 (0:00:00.028) 0:00:18.179 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 13:31:03 +0000 (0:00:00.248) 0:00:18.427 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 13:31:03 +0000 (0:00:00.022) 0:00:18.450 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023391", "end": "2024-01-27 13:31:04.000765", "rc": 0, "start": "2024-01-27 13:31:03.977374" } 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.236) 0:00:18.687 ****** 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.026) 0:00:18.714 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.026) 0:00:18.740 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.024) 0:00:18.764 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.024) 0:00:18.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.023) 0:00:18.812 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.025) 0:00:18.838 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.027) 0:00:18.865 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.025) 0:00:18.890 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.040) 0:00:18.931 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.046) 0:00:18.977 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.073) 0:00:19.050 ****** 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.045656", "end": "2024-01-27 13:31:04.633741", "rc": 1, "start": "2024-01-27 13:31:04.588085" } STDOUT: Connection 'statebr' (8086663b-684b-4082-9a58-91d8ca167164) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tests_states.yml:65 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.275) 0:00:19.326 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.048) 0:00:19.375 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.030) 0:00:19.406 ****** 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-cin43ftrll/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.059) 0:00:19.465 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.038) 0:00:19.504 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:31:04 +0000 (0:00:00.035) 0:00:19.540 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003981", "end": "2024-01-27 13:31:05.073954", "rc": 0, "start": "2024-01-27 13:31:05.069973" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:31:05 +0000 (0:00:00.219) 0:00:19.759 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:31:05 +0000 (0:00:00.023) 0:00:19.783 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 13:31:05 +0000 (0:00:00.022) 0:00:19.805 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 13:31:05 +0000 (0:00:00.063) 0:00:19.868 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:31:05 +0000 (0:00:00.038) 0:00:19.907 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:31:05 +0000 (0:00:00.042) 0:00:19.950 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:31:05 +0000 (0:00:00.028) 0:00:19.978 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:31:05 +0000 (0:00:00.033) 0:00:20.012 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:31:05 +0000 (0:00:00.024) 0:00:20.036 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:31:07 +0000 (0:00:02.306) 0:00:22.343 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:31:08 +0000 (0:00:00.943) 0:00:23.286 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:31:08 +0000 (0:00:00.045) 0:00:23.332 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:31:08 +0000 (0:00:00.023) 0:00:23.355 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:31:08 +0000 (0:00:00.028) 0:00:23.384 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:31:08 +0000 (0:00:00.050) 0:00:23.435 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:31:08 +0000 (0:00:00.052) 0:00:23.488 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:31:08 +0000 (0:00:00.050) 0:00:23.538 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:31:08 +0000 (0:00:00.041) 0:00:23.579 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:31:09 +0000 (0:00:00.586) 0:00:24.166 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:31:09 +0000 (0:00:00.033) 0:00:24.199 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:31:09 +0000 (0:00:00.024) 0:00:24.223 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:31:09 +0000 (0:00:00.023) 0:00:24.247 ****** 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, 88047685-050d-4265-a6d3-04c9dfdf81a5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:31:10 +0000 (0:00:00.434) 0:00:24.682 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:31:10 +0000 (0:00:00.024) 0:00:24.706 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 88047685-050d-4265-a6d3-04c9dfdf81a5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:31:10 +0000 (0:00:00.024) 0:00:24.731 ****** 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, 88047685-050d-4265-a6d3-04c9dfdf81a5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 88047685-050d-4265-a6d3-04c9dfdf81a5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:31:10 +0000 (0:00:00.024) 0:00:24.755 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:31:10 +0000 (0:00:00.023) 0:00:24.778 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 13:31:10 +0000 (0:00:00.208) 0:00:24.987 ****** 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, 88047685-050d-4265-a6d3-04c9dfdf81a5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 88047685-050d-4265-a6d3-04c9dfdf81a5" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 13:31:10 +0000 (0:00:00.024) 0:00:25.011 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 13:31:10 +0000 (0:00:00.041) 0:00:25.053 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:31:10 +0000 (0:00:00.066) 0:00:25.120 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:31:10 +0000 (0:00:00.055) 0:00:25.175 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:31:10 +0000 (0:00:00.030) 0:00:25.205 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:31:10 +0000 (0:00:00.024) 0:00:25.230 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:31:10 +0000 (0:00:00.024) 0:00:25.255 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:31:12 +0000 (0:00:02.283) 0:00:27.538 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:31:13 +0000 (0:00:00.927) 0:00:28.466 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:31:13 +0000 (0:00:00.024) 0:00:28.490 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:31:13 +0000 (0:00:00.021) 0:00:28.512 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:31:13 +0000 (0:00:00.023) 0:00:28.536 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:31:13 +0000 (0:00:00.046) 0:00:28.582 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:31:13 +0000 (0:00:00.021) 0:00:28.603 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:31:13 +0000 (0:00:00.023) 0:00:28.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:31:14 +0000 (0:00:00.025) 0:00:28.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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:31:14 +0000 (0:00:00.565) 0:00:29.217 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:31:14 +0000 (0:00:00.027) 0:00:29.245 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:31:14 +0000 (0:00:00.022) 0:00:29.267 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:31:14 +0000 (0:00:00.021) 0:00:29.289 ****** 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, 88047685-050d-4265-a6d3-04c9dfdf81a5 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:31:15 +0000 (0:00:00.381) 0:00:29.670 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:31:15 +0000 (0:00:00.023) 0:00:29.693 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 88047685-050d-4265-a6d3-04c9dfdf81a5 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:31:15 +0000 (0:00:00.024) 0:00:29.718 ****** 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, 88047685-050d-4265-a6d3-04c9dfdf81a5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 88047685-050d-4265-a6d3-04c9dfdf81a5 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:31:15 +0000 (0:00:00.022) 0:00:29.741 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:31:15 +0000 (0:00:00.021) 0:00:29.762 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 13:31:15 +0000 (0:00:00.210) 0:00:29.973 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 27 January 2024 13:31:15 +0000 (0:00:00.059) 0:00:30.033 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:31:15 +0000 (0:00:00.102) 0:00:30.136 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706362269.9390194, "block_size": 4096, "blocks": 0, "ctime": 1706362269.9390194, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34685, "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": 1706362269.9390194, "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-cin43ftrll/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 27 January 2024 13:31:15 +0000 (0:00:00.217) 0:00:30.354 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 27 January 2024 13:31:15 +0000 (0:00:00.024) 0:00:30.378 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 13:31:15 +0000 (0:00:00.039) 0:00:30.418 ****** 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 13:31:15 +0000 (0:00:00.023) 0:00:30.441 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.214) 0:00:30.656 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.022) 0:00:30.678 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023828", "end": "2024-01-27 13:31:16.234070", "rc": 0, "start": "2024-01-27 13:31:16.210242" } 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.245) 0:00:30.923 ****** 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.026) 0:00:30.949 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.024) 0:00:30.974 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.023) 0:00:30.997 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.023) 0:00:31.020 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.049) 0:00:31.069 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.026) 0:00:31.096 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.025) 0:00:31.122 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.024) 0:00:31.146 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.022) 0:00:31.168 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.029) 0:00:31.197 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.045) 0:00:31.243 ****** 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.076173", "end": "2024-01-27 13:31:16.851163", "rc": 1, "start": "2024-01-27 13:31:16.774990" } STDOUT: Connection 'statebr' (88047685-050d-4265-a6d3-04c9dfdf81a5) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tests_states.yml:83 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.299) 0:00:31.543 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 13:31:16 +0000 (0:00:00.053) 0:00:31.597 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 13:31:17 +0000 (0:00:00.057) 0:00:31.654 ****** 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-cin43ftrll/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 13:31:17 +0000 (0:00:00.049) 0:00:31.704 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:31:17 +0000 (0:00:00.040) 0:00:31.744 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:31:17 +0000 (0:00:00.073) 0:00:31.817 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004064", "end": "2024-01-27 13:31:17.361693", "rc": 0, "start": "2024-01-27 13:31:17.357629" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:31:17 +0000 (0:00:00.235) 0:00:32.052 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:31:17 +0000 (0:00:00.029) 0:00:32.081 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 13:31:17 +0000 (0:00:00.024) 0:00:32.106 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 13:31:17 +0000 (0:00:00.046) 0:00:32.152 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:31:17 +0000 (0:00:00.040) 0:00:32.192 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:31:17 +0000 (0:00:00.044) 0:00:32.236 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:31:17 +0000 (0:00:00.027) 0:00:32.264 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:31:17 +0000 (0:00:00.022) 0:00:32.287 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:31:17 +0000 (0:00:00.028) 0:00:32.316 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:31:19 +0000 (0:00:02.311) 0:00:34.627 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:31:20 +0000 (0:00:00.946) 0:00:35.574 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:31:20 +0000 (0:00:00.032) 0:00:35.607 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:31:20 +0000 (0:00:00.026) 0:00:35.634 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:31:21 +0000 (0:00:00.058) 0:00:35.692 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:31:21 +0000 (0:00:00.055) 0:00:35.748 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:31:21 +0000 (0:00:00.024) 0:00:35.773 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:31:21 +0000 (0:00:00.022) 0:00:35.796 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:31:21 +0000 (0:00:00.026) 0:00:35.823 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:31:21 +0000 (0:00:00.565) 0:00:36.388 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:31:21 +0000 (0:00:00.029) 0:00:36.418 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:31:21 +0000 (0:00:00.021) 0:00:36.440 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:31:21 +0000 (0:00:00.021) 0:00:36.462 ****** 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, 59c65037-325d-4f56-9914-4b3a753f2bf3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:31:22 +0000 (0:00:00.440) 0:00:36.903 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:31:22 +0000 (0:00:00.028) 0:00:36.931 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59c65037-325d-4f56-9914-4b3a753f2bf3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:31:22 +0000 (0:00:00.064) 0:00:36.995 ****** 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, 59c65037-325d-4f56-9914-4b3a753f2bf3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59c65037-325d-4f56-9914-4b3a753f2bf3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:31:22 +0000 (0:00:00.079) 0:00:37.075 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:31:22 +0000 (0:00:00.027) 0:00:37.102 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 13:31:22 +0000 (0:00:00.217) 0:00:37.320 ****** 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, 59c65037-325d-4f56-9914-4b3a753f2bf3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59c65037-325d-4f56-9914-4b3a753f2bf3" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 13:31:22 +0000 (0:00:00.025) 0:00:37.345 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:31:22 +0000 (0:00:00.040) 0:00:37.386 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:31:22 +0000 (0:00:00.044) 0:00:37.431 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:31:22 +0000 (0:00:00.029) 0:00:37.461 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:31:22 +0000 (0:00:00.022) 0:00:37.483 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:31:22 +0000 (0:00:00.021) 0:00:37.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 : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:31:25 +0000 (0:00:02.321) 0:00:39.827 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:31:26 +0000 (0:00:00.933) 0:00:40.761 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:31:26 +0000 (0:00:00.031) 0:00:40.792 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:31:26 +0000 (0:00:00.024) 0:00:40.816 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:31:26 +0000 (0:00:00.025) 0:00:40.842 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:31:26 +0000 (0:00:00.050) 0:00:40.893 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:31:26 +0000 (0:00:00.042) 0:00:40.935 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:31:26 +0000 (0:00:00.023) 0:00:40.958 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:31:26 +0000 (0:00:00.028) 0:00:40.987 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:31:26 +0000 (0:00:00.565) 0:00:41.553 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:31:26 +0000 (0:00:00.026) 0:00:41.580 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:31:26 +0000 (0:00:00.022) 0:00:41.603 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:31:26 +0000 (0:00:00.023) 0:00:41.627 ****** 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, 59c65037-325d-4f56-9914-4b3a753f2bf3 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:31:27 +0000 (0:00:00.375) 0:00:42.002 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:31:27 +0000 (0:00:00.021) 0:00:42.024 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 59c65037-325d-4f56-9914-4b3a753f2bf3 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:31:27 +0000 (0:00:00.023) 0:00:42.047 ****** 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, 59c65037-325d-4f56-9914-4b3a753f2bf3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 59c65037-325d-4f56-9914-4b3a753f2bf3 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:31:27 +0000 (0:00:00.023) 0:00:42.071 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:31:27 +0000 (0:00:00.021) 0:00:42.093 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 13:31:27 +0000 (0:00:00.221) 0:00:42.314 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/remove_profile.yml:3 Saturday 27 January 2024 13:31:27 +0000 (0:00:00.044) 0:00:42.359 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:31:27 +0000 (0:00:00.044) 0:00:42.404 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:31:27 +0000 (0:00:00.052) 0:00:42.456 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:31:27 +0000 (0:00:00.032) 0:00:42.488 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:31:27 +0000 (0:00:00.029) 0:00:42.518 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:31:27 +0000 (0:00:00.026) 0:00:42.544 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:31:30 +0000 (0:00:02.314) 0:00:44.858 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:31:31 +0000 (0:00:00.990) 0:00:45.848 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:31:31 +0000 (0:00:00.029) 0:00:45.877 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:31:31 +0000 (0:00:00.036) 0:00:45.914 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:31:31 +0000 (0:00:00.038) 0:00:45.953 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:31:31 +0000 (0:00:00.056) 0:00:46.009 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:31:31 +0000 (0:00:00.028) 0:00:46.037 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:31:31 +0000 (0:00:00.078) 0:00:46.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:31:31 +0000 (0:00:00.028) 0:00:46.144 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:31:32 +0000 (0:00:00.575) 0:00:46.719 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:31:32 +0000 (0:00:00.027) 0:00:46.746 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:31:32 +0000 (0:00:00.022) 0:00:46.769 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:31:32 +0000 (0:00:00.022) 0:00:46.791 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:31:32 +0000 (0:00:00.415) 0:00:47.207 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:31:32 +0000 (0:00:00.025) 0:00:47.232 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:31:32 +0000 (0:00:00.025) 0:00:47.257 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:31:32 +0000 (0:00:00.028) 0:00:47.286 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:31:32 +0000 (0:00:00.024) 0:00:47.310 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 13:31:32 +0000 (0:00:00.210) 0:00:47.521 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 27 January 2024 13:31:32 +0000 (0:00:00.074) 0:00:47.596 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:31:32 +0000 (0:00:00.041) 0:00:47.637 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1706362282.1504934, "block_size": 4096, "blocks": 0, "ctime": 1706362282.1504934, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34816, "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": 1706362282.1504934, "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-cin43ftrll/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 27 January 2024 13:31:33 +0000 (0:00:00.215) 0:00:47.853 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 January 2024 13:31:33 +0000 (0:00:00.024) 0:00:47.877 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 13:31:33 +0000 (0:00:00.039) 0:00:47.916 ****** 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 13:31:33 +0000 (0:00:00.023) 0:00:47.940 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 13:31:33 +0000 (0:00:00.213) 0:00:48.153 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 13:31:33 +0000 (0:00:00.023) 0:00:48.176 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023541", "end": "2024-01-27 13:31:33.730072", "rc": 1, "start": "2024-01-27 13:31:33.706531" } 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 13:31:33 +0000 (0:00:00.241) 0:00:48.418 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 13:31:33 +0000 (0:00:00.025) 0:00:48.443 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 13:31:33 +0000 (0:00:00.028) 0:00:48.471 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 13:31:33 +0000 (0:00:00.068) 0:00:48.540 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 13:31:33 +0000 (0:00:00.025) 0:00:48.565 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 January 2024 13:31:33 +0000 (0:00:00.025) 0:00:48.591 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 13:31:33 +0000 (0:00:00.026) 0:00:48.617 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 13:31:33 +0000 (0:00:00.023) 0:00:48.641 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 13:31:34 +0000 (0:00:00.024) 0:00:48.665 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 13:31:34 +0000 (0:00:00.043) 0:00:48.709 ****** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.081098", "end": "2024-01-27 13:31:34.319378", "rc": 0, "start": "2024-01-27 13:31:34.238280" } STDOUT: Connection 'statebr' (59c65037-325d-4f56-9914-4b3a753f2bf3) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tests_states.yml:103 Saturday 27 January 2024 13:31:34 +0000 (0:00:00.305) 0:00:49.014 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 13:31:34 +0000 (0:00:00.039) 0:00:49.054 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 13:31:34 +0000 (0:00:00.023) 0:00:49.077 ****** 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-cin43ftrll/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 13:31:34 +0000 (0:00:00.048) 0:00:49.125 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:31:34 +0000 (0:00:00.039) 0:00:49.165 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:31:34 +0000 (0:00:00.084) 0:00:49.250 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004263", "end": "2024-01-27 13:31:34.790661", "rc": 0, "start": "2024-01-27 13:31:34.786398" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:31:34 +0000 (0:00:00.237) 0:00:49.487 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:31:34 +0000 (0:00:00.031) 0:00:49.519 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 13:31:34 +0000 (0:00:00.029) 0:00:49.549 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 13:31:34 +0000 (0:00:00.050) 0:00:49.599 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:31:34 +0000 (0:00:00.043) 0:00:49.643 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:31:35 +0000 (0:00:00.044) 0:00:49.687 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:31:35 +0000 (0:00:00.029) 0:00:49.716 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:31:35 +0000 (0:00:00.023) 0:00:49.740 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:31:35 +0000 (0:00:00.024) 0:00:49.765 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:31:37 +0000 (0:00:02.305) 0:00:52.071 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:31:38 +0000 (0:00:00.934) 0:00:53.005 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:31:38 +0000 (0:00:00.024) 0:00:53.030 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:31:38 +0000 (0:00:00.049) 0:00:53.080 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:31:38 +0000 (0:00:00.023) 0:00:53.103 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:31:38 +0000 (0:00:00.047) 0:00:53.151 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:31:38 +0000 (0:00:00.029) 0:00:53.180 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:31:38 +0000 (0:00:00.024) 0:00:53.204 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:31:38 +0000 (0:00:00.027) 0:00:53.232 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:31:39 +0000 (0:00:00.566) 0:00:53.798 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:31:39 +0000 (0:00:00.028) 0:00:53.826 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:31:39 +0000 (0:00:00.029) 0:00:53.856 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:31:39 +0000 (0:00:00.024) 0:00:53.881 ****** 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, 3b0dc8b8-0884-48e0-97ed-4727328b98fe TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:31:39 +0000 (0:00:00.500) 0:00:54.381 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:31:39 +0000 (0:00:00.023) 0:00:54.404 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b0dc8b8-0884-48e0-97ed-4727328b98fe" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:31:39 +0000 (0:00:00.024) 0:00:54.429 ****** 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, 3b0dc8b8-0884-48e0-97ed-4727328b98fe\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b0dc8b8-0884-48e0-97ed-4727328b98fe" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:31:39 +0000 (0:00:00.054) 0:00:54.483 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:31:39 +0000 (0:00:00.035) 0:00:54.519 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 13:31:40 +0000 (0:00:00.210) 0:00:54.729 ****** 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, 3b0dc8b8-0884-48e0-97ed-4727328b98fe\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b0dc8b8-0884-48e0-97ed-4727328b98fe" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 13:31:40 +0000 (0:00:00.025) 0:00:54.754 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:31:40 +0000 (0:00:00.037) 0:00:54.792 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:31:40 +0000 (0:00:00.048) 0:00:54.840 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:31:40 +0000 (0:00:00.030) 0:00:54.871 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:31:40 +0000 (0:00:00.024) 0:00:54.895 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:31:40 +0000 (0:00:00.023) 0:00:54.919 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:31:42 +0000 (0:00:02.279) 0:00:57.198 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:31:43 +0000 (0:00:00.933) 0:00:58.132 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:31:43 +0000 (0:00:00.024) 0:00:58.156 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:31:43 +0000 (0:00:00.022) 0:00:58.179 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:31:43 +0000 (0:00:00.022) 0:00:58.202 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:31:43 +0000 (0:00:00.065) 0:00:58.267 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:31:43 +0000 (0:00:00.023) 0:00:58.291 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:31:43 +0000 (0:00:00.022) 0:00:58.313 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:31:43 +0000 (0:00:00.025) 0:00:58.339 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:31:44 +0000 (0:00:00.569) 0:00:58.908 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:31:44 +0000 (0:00:00.027) 0:00:58.936 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:31:44 +0000 (0:00:00.025) 0:00:58.961 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:31:44 +0000 (0:00:00.022) 0:00:58.983 ****** 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, 3b0dc8b8-0884-48e0-97ed-4727328b98fe skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:31:44 +0000 (0:00:00.378) 0:00:59.362 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:31:44 +0000 (0:00:00.023) 0:00:59.385 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3b0dc8b8-0884-48e0-97ed-4727328b98fe skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:31:44 +0000 (0:00:00.025) 0:00:59.411 ****** 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, 3b0dc8b8-0884-48e0-97ed-4727328b98fe skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3b0dc8b8-0884-48e0-97ed-4727328b98fe skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:31:44 +0000 (0:00:00.024) 0:00:59.435 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:31:44 +0000 (0:00:00.024) 0:00:59.460 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/remove_profile.yml:3 Saturday 27 January 2024 13:31:45 +0000 (0:00:00.234) 0:00:59.695 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:31:45 +0000 (0:00:00.040) 0:00:59.736 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:31:45 +0000 (0:00:00.044) 0:00:59.780 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:31:45 +0000 (0:00:00.032) 0:00:59.812 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:31:45 +0000 (0:00:00.024) 0:00:59.837 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:31:45 +0000 (0:00:00.033) 0:00:59.870 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:31:47 +0000 (0:00:02.297) 0:01:02.168 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:31:48 +0000 (0:00:00.937) 0:01:03.105 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:31:48 +0000 (0:00:00.035) 0:01:03.140 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:31:48 +0000 (0:00:00.046) 0:01:03.187 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:31:48 +0000 (0:00:00.025) 0:01:03.212 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:31:48 +0000 (0:00:00.052) 0:01:03.265 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:31:48 +0000 (0:00:00.024) 0:01:03.289 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:31:48 +0000 (0:00:00.022) 0:01:03.312 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:31:48 +0000 (0:00:00.059) 0:01:03.371 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:31:49 +0000 (0:00:00.566) 0:01:03.938 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:31:49 +0000 (0:00:00.026) 0:01:03.965 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:31:49 +0000 (0:00:00.023) 0:01:03.988 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:31:49 +0000 (0:00:00.023) 0:01:04.012 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:31:49 +0000 (0:00:00.432) 0:01:04.445 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:31:49 +0000 (0:00:00.024) 0:01:04.470 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:31:49 +0000 (0:00:00.036) 0:01:04.507 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:31:49 +0000 (0:00:00.026) 0:01:04.533 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:31:49 +0000 (0:00:00.021) 0:01:04.555 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 13:31:50 +0000 (0:00:00.208) 0:01:04.763 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 January 2024 13:31:50 +0000 (0:00:00.066) 0:01:04.830 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:31:50 +0000 (0:00:00.043) 0:01:04.873 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:31:50 +0000 (0:00:00.042) 0:01:04.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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:31:50 +0000 (0:00:00.029) 0:01:04.946 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:31:50 +0000 (0:00:00.022) 0:01:04.969 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:31:50 +0000 (0:00:00.022) 0:01:04.992 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:31:52 +0000 (0:00:02.317) 0:01:07.309 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:31:53 +0000 (0:00:00.930) 0:01:08.239 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:31:53 +0000 (0:00:00.025) 0:01:08.264 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:31:53 +0000 (0:00:00.023) 0:01:08.288 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:31:53 +0000 (0:00:00.023) 0:01:08.311 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:31:53 +0000 (0:00:00.045) 0:01:08.357 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:31:53 +0000 (0:00:00.025) 0:01:08.383 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:31:53 +0000 (0:00:00.024) 0:01:08.407 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:31:53 +0000 (0:00:00.027) 0:01:08.435 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:31:54 +0000 (0:00:00.569) 0:01:09.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:31:54 +0000 (0:00:00.026) 0:01:09.031 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:31:54 +0000 (0:00:00.022) 0:01:09.053 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:31:54 +0000 (0:00:00.021) 0:01:09.075 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:31:54 +0000 (0:00:00.477) 0:01:09.553 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:31:54 +0000 (0:00:00.024) 0:01:09.577 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:31:54 +0000 (0:00:00.024) 0:01:09.602 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:31:54 +0000 (0:00:00.026) 0:01:09.628 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:31:55 +0000 (0:00:00.022) 0:01:09.651 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 13:31:55 +0000 (0:00:00.213) 0:01:09.864 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 January 2024 13:31:55 +0000 (0:00:00.042) 0:01:09.907 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 13:31:55 +0000 (0:00:00.063) 0:01:09.970 ****** 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 13:31:55 +0000 (0:00:00.023) 0:01:09.993 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 13:31:55 +0000 (0:00:00.212) 0:01:10.205 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 13:31:55 +0000 (0:00:00.021) 0:01:10.227 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022689", "end": "2024-01-27 13:31:55.777040", "rc": 1, "start": "2024-01-27 13:31:55.754351" } 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 13:31:55 +0000 (0:00:00.235) 0:01:10.463 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 13:31:55 +0000 (0:00:00.024) 0:01:10.487 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 13:31:55 +0000 (0:00:00.023) 0:01:10.511 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 13:31:55 +0000 (0:00:00.023) 0:01:10.534 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 13:31:55 +0000 (0:00:00.024) 0:01:10.558 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 January 2024 13:31:55 +0000 (0:00:00.024) 0:01:10.583 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 13:31:55 +0000 (0:00:00.024) 0:01:10.608 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 13:31:56 +0000 (0:00:00.043) 0:01:10.651 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:31:56 +0000 (0:00:00.060) 0:01:10.712 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 13:31:56 +0000 (0:00:00.214) 0:01:10.927 ****** 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-cin43ftrll/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 13:31:56 +0000 (0:00:00.026) 0:01:10.953 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 13:31:56 +0000 (0:00:00.025) 0:01:10.979 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 13:31:56 +0000 (0:00:00.044) 0:01:11.023 ****** 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.044098", "end": "2024-01-27 13:31:56.597746", "rc": 1, "start": "2024-01-27 13:31:56.553648" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tests_states.yml:126 Saturday 27 January 2024 13:31:56 +0000 (0:00:00.260) 0:01:11.284 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/playbooks/tasks/run_test.yml:5 Saturday 27 January 2024 13:31:56 +0000 (0:00:00.041) 0:01:11.326 ****** 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-cin43ftrll/tests/playbooks/tasks/run_test.yml:9 Saturday 27 January 2024 13:31:56 +0000 (0:00:00.025) 0:01:11.352 ****** 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-cin43ftrll/tests/playbooks/tasks/run_test.yml:21 Saturday 27 January 2024 13:31:56 +0000 (0:00:00.051) 0:01:11.404 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 27 January 2024 13:31:56 +0000 (0:00:00.038) 0:01:11.443 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 27 January 2024 13:31:56 +0000 (0:00:00.063) 0:01:11.506 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004361", "end": "2024-01-27 13:31:57.040068", "rc": 0, "start": "2024-01-27 13:31:57.035707" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 27 January 2024 13:31:57 +0000 (0:00:00.219) 0:01:11.726 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 27 January 2024 13:31:57 +0000 (0:00:00.024) 0:01:11.750 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:24 Saturday 27 January 2024 13:31:57 +0000 (0:00:00.023) 0:01:11.774 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 27 January 2024 13:31:57 +0000 (0:00:00.046) 0:01:11.820 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:31:57 +0000 (0:00:00.039) 0:01:11.860 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:31:57 +0000 (0:00:00.043) 0:01:11.903 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:31:57 +0000 (0:00:00.029) 0:01:11.932 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:31:57 +0000 (0:00:00.023) 0:01:11.956 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:31:57 +0000 (0:00:00.023) 0:01:11.979 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:31:59 +0000 (0:00:02.290) 0:01:14.269 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:32:00 +0000 (0:00:00.928) 0:01:15.198 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:32:00 +0000 (0:00:00.055) 0:01:15.253 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:32:00 +0000 (0:00:00.028) 0:01:15.282 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:32:00 +0000 (0:00:00.027) 0:01:15.309 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:32:00 +0000 (0:00:00.045) 0:01:15.355 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:32:00 +0000 (0:00:00.021) 0:01:15.377 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:32:00 +0000 (0:00:00.022) 0:01:15.399 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:32:00 +0000 (0:00:00.027) 0:01:15.427 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:32:01 +0000 (0:00:00.569) 0:01:15.997 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:32:01 +0000 (0:00:00.027) 0:01:16.024 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:32:01 +0000 (0:00:00.023) 0:01:16.048 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:32:01 +0000 (0:00:00.029) 0:01:16.078 ****** 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, bdba53f0-e720-4f46-80ec-7bef58adb243 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:32:01 +0000 (0:00:00.450) 0:01:16.528 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:32:01 +0000 (0:00:00.023) 0:01:16.552 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bdba53f0-e720-4f46-80ec-7bef58adb243" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:32:01 +0000 (0:00:00.089) 0:01:16.641 ****** 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, bdba53f0-e720-4f46-80ec-7bef58adb243\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bdba53f0-e720-4f46-80ec-7bef58adb243" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:32:02 +0000 (0:00:00.039) 0:01:16.681 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:32:02 +0000 (0:00:00.035) 0:01:16.716 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 27 January 2024 13:32:02 +0000 (0:00:00.218) 0:01:16.934 ****** 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, bdba53f0-e720-4f46-80ec-7bef58adb243\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bdba53f0-e720-4f46-80ec-7bef58adb243" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/activate_profile.yml:3 Saturday 27 January 2024 13:32:02 +0000 (0:00:00.024) 0:01:16.959 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:32:02 +0000 (0:00:00.039) 0:01:16.998 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:32:02 +0000 (0:00:00.043) 0:01:17.042 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:32:02 +0000 (0:00:00.029) 0:01:17.071 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:32:02 +0000 (0:00:00.023) 0:01:17.094 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:32:02 +0000 (0:00:00.024) 0:01:17.119 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:32:04 +0000 (0:00:02.308) 0:01:19.428 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:32:05 +0000 (0:00:00.950) 0:01:20.378 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:32:05 +0000 (0:00:00.024) 0:01:20.403 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:32:05 +0000 (0:00:00.041) 0:01:20.445 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:32:05 +0000 (0:00:00.061) 0:01:20.506 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:32:05 +0000 (0:00:00.055) 0:01:20.562 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:32:05 +0000 (0:00:00.024) 0:01:20.586 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:32:05 +0000 (0:00:00.023) 0:01:20.610 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:32:05 +0000 (0:00:00.027) 0:01:20.638 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:32:06 +0000 (0:00:00.598) 0:01:21.237 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:32:06 +0000 (0:00:00.027) 0:01:21.264 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:32:06 +0000 (0:00:00.023) 0:01:21.288 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:32:06 +0000 (0:00:00.023) 0:01:21.312 ****** 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, bdba53f0-e720-4f46-80ec-7bef58adb243 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:32:07 +0000 (0:00:00.372) 0:01:21.684 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:32:07 +0000 (0:00:00.023) 0:01:21.707 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bdba53f0-e720-4f46-80ec-7bef58adb243 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:32:07 +0000 (0:00:00.024) 0:01:21.731 ****** 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, bdba53f0-e720-4f46-80ec-7bef58adb243 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bdba53f0-e720-4f46-80ec-7bef58adb243 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:32:07 +0000 (0:00:00.025) 0:01:21.757 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:32:07 +0000 (0:00:00.052) 0:01:21.809 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 January 2024 13:32:07 +0000 (0:00:00.236) 0:01:22.046 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:32:07 +0000 (0:00:00.050) 0:01:22.096 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:32:07 +0000 (0:00:00.046) 0:01:22.142 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:32:07 +0000 (0:00:00.037) 0:01:22.180 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:32:07 +0000 (0:00:00.021) 0:01:22.202 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:32:07 +0000 (0:00:00.027) 0:01:22.229 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:32:09 +0000 (0:00:02.281) 0:01:24.511 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:32:10 +0000 (0:00:00.931) 0:01:25.443 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:32:10 +0000 (0:00:00.029) 0:01:25.473 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:32:10 +0000 (0:00:00.024) 0:01:25.497 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:32:10 +0000 (0:00:00.025) 0:01:25.522 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:32:10 +0000 (0:00:00.047) 0:01:25.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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:32:10 +0000 (0:00:00.022) 0:01:25.592 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:32:10 +0000 (0:00:00.023) 0:01:25.616 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:32:11 +0000 (0:00:00.070) 0:01:25.686 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:32:11 +0000 (0:00:00.575) 0:01:26.262 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:32:11 +0000 (0:00:00.028) 0:01:26.290 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:32:11 +0000 (0:00:00.022) 0:01:26.312 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:32:11 +0000 (0:00:00.021) 0:01:26.333 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:32:12 +0000 (0:00:00.484) 0:01:26.818 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:32:12 +0000 (0:00:00.023) 0:01:26.842 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:32:12 +0000 (0:00:00.024) 0:01:26.867 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:32:12 +0000 (0:00:00.024) 0:01:26.891 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:32:12 +0000 (0:00:00.022) 0:01:26.913 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:30 Saturday 27 January 2024 13:32:12 +0000 (0:00:00.206) 0:01:27.119 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 27 January 2024 13:32:12 +0000 (0:00:00.066) 0:01:27.186 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 27 January 2024 13:32:12 +0000 (0:00:00.038) 0:01:27.224 ****** included: /WORKDIR/git-weekly-cin43ftrll/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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 27 January 2024 13:32:12 +0000 (0:00:00.042) 0:01:27.267 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 27 January 2024 13:32:12 +0000 (0:00:00.027) 0:01:27.295 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 27 January 2024 13:32:12 +0000 (0:00:00.022) 0:01:27.317 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 27 January 2024 13:32:12 +0000 (0:00:00.023) 0:01:27.341 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 27 January 2024 13:32:14 +0000 (0:00:02.252) 0:01:29.593 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 27 January 2024 13:32:15 +0000 (0:00:00.929) 0:01:30.523 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 27 January 2024 13:32:15 +0000 (0:00:00.025) 0:01:30.548 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 27 January 2024 13:32:15 +0000 (0:00:00.023) 0:01:30.572 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 27 January 2024 13:32:15 +0000 (0:00:00.023) 0:01:30.596 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 27 January 2024 13:32:15 +0000 (0:00:00.044) 0:01:30.641 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 27 January 2024 13:32:16 +0000 (0:00:00.021) 0:01:30.663 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 27 January 2024 13:32:16 +0000 (0:00:00.022) 0:01:30.685 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 27 January 2024 13:32:16 +0000 (0:00:00.055) 0:01:30.740 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 27 January 2024 13:32:16 +0000 (0:00:00.567) 0:01:31.307 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 27 January 2024 13:32:16 +0000 (0:00:00.026) 0:01:31.334 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 27 January 2024 13:32:16 +0000 (0:00:00.021) 0:01:31.356 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 27 January 2024 13:32:16 +0000 (0:00:00.022) 0:01:31.378 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 27 January 2024 13:32:17 +0000 (0:00:00.403) 0:01:31.782 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 27 January 2024 13:32:17 +0000 (0:00:00.023) 0:01:31.805 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 27 January 2024 13:32:17 +0000 (0:00:00.025) 0:01:31.831 ****** 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-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 27 January 2024 13:32:17 +0000 (0:00:00.024) 0:01:31.855 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 27 January 2024 13:32:17 +0000 (0:00:00.021) 0:01:31.877 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:36 Saturday 27 January 2024 13:32:17 +0000 (0:00:00.206) 0:01:32.083 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 27 January 2024 13:32:17 +0000 (0:00:00.075) 0:01:32.159 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 27 January 2024 13:32:17 +0000 (0:00:00.040) 0:01:32.199 ****** 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 27 January 2024 13:32:17 +0000 (0:00:00.023) 0:01:32.223 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 27 January 2024 13:32:17 +0000 (0:00:00.215) 0:01:32.439 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 27 January 2024 13:32:17 +0000 (0:00:00.024) 0:01:32.464 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022658", "end": "2024-01-27 13:32:18.013705", "rc": 1, "start": "2024-01-27 13:32:17.991047" } 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-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 27 January 2024 13:32:18 +0000 (0:00:00.236) 0:01:32.700 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 27 January 2024 13:32:18 +0000 (0:00:00.023) 0:01:32.724 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 27 January 2024 13:32:18 +0000 (0:00:00.023) 0:01:32.747 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 27 January 2024 13:32:18 +0000 (0:00:00.028) 0:01:32.776 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 27 January 2024 13:32:18 +0000 (0:00:00.026) 0:01:32.802 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 27 January 2024 13:32:18 +0000 (0:00:00.026) 0:01:32.828 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 27 January 2024 13:32:18 +0000 (0:00:00.033) 0:01:32.862 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.368540", "end": "2024-01-27 13:32:18.764226", "rc": 0, "start": "2024-01-27 13:32:18.395686" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 27 January 2024 13:32:18 +0000 (0:00:00.594) 0:01:33.456 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 27 January 2024 13:32:18 +0000 (0:00:00.030) 0:01:33.487 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/run_test.yml:42 Saturday 27 January 2024 13:32:18 +0000 (0:00:00.033) 0:01:33.521 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 27 January 2024 13:32:18 +0000 (0:00:00.048) 0:01:33.569 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 27 January 2024 13:32:18 +0000 (0:00:00.044) 0:01:33.614 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 27 January 2024 13:32:19 +0000 (0:00:00.221) 0:01:33.835 ****** 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-cin43ftrll/tests/playbooks/tasks/run_test.yml:47 Saturday 27 January 2024 13:32:19 +0000 (0:00:00.028) 0:01:33.863 ****** 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-cin43ftrll/tests/playbooks/tasks/run_test.yml:66 Saturday 27 January 2024 13:32:19 +0000 (0:00:00.024) 0:01:33.888 ****** included: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cin43ftrll/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 27 January 2024 13:32:19 +0000 (0:00:00.054) 0:01:33.942 ****** 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.043056", "end": "2024-01-27 13:32:19.524269", "rc": 1, "start": "2024-01-27 13:32:19.481213" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=10 Saturday 27 January 2024 13:32:19 +0000 (0:00:00.252) 0:01:34.195 ****** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.00s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.37s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.36s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.32s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.32s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.31s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.31s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.31s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.31s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.31s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.30s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.30s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.29s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.71s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.51s /WORKDIR/git-weekly-cin43ftrll/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---