# 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-tft-testsgbd2_0in/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tests_states_nm.yml:6 Monday 17 June 2024 14:48:28 +0000 (0:00:00.017) 0:00:00.017 *********** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tests_states_nm.yml:9 Monday 17 June 2024 14:48:28 +0000 (0:00:00.680) 0:00:00.698 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:3 Monday 17 June 2024 14:48:28 +0000 (0:00:00.023) 0:00:00.721 *********** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:19 Monday 17 June 2024 14:48:29 +0000 (0:00:00.325) 0:00:01.047 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:24 Monday 17 June 2024 14:48:29 +0000 (0:00:00.250) 0:00:01.297 *********** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:28 Monday 17 June 2024 14:48:29 +0000 (0:00:00.021) 0:00:01.319 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/el_repo_setup.yml:53 Monday 17 June 2024 14:48:29 +0000 (0:00:00.020) 0:00:01.340 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:8 Monday 17 June 2024 14:48:29 +0000 (0:00:00.036) 0:00:01.376 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:24 Monday 17 June 2024 14:48:29 +0000 (0:00:00.033) 0:00:01.409 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:30 Monday 17 June 2024 14:48:29 +0000 (0:00:00.011) 0:00:01.420 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:35 Monday 17 June 2024 14:48:29 +0000 (0:00:00.010) 0:00:01.431 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tasks/enable_epel.yml:40 Monday 17 June 2024 14:48:29 +0000 (0:00:00.009) 0:00:01.441 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/tests_states_nm.yml:11 Monday 17 June 2024 14:48:29 +0000 (0:00:00.009) 0:00:01.451 *********** 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-tft-testsgbd2_0in/tests/playbooks/tests_states.yml:3 Monday 17 June 2024 14:48:29 +0000 (0:00:00.011) 0:00:01.462 *********** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_states.yml:11 Monday 17 June 2024 14:48:30 +0000 (0:00:00.492) 0:00:01.955 *********** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_states.yml:22 Monday 17 June 2024 14:48:30 +0000 (0:00:00.011) 0:00:01.966 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:48:30 +0000 (0:00:00.015) 0:00:01.982 *********** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:48:30 +0000 (0:00:00.010) 0:00:01.993 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:48:30 +0000 (0:00:00.031) 0:00:02.024 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:48:30 +0000 (0:00:00.014) 0:00:02.039 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:48:30 +0000 (0:00:00.012) 0:00:02.051 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003252", "end": "2024-06-17 14:48:30.396114", "rc": 0, "start": "2024-06-17 14:48:30.392862" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:48:30 +0000 (0:00:00.226) 0:00:02.278 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:48:30 +0000 (0:00:00.012) 0:00:02.290 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:48:30 +0000 (0:00:00.010) 0:00:02.301 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/delete_interface.yml:3 Monday 17 June 2024 14:48:30 +0000 (0:00:00.026) 0:00:02.327 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007714", "end": "2024-06-17 14:48:30.636358", "rc": 1, "start": "2024-06-17 14:48:30.628644" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:48:30 +0000 (0:00:00.188) 0:00:02.516 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:48:30 +0000 (0:00:00.015) 0:00:02.532 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:48:30 +0000 (0:00:00.175) 0:00:02.708 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:48:30 +0000 (0:00:00.013) 0:00:02.721 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:48:30 +0000 (0:00:00.019) 0:00:02.740 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:48:30 +0000 (0:00:00.080) 0:00:02.821 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:48:30 +0000 (0:00:00.021) 0:00:02.843 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:48:30 +0000 (0:00:00.011) 0:00:02.854 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:48:31 +0000 (0:00:00.009) 0:00:02.864 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:48:31 +0000 (0:00:00.009) 0:00:02.873 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:48:32 +0000 (0:00:01.479) 0:00:04.353 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:48:33 +0000 (0:00:00.784) 0:00:05.137 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:48:33 +0000 (0:00:00.023) 0:00:05.161 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:48:33 +0000 (0:00:00.021) 0:00:05.183 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:48:33 +0000 (0:00:00.021) 0:00:05.204 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:48:33 +0000 (0:00:00.031) 0:00:05.235 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:48:33 +0000 (0:00:00.031) 0:00:05.267 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:48:33 +0000 (0:00:00.023) 0:00:05.291 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:48:33 +0000 (0:00:00.045) 0:00:05.336 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:48:33 +0000 (0:00:00.022) 0:00:05.359 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:48:33 +0000 (0:00:00.021) 0:00:05.381 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:48:33 +0000 (0:00:00.026) 0:00:05.407 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:48:34 +0000 (0:00:00.493) 0:00:05.901 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:48:34 +0000 (0:00:00.026) 0:00:05.927 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:48:34 +0000 (0:00:00.021) 0:00:05.949 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:48:34 +0000 (0:00:00.021) 0:00:05.971 *********** 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, b65dbe50-921e-4fb5-ad22-80cd2d3e9434 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:48:34 +0000 (0:00:00.533) 0:00:06.504 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:48:34 +0000 (0:00:00.023) 0:00:06.527 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b65dbe50-921e-4fb5-ad22-80cd2d3e9434" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:48:34 +0000 (0:00:00.023) 0:00:06.550 *********** 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, b65dbe50-921e-4fb5-ad22-80cd2d3e9434\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b65dbe50-921e-4fb5-ad22-80cd2d3e9434" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:48:34 +0000 (0:00:00.023) 0:00:06.574 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:48:34 +0000 (0:00:00.022) 0:00:06.597 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:48:34 +0000 (0:00:00.254) 0:00:06.851 *********** 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, b65dbe50-921e-4fb5-ad22-80cd2d3e9434\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b65dbe50-921e-4fb5-ad22-80cd2d3e9434" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:48:35 +0000 (0:00:00.024) 0:00:06.876 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:48:35 +0000 (0:00:00.043) 0:00:06.920 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:48:35 +0000 (0:00:00.040) 0:00:06.960 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:48:35 +0000 (0:00:00.032) 0:00:06.993 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:48:35 +0000 (0:00:00.183) 0:00:07.177 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:48:35 +0000 (0:00:00.026) 0:00:07.204 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023832", "end": "2024-06-17 14:48:35.519632", "rc": 0, "start": "2024-06-17 14:48:35.495800" } 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:48:35 +0000 (0:00:00.237) 0:00:07.442 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:48:35 +0000 (0:00:00.027) 0:00:07.469 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:48:35 +0000 (0:00:00.026) 0:00:07.495 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:48:35 +0000 (0:00:00.025) 0:00:07.520 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:48:35 +0000 (0:00:00.025) 0:00:07.545 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:48:35 +0000 (0:00:00.027) 0:00:07.573 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:48:35 +0000 (0:00:00.026) 0:00:07.599 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:48:35 +0000 (0:00:00.026) 0:00:07.625 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:48:35 +0000 (0:00:00.025) 0:00:07.651 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:48:35 +0000 (0:00:00.045) 0:00:07.696 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:48:35 +0000 (0:00:00.041) 0:00:07.738 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635714.5584486, "block_size": 4096, "blocks": 0, "ctime": 1718635714.5584486, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32814, "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": 1718635714.5584486, "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-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:48:36 +0000 (0:00:00.186) 0:00:07.925 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:48:36 +0000 (0:00:00.025) 0:00:07.950 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:48:36 +0000 (0:00:00.024) 0:00:07.974 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:48:36 +0000 (0:00:00.068) 0:00:08.042 *********** 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.061380", "end": "2024-06-17 14:48:36.397084", "rc": 1, "start": "2024-06-17 14:48:36.335704" } STDOUT: Connection 'statebr' (b65dbe50-921e-4fb5-ad22-80cd2d3e9434) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_states.yml:45 Monday 17 June 2024 14:48:36 +0000 (0:00:00.248) 0:00:08.291 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:48:36 +0000 (0:00:00.038) 0:00:08.329 *********** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:48:36 +0000 (0:00:00.021) 0:00:08.351 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:48:36 +0000 (0:00:00.044) 0:00:08.395 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:48:36 +0000 (0:00:00.034) 0:00:08.430 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:48:36 +0000 (0:00:00.033) 0:00:08.464 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003320", "end": "2024-06-17 14:48:36.762018", "rc": 0, "start": "2024-06-17 14:48:36.758698" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:48:36 +0000 (0:00:00.189) 0:00:08.653 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:48:36 +0000 (0:00:00.022) 0:00:08.676 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:48:36 +0000 (0:00:00.021) 0:00:08.698 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/delete_interface.yml:3 Monday 17 June 2024 14:48:36 +0000 (0:00:00.042) 0:00:08.740 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006307", "end": "2024-06-17 14:48:37.043943", "rc": 1, "start": "2024-06-17 14:48:37.037636" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:48:37 +0000 (0:00:00.224) 0:00:08.965 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:48:37 +0000 (0:00:00.037) 0:00:09.002 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:48:37 +0000 (0:00:00.197) 0:00:09.200 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:48:37 +0000 (0:00:00.026) 0:00:09.226 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Monday 17 June 2024 14:48:37 +0000 (0:00:00.041) 0:00:09.268 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:48:37 +0000 (0:00:00.043) 0:00:09.311 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:48:37 +0000 (0:00:00.041) 0:00:09.353 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:48:37 +0000 (0:00:00.026) 0:00:09.380 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:48:37 +0000 (0:00:00.021) 0:00:09.402 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:48:37 +0000 (0:00:00.022) 0:00:09.424 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:48:38 +0000 (0:00:01.393) 0:00:10.817 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:48:39 +0000 (0:00:00.608) 0:00:11.426 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:48:39 +0000 (0:00:00.023) 0:00:11.450 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:48:39 +0000 (0:00:00.022) 0:00:11.472 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:48:39 +0000 (0:00:00.023) 0:00:11.496 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:48:39 +0000 (0:00:00.029) 0:00:11.525 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:48:39 +0000 (0:00:00.022) 0:00:11.548 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:48:39 +0000 (0:00:00.027) 0:00:11.575 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:48:39 +0000 (0:00:00.045) 0:00:11.620 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:48:39 +0000 (0:00:00.050) 0:00:11.671 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:48:39 +0000 (0:00:00.025) 0:00:11.697 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:48:39 +0000 (0:00:00.030) 0:00:11.727 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:48:40 +0000 (0:00:00.338) 0:00:12.066 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:48:40 +0000 (0:00:00.026) 0:00:12.092 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:48:40 +0000 (0:00:00.022) 0:00:12.115 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:48:40 +0000 (0:00:00.020) 0:00:12.136 *********** 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, 8c85e87a-b62a-452c-b515-a1afc3be8ccd TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:48:40 +0000 (0:00:00.340) 0:00:12.476 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:48:40 +0000 (0:00:00.022) 0:00:12.499 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8c85e87a-b62a-452c-b515-a1afc3be8ccd" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:48:40 +0000 (0:00:00.023) 0:00:12.522 *********** 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, 8c85e87a-b62a-452c-b515-a1afc3be8ccd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8c85e87a-b62a-452c-b515-a1afc3be8ccd" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:48:40 +0000 (0:00:00.027) 0:00:12.549 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:48:40 +0000 (0:00:00.022) 0:00:12.571 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Monday 17 June 2024 14:48:40 +0000 (0:00:00.182) 0:00:12.754 *********** 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, 8c85e87a-b62a-452c-b515-a1afc3be8ccd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8c85e87a-b62a-452c-b515-a1afc3be8ccd" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:48:40 +0000 (0:00:00.025) 0:00:12.780 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:48:41 +0000 (0:00:00.086) 0:00:12.866 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:48:41 +0000 (0:00:00.037) 0:00:12.904 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:48:41 +0000 (0:00:00.189) 0:00:13.093 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:48:41 +0000 (0:00:00.024) 0:00:13.118 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:48:41 +0000 (0:00:00.039) 0:00:13.157 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:48:41 +0000 (0:00:00.022) 0:00:13.179 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:48:41 +0000 (0:00:00.185) 0:00:13.364 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:48:41 +0000 (0:00:00.022) 0:00:13.387 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022392", "end": "2024-06-17 14:48:41.703876", "rc": 0, "start": "2024-06-17 14:48:41.681484" } 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:48:41 +0000 (0:00:00.208) 0:00:13.596 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:48:41 +0000 (0:00:00.024) 0:00:13.620 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:48:41 +0000 (0:00:00.022) 0:00:13.642 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:48:41 +0000 (0:00:00.022) 0:00:13.665 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:48:41 +0000 (0:00:00.021) 0:00:13.687 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:48:41 +0000 (0:00:00.048) 0:00:13.735 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:48:41 +0000 (0:00:00.024) 0:00:13.760 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:48:41 +0000 (0:00:00.024) 0:00:13.785 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:48:41 +0000 (0:00:00.023) 0:00:13.808 *********** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:48:41 +0000 (0:00:00.020) 0:00:13.829 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:48:41 +0000 (0:00:00.022) 0:00:13.851 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:48:42 +0000 (0:00:00.042) 0:00:13.893 *********** 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.043499", "end": "2024-06-17 14:48:42.236900", "rc": 1, "start": "2024-06-17 14:48:42.193401" } STDOUT: Connection 'statebr' (8c85e87a-b62a-452c-b515-a1afc3be8ccd) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_states.yml:65 Monday 17 June 2024 14:48:42 +0000 (0:00:00.233) 0:00:14.127 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:48:42 +0000 (0:00:00.038) 0:00:14.165 *********** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:48:42 +0000 (0:00:00.022) 0:00:14.188 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:48:42 +0000 (0:00:00.045) 0:00:14.234 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:48:42 +0000 (0:00:00.036) 0:00:14.270 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:48:42 +0000 (0:00:00.035) 0:00:14.305 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003452", "end": "2024-06-17 14:48:42.605748", "rc": 0, "start": "2024-06-17 14:48:42.602296" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:48:42 +0000 (0:00:00.190) 0:00:14.495 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:48:42 +0000 (0:00:00.025) 0:00:14.521 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:48:42 +0000 (0:00:00.024) 0:00:14.545 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:48:42 +0000 (0:00:00.047) 0:00:14.593 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:48:42 +0000 (0:00:00.039) 0:00:14.633 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:48:42 +0000 (0:00:00.042) 0:00:14.676 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:48:42 +0000 (0:00:00.027) 0:00:14.703 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:48:42 +0000 (0:00:00.022) 0:00:14.726 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:48:42 +0000 (0:00:00.022) 0:00:14.748 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:48:44 +0000 (0:00:01.413) 0:00:16.162 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:48:44 +0000 (0:00:00.611) 0:00:16.774 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:48:44 +0000 (0:00:00.023) 0:00:16.798 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:48:44 +0000 (0:00:00.023) 0:00:16.821 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:48:44 +0000 (0:00:00.022) 0:00:16.844 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:48:45 +0000 (0:00:00.028) 0:00:16.872 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:48:45 +0000 (0:00:00.023) 0:00:16.896 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:48:45 +0000 (0:00:00.028) 0:00:16.925 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:48:45 +0000 (0:00:00.046) 0:00:16.971 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:48:45 +0000 (0:00:00.022) 0:00:16.994 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:48:45 +0000 (0:00:00.029) 0:00:17.023 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:48:45 +0000 (0:00:00.030) 0:00:17.054 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:48:45 +0000 (0:00:00.390) 0:00:17.445 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:48:45 +0000 (0:00:00.028) 0:00:17.474 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:48:45 +0000 (0:00:00.023) 0:00:17.497 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:48:45 +0000 (0:00:00.025) 0:00:17.523 *********** 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, 75183c7d-b2e0-495f-8588-276665140d8c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:48:46 +0000 (0:00:00.382) 0:00:17.906 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:48:46 +0000 (0:00:00.028) 0:00:17.934 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 75183c7d-b2e0-495f-8588-276665140d8c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:48:46 +0000 (0:00:00.023) 0:00:17.958 *********** 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, 75183c7d-b2e0-495f-8588-276665140d8c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 75183c7d-b2e0-495f-8588-276665140d8c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:48:46 +0000 (0:00:00.037) 0:00:17.995 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:48:46 +0000 (0:00:00.023) 0:00:18.019 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:48:46 +0000 (0:00:00.185) 0:00:18.204 *********** 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, 75183c7d-b2e0-495f-8588-276665140d8c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 75183c7d-b2e0-495f-8588-276665140d8c" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:48:46 +0000 (0:00:00.023) 0:00:18.227 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:48:46 +0000 (0:00:00.041) 0:00:18.269 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:48:46 +0000 (0:00:00.073) 0:00:18.342 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:48:46 +0000 (0:00:00.044) 0:00:18.386 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:48:46 +0000 (0:00:00.028) 0:00:18.415 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:48:46 +0000 (0:00:00.027) 0:00:18.443 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:48:46 +0000 (0:00:00.022) 0:00:18.465 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:48:48 +0000 (0:00:01.402) 0:00:19.868 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:48:48 +0000 (0:00:00.631) 0:00:20.499 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:48:48 +0000 (0:00:00.025) 0:00:20.524 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:48:48 +0000 (0:00:00.024) 0:00:20.549 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:48:48 +0000 (0:00:00.030) 0:00:20.580 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:48:48 +0000 (0:00:00.043) 0:00:20.623 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:48:48 +0000 (0:00:00.026) 0:00:20.650 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:48:48 +0000 (0:00:00.048) 0:00:20.698 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:48:48 +0000 (0:00:00.044) 0:00:20.743 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:48:48 +0000 (0:00:00.023) 0:00:20.766 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:48:48 +0000 (0:00:00.023) 0:00:20.790 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:48:48 +0000 (0:00:00.025) 0:00:20.815 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:48:49 +0000 (0:00:00.342) 0:00:21.157 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:48:49 +0000 (0:00:00.039) 0:00:21.196 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:48:49 +0000 (0:00:00.028) 0:00:21.224 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:48:49 +0000 (0:00:00.031) 0:00:21.256 *********** 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, 75183c7d-b2e0-495f-8588-276665140d8c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:48:49 +0000 (0:00:00.393) 0:00:21.649 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:48:49 +0000 (0:00:00.022) 0:00:21.671 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 75183c7d-b2e0-495f-8588-276665140d8c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:48:49 +0000 (0:00:00.024) 0:00:21.696 *********** 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, 75183c7d-b2e0-495f-8588-276665140d8c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 75183c7d-b2e0-495f-8588-276665140d8c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:48:49 +0000 (0:00:00.023) 0:00:21.719 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:48:49 +0000 (0:00:00.022) 0:00:21.741 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:48:50 +0000 (0:00:00.184) 0:00:21.926 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:48:50 +0000 (0:00:00.044) 0:00:21.970 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:48:50 +0000 (0:00:00.036) 0:00:22.007 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635725.9674592, "block_size": 4096, "blocks": 0, "ctime": 1718635725.9674592, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32945, "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": 1718635725.9674592, "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-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:48:50 +0000 (0:00:00.189) 0:00:22.197 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:3 Monday 17 June 2024 14:48:50 +0000 (0:00:00.024) 0:00:22.221 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:48:50 +0000 (0:00:00.038) 0:00:22.260 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:48:50 +0000 (0:00:00.021) 0:00:22.281 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:48:50 +0000 (0:00:00.194) 0:00:22.476 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:48:50 +0000 (0:00:00.070) 0:00:22.546 *********** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020284", "end": "2024-06-17 14:48:50.864322", "rc": 0, "start": "2024-06-17 14:48:50.844038" } 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:48:50 +0000 (0:00:00.211) 0:00:22.758 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:48:50 +0000 (0:00:00.025) 0:00:22.783 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:48:50 +0000 (0:00:00.023) 0:00:22.806 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:48:50 +0000 (0:00:00.023) 0:00:22.829 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:48:50 +0000 (0:00:00.022) 0:00:22.851 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:5 Monday 17 June 2024 14:48:51 +0000 (0:00:00.022) 0:00:22.874 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:10 Monday 17 June 2024 14:48:51 +0000 (0:00:00.025) 0:00:22.900 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_present.yml:15 Monday 17 June 2024 14:48:51 +0000 (0:00:00.025) 0:00:22.926 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:48:51 +0000 (0:00:00.023) 0:00:22.950 *********** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:48:51 +0000 (0:00:00.020) 0:00:22.970 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:48:51 +0000 (0:00:00.022) 0:00:22.993 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:48:51 +0000 (0:00:00.040) 0:00:23.033 *********** 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.064879", "end": "2024-06-17 14:48:51.390239", "rc": 1, "start": "2024-06-17 14:48:51.325360" } STDOUT: Connection 'statebr' (75183c7d-b2e0-495f-8588-276665140d8c) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_states.yml:83 Monday 17 June 2024 14:48:51 +0000 (0:00:00.246) 0:00:23.280 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:48:51 +0000 (0:00:00.072) 0:00:23.352 *********** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:48:51 +0000 (0:00:00.028) 0:00:23.381 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:48:51 +0000 (0:00:00.057) 0:00:23.439 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:48:51 +0000 (0:00:00.037) 0:00:23.477 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:48:51 +0000 (0:00:00.047) 0:00:23.525 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003224", "end": "2024-06-17 14:48:51.835189", "rc": 0, "start": "2024-06-17 14:48:51.831965" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:48:51 +0000 (0:00:00.202) 0:00:23.727 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:48:51 +0000 (0:00:00.023) 0:00:23.750 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:48:51 +0000 (0:00:00.022) 0:00:23.773 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:48:51 +0000 (0:00:00.041) 0:00:23.814 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:48:51 +0000 (0:00:00.037) 0:00:23.852 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:48:52 +0000 (0:00:00.041) 0:00:23.894 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:48:52 +0000 (0:00:00.026) 0:00:23.920 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:48:52 +0000 (0:00:00.052) 0:00:23.972 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:48:52 +0000 (0:00:00.022) 0:00:23.994 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:48:53 +0000 (0:00:01.394) 0:00:25.389 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:48:54 +0000 (0:00:00.615) 0:00:26.004 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:48:54 +0000 (0:00:00.023) 0:00:26.027 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:48:54 +0000 (0:00:00.022) 0:00:26.050 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:48:54 +0000 (0:00:00.022) 0:00:26.072 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:48:54 +0000 (0:00:00.054) 0:00:26.127 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:48:54 +0000 (0:00:00.027) 0:00:26.154 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:48:54 +0000 (0:00:00.026) 0:00:26.180 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:48:54 +0000 (0:00:00.048) 0:00:26.229 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:48:54 +0000 (0:00:00.023) 0:00:26.252 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:48:54 +0000 (0:00:00.022) 0:00:26.275 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:48:54 +0000 (0:00:00.025) 0:00:26.301 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:48:54 +0000 (0:00:00.334) 0:00:26.636 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:48:54 +0000 (0:00:00.027) 0:00:26.663 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:48:54 +0000 (0:00:00.021) 0:00:26.685 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:48:54 +0000 (0:00:00.027) 0:00:26.713 *********** 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, 9a9549d2-a745-4ca5-ac1f-327d852110a0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:48:55 +0000 (0:00:00.443) 0:00:27.156 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:48:55 +0000 (0:00:00.022) 0:00:27.178 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9a9549d2-a745-4ca5-ac1f-327d852110a0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:48:55 +0000 (0:00:00.023) 0:00:27.201 *********** 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, 9a9549d2-a745-4ca5-ac1f-327d852110a0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9a9549d2-a745-4ca5-ac1f-327d852110a0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:48:55 +0000 (0:00:00.023) 0:00:27.225 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:48:55 +0000 (0:00:00.049) 0:00:27.275 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:48:55 +0000 (0:00:00.181) 0:00:27.456 *********** 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, 9a9549d2-a745-4ca5-ac1f-327d852110a0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9a9549d2-a745-4ca5-ac1f-327d852110a0" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:48:55 +0000 (0:00:00.026) 0:00:27.482 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:48:55 +0000 (0:00:00.039) 0:00:27.521 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:48:55 +0000 (0:00:00.045) 0:00:27.567 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:48:55 +0000 (0:00:00.030) 0:00:27.597 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:48:55 +0000 (0:00:00.023) 0:00:27.621 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:48:55 +0000 (0:00:00.024) 0:00:27.645 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:48:57 +0000 (0:00:01.445) 0:00:29.091 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:48:57 +0000 (0:00:00.635) 0:00:29.727 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:48:57 +0000 (0:00:00.047) 0:00:29.774 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:48:57 +0000 (0:00:00.022) 0:00:29.797 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:48:57 +0000 (0:00:00.021) 0:00:29.818 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:48:57 +0000 (0:00:00.026) 0:00:29.845 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:48:58 +0000 (0:00:00.022) 0:00:29.867 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:48:58 +0000 (0:00:00.027) 0:00:29.895 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:48:58 +0000 (0:00:00.045) 0:00:29.940 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:48:58 +0000 (0:00:00.025) 0:00:29.965 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:48:58 +0000 (0:00:00.024) 0:00:29.990 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:48:58 +0000 (0:00:00.026) 0:00:30.016 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:48:58 +0000 (0:00:00.359) 0:00:30.376 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:48:58 +0000 (0:00:00.078) 0:00:30.455 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:48:58 +0000 (0:00:00.023) 0:00:30.478 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:48:58 +0000 (0:00:00.021) 0:00:30.499 *********** 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, 9a9549d2-a745-4ca5-ac1f-327d852110a0 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:48:59 +0000 (0:00:00.378) 0:00:30.877 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:48:59 +0000 (0:00:00.048) 0:00:30.926 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9a9549d2-a745-4ca5-ac1f-327d852110a0 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:48:59 +0000 (0:00:00.031) 0:00:30.957 *********** 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, 9a9549d2-a745-4ca5-ac1f-327d852110a0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9a9549d2-a745-4ca5-ac1f-327d852110a0 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:48:59 +0000 (0:00:00.045) 0:00:31.003 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:48:59 +0000 (0:00:00.033) 0:00:31.036 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:48:59 +0000 (0:00:00.204) 0:00:31.241 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/remove_profile.yml:3 Monday 17 June 2024 14:48:59 +0000 (0:00:00.041) 0:00:31.283 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:48:59 +0000 (0:00:00.042) 0:00:31.325 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:48:59 +0000 (0:00:00.041) 0:00:31.367 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:48:59 +0000 (0:00:00.027) 0:00:31.394 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:48:59 +0000 (0:00:00.061) 0:00:31.456 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:48:59 +0000 (0:00:00.023) 0:00:31.480 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:49:01 +0000 (0:00:01.417) 0:00:32.898 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:49:01 +0000 (0:00:00.607) 0:00:33.505 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:49:01 +0000 (0:00:00.024) 0:00:33.529 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:49:01 +0000 (0:00:00.026) 0:00:33.556 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:49:01 +0000 (0:00:00.024) 0:00:33.580 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:49:01 +0000 (0:00:00.026) 0:00:33.607 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:49:01 +0000 (0:00:00.051) 0:00:33.658 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:49:01 +0000 (0:00:00.025) 0:00:33.684 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:49:01 +0000 (0:00:00.044) 0:00:33.729 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:49:01 +0000 (0:00:00.022) 0:00:33.752 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:49:01 +0000 (0:00:00.021) 0:00:33.773 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:49:01 +0000 (0:00:00.026) 0:00:33.800 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:49:02 +0000 (0:00:00.339) 0:00:34.139 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:49:02 +0000 (0:00:00.027) 0:00:34.167 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:49:02 +0000 (0:00:00.023) 0:00:34.191 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:49:02 +0000 (0:00:00.045) 0:00:34.236 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:49:02 +0000 (0:00:00.380) 0:00:34.616 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:49:02 +0000 (0:00:00.023) 0:00:34.640 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:49:02 +0000 (0:00:00.029) 0:00:34.669 *********** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:49:02 +0000 (0:00:00.025) 0:00:34.695 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:49:02 +0000 (0:00:00.022) 0:00:34.717 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:49:03 +0000 (0:00:00.227) 0:00:34.945 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml:3 Monday 17 June 2024 14:49:03 +0000 (0:00:00.049) 0:00:34.994 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:49:03 +0000 (0:00:00.054) 0:00:35.048 *********** ok: [sut] => { "changed": false, "stat": { "atime": 1718635735.1522725, "block_size": 4096, "blocks": 0, "ctime": 1718635735.1522725, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33076, "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": 1718635735.1522725, "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-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_present.yml:5 Monday 17 June 2024 14:49:03 +0000 (0:00:00.200) 0:00:35.249 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:49:03 +0000 (0:00:00.025) 0:00:35.274 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:49:03 +0000 (0:00:00.038) 0:00:35.312 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:49:03 +0000 (0:00:00.023) 0:00:35.335 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:49:03 +0000 (0:00:00.185) 0:00:35.521 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:49:03 +0000 (0:00:00.022) 0:00:35.543 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019454", "end": "2024-06-17 14:49:03.856395", "rc": 1, "start": "2024-06-17 14:49:03.836941" } 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:49:03 +0000 (0:00:00.204) 0:00:35.747 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:49:03 +0000 (0:00:00.023) 0:00:35.771 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:49:03 +0000 (0:00:00.022) 0:00:35.793 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:49:03 +0000 (0:00:00.028) 0:00:35.822 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:49:04 +0000 (0:00:00.066) 0:00:35.888 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:49:04 +0000 (0:00:00.023) 0:00:35.912 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:49:04 +0000 (0:00:00.024) 0:00:35.936 *********** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:49:04 +0000 (0:00:00.020) 0:00:35.957 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:49:04 +0000 (0:00:00.022) 0:00:35.979 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:49:04 +0000 (0:00:00.043) 0:00:36.022 *********** 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.059644", "end": "2024-06-17 14:49:04.380443", "rc": 1, "start": "2024-06-17 14:49:04.320799" } STDOUT: Connection 'statebr' (9a9549d2-a745-4ca5-ac1f-327d852110a0) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_states.yml:103 Monday 17 June 2024 14:49:04 +0000 (0:00:00.249) 0:00:36.272 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:49:04 +0000 (0:00:00.038) 0:00:36.310 *********** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:49:04 +0000 (0:00:00.024) 0:00:36.334 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:49:04 +0000 (0:00:00.046) 0:00:36.380 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:49:04 +0000 (0:00:00.037) 0:00:36.417 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:49:04 +0000 (0:00:00.034) 0:00:36.452 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003276", "end": "2024-06-17 14:49:04.754835", "rc": 0, "start": "2024-06-17 14:49:04.751559" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:49:04 +0000 (0:00:00.222) 0:00:36.675 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:49:04 +0000 (0:00:00.023) 0:00:36.699 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:49:04 +0000 (0:00:00.022) 0:00:36.721 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:49:04 +0000 (0:00:00.046) 0:00:36.768 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:49:04 +0000 (0:00:00.038) 0:00:36.806 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:49:04 +0000 (0:00:00.042) 0:00:36.848 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:49:05 +0000 (0:00:00.027) 0:00:36.875 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:49:05 +0000 (0:00:00.022) 0:00:36.898 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:49:05 +0000 (0:00:00.023) 0:00:36.921 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:49:06 +0000 (0:00:01.429) 0:00:38.351 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:49:07 +0000 (0:00:00.617) 0:00:38.968 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:49:07 +0000 (0:00:00.024) 0:00:38.992 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:49:07 +0000 (0:00:00.022) 0:00:39.015 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:49:07 +0000 (0:00:00.022) 0:00:39.037 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:49:07 +0000 (0:00:00.027) 0:00:39.065 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:49:07 +0000 (0:00:00.024) 0:00:39.089 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:49:07 +0000 (0:00:00.031) 0:00:39.120 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:49:07 +0000 (0:00:00.045) 0:00:39.165 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:49:07 +0000 (0:00:00.022) 0:00:39.188 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:49:07 +0000 (0:00:00.020) 0:00:39.208 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:49:07 +0000 (0:00:00.027) 0:00:39.236 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:49:07 +0000 (0:00:00.344) 0:00:39.581 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:49:07 +0000 (0:00:00.035) 0:00:39.616 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:49:07 +0000 (0:00:00.024) 0:00:39.641 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:49:07 +0000 (0:00:00.022) 0:00:39.663 *********** 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, b52fc78a-d11d-4b17-8110-dd37846fedb4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:49:08 +0000 (0:00:00.372) 0:00:40.035 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:49:08 +0000 (0:00:00.022) 0:00:40.058 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b52fc78a-d11d-4b17-8110-dd37846fedb4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:49:08 +0000 (0:00:00.023) 0:00:40.082 *********** 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, b52fc78a-d11d-4b17-8110-dd37846fedb4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b52fc78a-d11d-4b17-8110-dd37846fedb4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:49:08 +0000 (0:00:00.023) 0:00:40.105 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:49:08 +0000 (0:00:00.022) 0:00:40.128 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:49:08 +0000 (0:00:00.183) 0:00:40.311 *********** 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, b52fc78a-d11d-4b17-8110-dd37846fedb4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b52fc78a-d11d-4b17-8110-dd37846fedb4" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:49:08 +0000 (0:00:00.026) 0:00:40.338 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:49:08 +0000 (0:00:00.047) 0:00:40.385 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:49:08 +0000 (0:00:00.072) 0:00:40.458 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:49:08 +0000 (0:00:00.062) 0:00:40.520 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:49:08 +0000 (0:00:00.022) 0:00:40.543 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:49:08 +0000 (0:00:00.022) 0:00:40.565 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:49:10 +0000 (0:00:01.410) 0:00:41.975 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:49:10 +0000 (0:00:00.614) 0:00:42.590 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:49:10 +0000 (0:00:00.027) 0:00:42.618 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:49:10 +0000 (0:00:00.022) 0:00:42.640 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:49:10 +0000 (0:00:00.051) 0:00:42.692 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:49:10 +0000 (0:00:00.026) 0:00:42.718 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:49:10 +0000 (0:00:00.022) 0:00:42.741 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:49:10 +0000 (0:00:00.025) 0:00:42.767 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:49:10 +0000 (0:00:00.053) 0:00:42.820 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:49:10 +0000 (0:00:00.025) 0:00:42.845 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:49:11 +0000 (0:00:00.023) 0:00:42.868 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:49:11 +0000 (0:00:00.033) 0:00:42.902 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:49:11 +0000 (0:00:00.360) 0:00:43.262 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:49:11 +0000 (0:00:00.051) 0:00:43.314 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:49:11 +0000 (0:00:00.022) 0:00:43.336 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:49:11 +0000 (0:00:00.020) 0:00:43.357 *********** 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, b52fc78a-d11d-4b17-8110-dd37846fedb4 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:49:11 +0000 (0:00:00.335) 0:00:43.692 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:49:11 +0000 (0:00:00.022) 0:00:43.715 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b52fc78a-d11d-4b17-8110-dd37846fedb4 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:49:11 +0000 (0:00:00.023) 0:00:43.738 *********** 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, b52fc78a-d11d-4b17-8110-dd37846fedb4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b52fc78a-d11d-4b17-8110-dd37846fedb4 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:49:11 +0000 (0:00:00.023) 0:00:43.762 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:49:11 +0000 (0:00:00.052) 0:00:43.814 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/remove_profile.yml:3 Monday 17 June 2024 14:49:12 +0000 (0:00:00.182) 0:00:43.997 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:49:12 +0000 (0:00:00.039) 0:00:44.036 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:49:12 +0000 (0:00:00.046) 0:00:44.083 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:49:12 +0000 (0:00:00.045) 0:00:44.128 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:49:12 +0000 (0:00:00.023) 0:00:44.152 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:49:12 +0000 (0:00:00.023) 0:00:44.176 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:49:13 +0000 (0:00:01.390) 0:00:45.566 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:49:14 +0000 (0:00:00.649) 0:00:46.216 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:49:14 +0000 (0:00:00.026) 0:00:46.243 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:49:14 +0000 (0:00:00.023) 0:00:46.266 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:49:14 +0000 (0:00:00.038) 0:00:46.305 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:49:14 +0000 (0:00:00.034) 0:00:46.339 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:49:14 +0000 (0:00:00.023) 0:00:46.363 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:49:14 +0000 (0:00:00.027) 0:00:46.390 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:49:14 +0000 (0:00:00.053) 0:00:46.443 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:49:14 +0000 (0:00:00.031) 0:00:46.474 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:49:14 +0000 (0:00:00.043) 0:00:46.518 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:49:14 +0000 (0:00:00.027) 0:00:46.546 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:49:15 +0000 (0:00:00.351) 0:00:46.897 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:49:15 +0000 (0:00:00.026) 0:00:46.924 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:49:15 +0000 (0:00:00.048) 0:00:46.972 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:49:15 +0000 (0:00:00.022) 0:00:46.994 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:49:15 +0000 (0:00:00.360) 0:00:47.354 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:49:15 +0000 (0:00:00.022) 0:00:47.377 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:49:15 +0000 (0:00:00.024) 0:00:47.401 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:49:15 +0000 (0:00:00.024) 0:00:47.426 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:49:15 +0000 (0:00:00.023) 0:00:47.449 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:49:15 +0000 (0:00:00.183) 0:00:47.633 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:49:15 +0000 (0:00:00.050) 0:00:47.683 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:49:15 +0000 (0:00:00.046) 0:00:47.730 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:49:15 +0000 (0:00:00.041) 0:00:47.772 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:49:15 +0000 (0:00:00.026) 0:00:47.799 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:49:15 +0000 (0:00:00.020) 0:00:47.820 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:49:16 +0000 (0:00:00.049) 0:00:47.869 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:49:17 +0000 (0:00:01.395) 0:00:49.265 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:49:18 +0000 (0:00:00.606) 0:00:49.871 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:49:18 +0000 (0:00:00.023) 0:00:49.894 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:49:18 +0000 (0:00:00.022) 0:00:49.917 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:49:18 +0000 (0:00:00.021) 0:00:49.939 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:49:18 +0000 (0:00:00.027) 0:00:49.966 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:49:18 +0000 (0:00:00.022) 0:00:49.989 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:49:18 +0000 (0:00:00.051) 0:00:50.041 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:49:18 +0000 (0:00:00.045) 0:00:50.086 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:49:18 +0000 (0:00:00.022) 0:00:50.108 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:49:18 +0000 (0:00:00.022) 0:00:50.131 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:49:18 +0000 (0:00:00.025) 0:00:50.156 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:49:18 +0000 (0:00:00.342) 0:00:50.499 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:49:18 +0000 (0:00:00.029) 0:00:50.529 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:49:18 +0000 (0:00:00.023) 0:00:50.553 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:49:18 +0000 (0:00:00.028) 0:00:50.581 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:49:19 +0000 (0:00:00.439) 0:00:51.021 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:49:19 +0000 (0:00:00.022) 0:00:51.043 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:49:19 +0000 (0:00:00.023) 0:00:51.067 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:49:19 +0000 (0:00:00.023) 0:00:51.090 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:49:19 +0000 (0:00:00.026) 0:00:51.117 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:49:19 +0000 (0:00:00.210) 0:00:51.328 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:49:19 +0000 (0:00:00.040) 0:00:51.369 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:49:19 +0000 (0:00:00.038) 0:00:51.408 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:49:19 +0000 (0:00:00.022) 0:00:51.430 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:49:19 +0000 (0:00:00.184) 0:00:51.615 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:49:19 +0000 (0:00:00.023) 0:00:51.639 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018833", "end": "2024-06-17 14:49:19.954006", "rc": 1, "start": "2024-06-17 14:49:19.935173" } 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:49:19 +0000 (0:00:00.207) 0:00:51.846 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:49:20 +0000 (0:00:00.024) 0:00:51.870 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:49:20 +0000 (0:00:00.026) 0:00:51.897 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:49:20 +0000 (0:00:00.025) 0:00:51.922 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:49:20 +0000 (0:00:00.028) 0:00:51.950 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:49:20 +0000 (0:00:00.024) 0:00:51.975 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:49:20 +0000 (0:00:00.025) 0:00:52.000 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:49:20 +0000 (0:00:00.045) 0:00:52.046 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:49:20 +0000 (0:00:00.073) 0:00:52.119 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:49:20 +0000 (0:00:00.185) 0:00:52.305 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:49:20 +0000 (0:00:00.028) 0:00:52.333 *********** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:49:20 +0000 (0:00:00.025) 0:00:52.358 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:49:20 +0000 (0:00:00.042) 0:00:52.401 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.036641", "end": "2024-06-17 14:49:20.736818", "rc": 1, "start": "2024-06-17 14:49:20.700177" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tests_states.yml:126 Monday 17 June 2024 14:49:20 +0000 (0:00:00.229) 0:00:52.630 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:5 Monday 17 June 2024 14:49:20 +0000 (0:00:00.039) 0:00:52.669 *********** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:9 Monday 17 June 2024 14:49:20 +0000 (0:00:00.026) 0:00:52.696 *********** 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:21 Monday 17 June 2024 14:49:20 +0000 (0:00:00.047) 0:00:52.744 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:3 Monday 17 June 2024 14:49:20 +0000 (0:00:00.036) 0:00:52.781 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:3 Monday 17 June 2024 14:49:20 +0000 (0:00:00.065) 0:00:52.846 *********** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003530", "end": "2024-06-17 14:49:21.144158", "rc": 0, "start": "2024-06-17 14:49:21.140628" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_current_interfaces.yml:9 Monday 17 June 2024 14:49:21 +0000 (0:00:00.191) 0:00:53.037 *********** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/show_interfaces.yml:5 Monday 17 June 2024 14:49:21 +0000 (0:00:00.024) 0:00:53.062 *********** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:24 Monday 17 June 2024 14:49:21 +0000 (0:00:00.044) 0:00:53.106 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml:3 Monday 17 June 2024 14:49:21 +0000 (0:00:00.058) 0:00:53.165 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:49:21 +0000 (0:00:00.040) 0:00:53.205 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:49:21 +0000 (0:00:00.042) 0:00:53.248 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:49:21 +0000 (0:00:00.028) 0:00:53.276 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:49:21 +0000 (0:00:00.021) 0:00:53.298 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:49:21 +0000 (0:00:00.022) 0:00:53.321 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:49:22 +0000 (0:00:01.404) 0:00:54.725 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:49:23 +0000 (0:00:00.613) 0:00:55.338 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:49:23 +0000 (0:00:00.025) 0:00:55.363 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:49:23 +0000 (0:00:00.026) 0:00:55.390 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:49:23 +0000 (0:00:00.027) 0:00:55.417 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:49:23 +0000 (0:00:00.035) 0:00:55.453 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:49:23 +0000 (0:00:00.023) 0:00:55.477 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:49:23 +0000 (0:00:00.027) 0:00:55.504 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:49:23 +0000 (0:00:00.052) 0:00:55.557 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:49:23 +0000 (0:00:00.023) 0:00:55.581 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:49:23 +0000 (0:00:00.022) 0:00:55.603 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:49:23 +0000 (0:00:00.056) 0:00:55.660 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:49:24 +0000 (0:00:00.338) 0:00:55.998 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:49:24 +0000 (0:00:00.027) 0:00:56.026 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:49:24 +0000 (0:00:00.023) 0:00:56.049 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:49:24 +0000 (0:00:00.022) 0:00:56.071 *********** 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, bbc0918e-5e0c-4afa-8c93-9bb773728e51 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:49:24 +0000 (0:00:00.373) 0:00:56.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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:49:24 +0000 (0:00:00.022) 0:00:56.468 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bbc0918e-5e0c-4afa-8c93-9bb773728e51" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:49:24 +0000 (0:00:00.027) 0:00:56.496 *********** 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, bbc0918e-5e0c-4afa-8c93-9bb773728e51\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bbc0918e-5e0c-4afa-8c93-9bb773728e51" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:49:24 +0000 (0:00:00.024) 0:00:56.520 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:49:24 +0000 (0:00:00.023) 0:00:56.543 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/create_bridge_profile.yml:14 Monday 17 June 2024 14:49:24 +0000 (0:00:00.197) 0:00:56.741 *********** 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, bbc0918e-5e0c-4afa-8c93-9bb773728e51\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, bbc0918e-5e0c-4afa-8c93-9bb773728e51" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/activate_profile.yml:3 Monday 17 June 2024 14:49:24 +0000 (0:00:00.025) 0:00:56.766 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:49:24 +0000 (0:00:00.036) 0:00:56.803 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:49:25 +0000 (0:00:00.074) 0:00:56.878 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:49:25 +0000 (0:00:00.029) 0:00:56.907 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:49:25 +0000 (0:00:00.024) 0:00:56.931 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:49:25 +0000 (0:00:00.022) 0:00:56.954 *********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:49:26 +0000 (0:00:01.424) 0:00:58.379 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:49:27 +0000 (0:00:00.617) 0:00:58.996 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:49:27 +0000 (0:00:00.055) 0:00:59.051 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:49:27 +0000 (0:00:00.023) 0:00:59.074 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:49:27 +0000 (0:00:00.022) 0:00:59.097 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:49:27 +0000 (0:00:00.028) 0:00:59.125 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:49:27 +0000 (0:00:00.022) 0:00:59.148 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:49:27 +0000 (0:00:00.027) 0:00:59.176 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:49:27 +0000 (0:00:00.047) 0:00:59.223 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:49:27 +0000 (0:00:00.022) 0:00:59.245 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:49:27 +0000 (0:00:00.023) 0:00:59.268 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:49:27 +0000 (0:00:00.025) 0:00:59.294 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:49:27 +0000 (0:00:00.339) 0:00:59.634 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:49:27 +0000 (0:00:00.025) 0:00:59.659 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:49:27 +0000 (0:00:00.021) 0:00:59.681 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:49:27 +0000 (0:00:00.022) 0:00:59.704 *********** 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, bbc0918e-5e0c-4afa-8c93-9bb773728e51 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:49:28 +0000 (0:00:00.330) 0:01:00.034 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:49:28 +0000 (0:00:00.060) 0:01:00.095 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bbc0918e-5e0c-4afa-8c93-9bb773728e51 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:49:28 +0000 (0:00:00.025) 0:01:00.120 *********** 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, bbc0918e-5e0c-4afa-8c93-9bb773728e51 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, bbc0918e-5e0c-4afa-8c93-9bb773728e51 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:49:28 +0000 (0:00:00.024) 0:01:00.145 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:49:28 +0000 (0:00:00.022) 0:01:00.168 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:49:28 +0000 (0:00:00.187) 0:01:00.355 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:49:28 +0000 (0:00:00.039) 0:01:00.395 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:49:28 +0000 (0:00:00.045) 0:01:00.441 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:49:28 +0000 (0:00:00.029) 0:01:00.471 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:49:28 +0000 (0:00:00.022) 0:01:00.494 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:49:28 +0000 (0:00:00.024) 0:01:00.518 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:49:30 +0000 (0:00:01.422) 0:01:01.940 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:49:30 +0000 (0:00:00.608) 0:01:02.549 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:49:30 +0000 (0:00:00.023) 0:01:02.573 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:49:30 +0000 (0:00:00.022) 0:01:02.595 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:49:30 +0000 (0:00:00.022) 0:01:02.618 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:49:30 +0000 (0:00:00.026) 0:01:02.645 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:49:30 +0000 (0:00:00.022) 0:01:02.668 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:49:30 +0000 (0:00:00.026) 0:01:02.694 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:49:30 +0000 (0:00:00.044) 0:01:02.739 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:49:30 +0000 (0:00:00.022) 0:01:02.762 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:49:30 +0000 (0:00:00.021) 0:01:02.783 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:49:30 +0000 (0:00:00.028) 0:01:02.812 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:49:31 +0000 (0:00:00.334) 0:01:03.147 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:49:31 +0000 (0:00:00.026) 0:01:03.174 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:49:31 +0000 (0:00:00.022) 0:01:03.196 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:49:31 +0000 (0:00:00.020) 0:01:03.217 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:49:31 +0000 (0:00:00.412) 0:01:03.630 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:49:31 +0000 (0:00:00.023) 0:01:03.653 *********** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:49:31 +0000 (0:00:00.024) 0:01:03.678 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:49:31 +0000 (0:00:00.024) 0:01:03.702 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:49:31 +0000 (0:00:00.022) 0:01:03.725 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:30 Monday 17 June 2024 14:49:32 +0000 (0:00:00.183) 0:01:03.908 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/remove+down_profile.yml:3 Monday 17 June 2024 14:49:32 +0000 (0:00:00.044) 0:01:03.952 *********** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:4 Monday 17 June 2024 14:49:32 +0000 (0:00:00.039) 0:01:03.992 *********** included: /WORKDIR/git-tft-testsgbd2_0in/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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Monday 17 June 2024 14:49:32 +0000 (0:00:00.078) 0:01:04.070 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Monday 17 June 2024 14:49:32 +0000 (0:00:00.029) 0:01:04.100 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Monday 17 June 2024 14:49:32 +0000 (0:00:00.024) 0:01:04.124 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Monday 17 June 2024 14:49:32 +0000 (0:00:00.023) 0:01:04.148 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Monday 17 June 2024 14:49:33 +0000 (0:00:01.397) 0:01:05.545 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:7 Monday 17 June 2024 14:49:34 +0000 (0:00:00.604) 0:01:06.150 *********** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:11 Monday 17 June 2024 14:49:34 +0000 (0:00:00.050) 0:01:06.200 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:19 Monday 17 June 2024 14:49:34 +0000 (0:00:00.022) 0:01:06.222 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the DNF package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:28 Monday 17 June 2024 14:49:34 +0000 (0:00:00.022) 0:01:06.245 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check if updates for network packages are available through the YUM package manager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:43 Monday 17 June 2024 14:49:34 +0000 (0:00:00.026) 0:01:06.272 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Ask user's consent to restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:57 Monday 17 June 2024 14:49:34 +0000 (0:00:00.022) 0:01:06.295 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:77 Monday 17 June 2024 14:49:34 +0000 (0:00:00.026) 0:01:06.321 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:90 Monday 17 June 2024 14:49:34 +0000 (0:00:00.044) 0:01:06.366 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:105 Monday 17 June 2024 14:49:34 +0000 (0:00:00.022) 0:01:06.388 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:122 Monday 17 June 2024 14:49:34 +0000 (0:00:00.021) 0:01:06.410 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 Monday 17 June 2024 14:49:34 +0000 (0:00:00.026) 0:01:06.436 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:147 Monday 17 June 2024 14:49:34 +0000 (0:00:00.335) 0:01:06.771 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:156 Monday 17 June 2024 14:49:34 +0000 (0:00:00.038) 0:01:06.810 *********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:164 Monday 17 June 2024 14:49:34 +0000 (0:00:00.023) 0:01:06.833 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 Monday 17 June 2024 14:49:34 +0000 (0:00:00.022) 0:01:06.856 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:185 Monday 17 June 2024 14:49:35 +0000 (0:00:00.355) 0:01:07.212 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:191 Monday 17 June 2024 14:49:35 +0000 (0:00:00.023) 0:01:07.236 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:195 Monday 17 June 2024 14:49:35 +0000 (0:00:00.053) 0:01:07.290 *********** 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-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:200 Monday 17 June 2024 14:49:35 +0000 (0:00:00.024) 0:01:07.315 *********** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:206 Monday 17 June 2024 14:49:35 +0000 (0:00:00.021) 0:01:07.337 *********** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:36 Monday 17 June 2024 14:49:35 +0000 (0:00:00.179) 0:01:07.516 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_absent.yml:3 Monday 17 June 2024 14:49:35 +0000 (0:00:00.045) 0:01:07.561 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:3 Monday 17 June 2024 14:49:35 +0000 (0:00:00.040) 0:01:07.602 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:9 Monday 17 June 2024 14:49:35 +0000 (0:00:00.023) 0:01:07.626 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:17 Monday 17 June 2024 14:49:35 +0000 (0:00:00.214) 0:01:07.840 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:25 Monday 17 June 2024 14:49:36 +0000 (0:00:00.024) 0:01:07.865 *********** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022542", "end": "2024-06-17 14:49:36.182273", "rc": 1, "start": "2024-06-17 14:49:36.159731" } 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-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:35 Monday 17 June 2024 14:49:36 +0000 (0:00:00.207) 0:01:08.072 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:49 Monday 17 June 2024 14:49:36 +0000 (0:00:00.023) 0:01:08.096 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:56 Monday 17 June 2024 14:49:36 +0000 (0:00:00.023) 0:01:08.120 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:62 Monday 17 June 2024 14:49:36 +0000 (0:00:00.023) 0:01:08.143 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_profile_stat.yml:69 Monday 17 June 2024 14:49:36 +0000 (0:00:00.023) 0:01:08.166 *********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_profile_absent.yml:5 Monday 17 June 2024 14:49:36 +0000 (0:00:00.059) 0:01:08.226 *********** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Monday 17 June 2024 14:49:36 +0000 (0:00:00.026) 0:01:08.252 *********** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.270703", "end": "2024-06-17 14:49:36.818139", "rc": 0, "start": "2024-06-17 14:49:36.547436" } STDOUT: NetworkManager-1.47.91-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Monday 17 June 2024 14:49:36 +0000 (0:00:00.460) 0:01:08.713 *********** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.47.91-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Monday 17 June 2024 14:49:36 +0000 (0:00:00.024) 0:01:08.737 *********** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.47.91-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:42 Monday 17 June 2024 14:49:36 +0000 (0:00:00.027) 0:01:08.764 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml:3 Monday 17 June 2024 14:49:36 +0000 (0:00:00.047) 0:01:08.812 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/get_interface_stat.yml:3 Monday 17 June 2024 14:49:36 +0000 (0:00:00.037) 0:01:08.849 *********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/assert_device_absent.yml:5 Monday 17 June 2024 14:49:37 +0000 (0:00:00.189) 0:01:09.038 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:47 Monday 17 June 2024 14:49:37 +0000 (0:00:00.039) 0:01:09.078 *********** 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-tft-testsgbd2_0in/tests/playbooks/tasks/run_test.yml:66 Monday 17 June 2024 14:49:37 +0000 (0:00:00.030) 0:01:09.109 *********** included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/cleanup_profile+device.yml:3 Monday 17 June 2024 14:49:37 +0000 (0:00:00.060) 0:01:09.169 *********** 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.037964", "end": "2024-06-17 14:49:37.505845", "rc": 1, "start": "2024-06-17 14:49:37.467881" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/check_network_dns.yml:6 Monday 17 June 2024 14:49:37 +0000 (0:00:00.263) 0:01:09.433 *********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008441", "end": "2024-06-17 14:49:37.739568", "rc": 0, "start": "2024-06-17 14:49:37.731127" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0a:ff:d7:af:a6:dd brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.13.188/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2765sec preferred_lft 2765sec inet6 fe80::8ff:d7ff:feaf:a6dd/64 scope link valid_lft forever preferred_lft forever 34: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 2a:25:39:b9:e9:12 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.13.188 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.13.188 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-tft-testsgbd2_0in/tests/playbooks/tasks/check_network_dns.yml:24 Monday 17 June 2024 14:49:37 +0000 (0:00:00.199) 0:01:09.632 *********** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.480088", "end": "2024-06-17 14:49:38.412396", "rc": 0, "start": "2024-06-17 14:49:37.932308" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 1265 0 --:--:-- --:--:-- --:--:-- 1270 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1359 0 --:--:-- --:--:-- --:--:-- 1359 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=319 changed=10 unreachable=0 failed=0 skipped=297 rescued=0 ignored=11 Monday 17 June 2024 14:49:38 +0000 (0:00:00.658) 0:01:10.290 *********** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.11s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Enable and start NetworkManager ------------ 1.90s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 linux-system-roles.network : Check which services are running ----------- 1.48s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.44s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.40s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:136 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.21s /WORKDIR/git-tft-testsgbd2_0in/tests/roles/linux-system-roles.network/tasks/main.yml:173 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [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. ---^---^---^---^---^---