# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-weekly-cio_x4x2_z/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/tests_states_nm.yml:6 Thursday 08 August 2024 20:02:26 +0000 (0:00:00.012) 0:00:00.012 ******* ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/tests_states_nm.yml:9 Thursday 08 August 2024 20:02:27 +0000 (0:00:00.684) 0:00:00.696 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/tasks/el_repo_setup.yml:3 Thursday 08 August 2024 20:02:27 +0000 (0:00:00.025) 0:00:00.722 ******* ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/tasks/el_repo_setup.yml:19 Thursday 08 August 2024 20:02:27 +0000 (0:00:00.329) 0:00:01.051 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/tasks/el_repo_setup.yml:24 Thursday 08 August 2024 20:02:27 +0000 (0:00:00.287) 0:00:01.339 ******* ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/tasks/el_repo_setup.yml:28 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.021) 0:00:01.361 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/tasks/el_repo_setup.yml:53 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.022) 0:00:01.383 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/tasks/enable_epel.yml:8 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.049) 0:00:01.432 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/tasks/enable_epel.yml:24 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.041) 0:00:01.474 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/tasks/enable_epel.yml:30 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.016) 0:00:01.490 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/tasks/enable_epel.yml:35 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.015) 0:00:01.505 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/tasks/enable_epel.yml:40 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.013) 0:00:01.519 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/tests_states_nm.yml:11 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.014) 0:00:01.534 ******* ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tests_states.yml:3 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.016) 0:00:01.550 ******* ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tests_states.yml:11 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.455) 0:00:02.005 ******* ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tests_states.yml:22 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.115) 0:00:02.120 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:5 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.049) 0:00:02.170 ******* ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:9 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.018) 0:00:02.188 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:21 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.052) 0:00:02.241 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.048) 0:00:02.289 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 08 August 2024 20:02:28 +0000 (0:00:00.042) 0:00:02.332 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002938", "end": "2024-08-08 20:02:29.202704", "rc": 0, "start": "2024-08-08 20:02:29.199766" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 08 August 2024 20:02:29 +0000 (0:00:00.252) 0:00:02.585 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 08 August 2024 20:02:29 +0000 (0:00:00.024) 0:00:02.609 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:24 Thursday 08 August 2024 20:02:29 +0000 (0:00:00.019) 0:00:02.629 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/delete_interface.yml:3 Thursday 08 August 2024 20:02:29 +0000 (0:00:00.023) 0:00:02.653 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007798", "end": "2024-08-08 20:02:29.461629", "rc": 1, "start": "2024-08-08 20:02:29.453831" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 08 August 2024 20:02:29 +0000 (0:00:00.183) 0:00:02.836 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 08 August 2024 20:02:29 +0000 (0:00:00.037) 0:00:02.874 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 08 August 2024 20:02:29 +0000 (0:00:00.164) 0:00:03.039 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:30 Thursday 08 August 2024 20:02:29 +0000 (0:00:00.014) 0:00:03.053 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 08 August 2024 20:02:29 +0000 (0:00:00.047) 0:00:03.100 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:02:29 +0000 (0:00:00.118) 0:00:03.219 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:02:29 +0000 (0:00:00.021) 0:00:03.241 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:02:29 +0000 (0:00:00.014) 0:00:03.256 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:02:29 +0000 (0:00:00.010) 0:00:03.267 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:02:29 +0000 (0:00:00.030) 0:00:03.298 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:02:31 +0000 (0:00:01.380) 0:00:04.678 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.799) 0:00:05.478 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.031) 0:00:05.509 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.029) 0:00:05.539 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.028) 0:00:05.567 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.046) 0:00:05.614 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.038) 0:00:05.652 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.040) 0:00:05.692 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.029) 0:00:05.722 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.043) 0:00:05.765 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.020) 0:00:05.786 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.020) 0:00:05.807 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.024) 0:00:05.832 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.464) 0:00:06.296 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.024) 0:00:06.321 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:02:32 +0000 (0:00:00.020) 0:00:06.341 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:02:33 +0000 (0:00:00.019) 0:00:06.361 ******* 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, 692a6113-ae52-4497-8832-3cca2a51d7ae TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:02:33 +0000 (0:00:00.452) 0:00:06.813 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:02:33 +0000 (0:00:00.021) 0:00:06.835 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 692a6113-ae52-4497-8832-3cca2a51d7ae" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:02:33 +0000 (0:00:00.026) 0:00:06.861 ******* 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, 692a6113-ae52-4497-8832-3cca2a51d7ae\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 692a6113-ae52-4497-8832-3cca2a51d7ae" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:02:33 +0000 (0:00:00.046) 0:00:06.907 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:02:33 +0000 (0:00:00.025) 0:00:06.933 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 08 August 2024 20:02:33 +0000 (0:00:00.218) 0:00:07.151 ******* 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, 692a6113-ae52-4497-8832-3cca2a51d7ae\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 692a6113-ae52-4497-8832-3cca2a51d7ae" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:36 Thursday 08 August 2024 20:02:33 +0000 (0:00:00.023) 0:00:07.174 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 08 August 2024 20:02:33 +0000 (0:00:00.042) 0:00:07.217 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 08 August 2024 20:02:33 +0000 (0:00:00.040) 0:00:07.258 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 08 August 2024 20:02:33 +0000 (0:00:00.024) 0:00:07.282 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.174) 0:00:07.457 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.026) 0:00:07.483 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017989", "end": "2024-08-08 20:02:34.304734", "rc": 0, "start": "2024-08-08 20:02:34.286745" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.209) 0:00:07.692 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.029) 0:00:07.721 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.035) 0:00:07.757 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.026) 0:00:07.783 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.033) 0:00:07.817 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.070) 0:00:07.888 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.027) 0:00:07.916 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.026) 0:00:07.943 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:42 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.042) 0:00:07.985 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.049) 0:00:08.035 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.040) 0:00:08.075 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723147353.3808823, "block_size": 4096, "blocks": 0, "ctime": 1723147353.3808823, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32821, "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": 1723147353.3808823, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.172) 0:00:08.247 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:47 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.025) 0:00:08.273 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:66 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.024) 0:00:08.297 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 08 August 2024 20:02:34 +0000 (0:00:00.043) 0:00:08.341 ******* 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.058637", "end": "2024-08-08 20:02:35.195185", "rc": 1, "start": "2024-08-08 20:02:35.136548" } STDOUT: Connection 'statebr' (692a6113-ae52-4497-8832-3cca2a51d7ae) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tests_states.yml:45 Thursday 08 August 2024 20:02:35 +0000 (0:00:00.264) 0:00:08.606 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:5 Thursday 08 August 2024 20:02:35 +0000 (0:00:00.055) 0:00:08.661 ******* ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:9 Thursday 08 August 2024 20:02:35 +0000 (0:00:00.066) 0:00:08.728 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:21 Thursday 08 August 2024 20:02:35 +0000 (0:00:00.044) 0:00:08.773 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 08 August 2024 20:02:35 +0000 (0:00:00.036) 0:00:08.809 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 08 August 2024 20:02:35 +0000 (0:00:00.034) 0:00:08.844 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003205", "end": "2024-08-08 20:02:35.653421", "rc": 0, "start": "2024-08-08 20:02:35.650216" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 08 August 2024 20:02:35 +0000 (0:00:00.216) 0:00:09.060 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 08 August 2024 20:02:35 +0000 (0:00:00.022) 0:00:09.083 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:24 Thursday 08 August 2024 20:02:35 +0000 (0:00:00.025) 0:00:09.109 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/delete_interface.yml:3 Thursday 08 August 2024 20:02:35 +0000 (0:00:00.042) 0:00:09.152 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006192", "end": "2024-08-08 20:02:35.944359", "rc": 1, "start": "2024-08-08 20:02:35.938167" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 08 August 2024 20:02:35 +0000 (0:00:00.196) 0:00:09.348 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 08 August 2024 20:02:36 +0000 (0:00:00.056) 0:00:09.405 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 08 August 2024 20:02:36 +0000 (0:00:00.173) 0:00:09.579 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:30 Thursday 08 August 2024 20:02:36 +0000 (0:00:00.023) 0:00:09.603 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 08 August 2024 20:02:36 +0000 (0:00:00.063) 0:00:09.666 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:02:36 +0000 (0:00:00.043) 0:00:09.709 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:02:36 +0000 (0:00:00.042) 0:00:09.752 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:02:36 +0000 (0:00:00.055) 0:00:09.808 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:02:36 +0000 (0:00:00.034) 0:00:09.842 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:02:36 +0000 (0:00:00.023) 0:00:09.866 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:02:37 +0000 (0:00:01.304) 0:00:11.171 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:02:38 +0000 (0:00:00.749) 0:00:11.921 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:02:38 +0000 (0:00:00.050) 0:00:11.971 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:02:38 +0000 (0:00:00.039) 0:00:12.011 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:02:38 +0000 (0:00:00.051) 0:00:12.062 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:02:38 +0000 (0:00:00.052) 0:00:12.115 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:02:38 +0000 (0:00:00.044) 0:00:12.160 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:02:38 +0000 (0:00:00.033) 0:00:12.193 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:02:38 +0000 (0:00:00.034) 0:00:12.227 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:02:38 +0000 (0:00:00.056) 0:00:12.283 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:02:38 +0000 (0:00:00.025) 0:00:12.309 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:02:38 +0000 (0:00:00.037) 0:00:12.346 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:02:39 +0000 (0:00:00.029) 0:00:12.376 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:02:39 +0000 (0:00:00.324) 0:00:12.701 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:02:39 +0000 (0:00:00.027) 0:00:12.728 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:02:39 +0000 (0:00:00.022) 0:00:12.751 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:02:39 +0000 (0:00:00.052) 0:00:12.804 ******* 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, 3cf33700-2306-4c5d-8057-96ee271b9d40 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:02:39 +0000 (0:00:00.323) 0:00:13.127 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:02:39 +0000 (0:00:00.023) 0:00:13.150 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3cf33700-2306-4c5d-8057-96ee271b9d40" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:02:39 +0000 (0:00:00.035) 0:00:13.186 ******* 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, 3cf33700-2306-4c5d-8057-96ee271b9d40\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3cf33700-2306-4c5d-8057-96ee271b9d40" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:02:39 +0000 (0:00:00.025) 0:00:13.212 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:02:39 +0000 (0:00:00.026) 0:00:13.238 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.173) 0:00:13.412 ******* 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, 3cf33700-2306-4c5d-8057-96ee271b9d40\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3cf33700-2306-4c5d-8057-96ee271b9d40" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:36 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.024) 0:00:13.437 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.045) 0:00:13.483 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.039) 0:00:13.522 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.186) 0:00:13.709 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.029) 0:00:13.739 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.066) 0:00:13.805 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.022) 0:00:13.827 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.166) 0:00:13.994 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.024) 0:00:14.018 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017074", "end": "2024-08-08 20:02:40.820774", "rc": 0, "start": "2024-08-08 20:02:40.803700" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.188) 0:00:14.207 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.036) 0:00:14.243 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.024) 0:00:14.267 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.025) 0:00:14.292 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.024) 0:00:14.316 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 08 August 2024 20:02:40 +0000 (0:00:00.024) 0:00:14.341 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.030) 0:00:14.372 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.031) 0:00:14.404 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:42 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.029) 0:00:14.433 ******* TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:47 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.021) 0:00:14.455 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:66 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.028) 0:00:14.484 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.043) 0:00:14.527 ******* 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.035670", "end": "2024-08-08 20:02:41.349656", "rc": 1, "start": "2024-08-08 20:02:41.313986" } STDOUT: Connection 'statebr' (3cf33700-2306-4c5d-8057-96ee271b9d40) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tests_states.yml:65 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.212) 0:00:14.739 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:5 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.045) 0:00:14.785 ******* ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:9 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.028) 0:00:14.813 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:21 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.058) 0:00:14.872 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.050) 0:00:14.922 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.042) 0:00:14.964 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002977", "end": "2024-08-08 20:02:41.754439", "rc": 0, "start": "2024-08-08 20:02:41.751462" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.187) 0:00:15.152 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.037) 0:00:15.189 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:24 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.024) 0:00:15.214 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.042) 0:00:15.257 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:02:41 +0000 (0:00:00.067) 0:00:15.324 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:02:42 +0000 (0:00:00.135) 0:00:15.459 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:02:42 +0000 (0:00:00.067) 0:00:15.527 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:02:42 +0000 (0:00:00.036) 0:00:15.564 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:02:42 +0000 (0:00:00.037) 0:00:15.602 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:02:43 +0000 (0:00:01.313) 0:00:16.915 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:02:44 +0000 (0:00:00.624) 0:00:17.540 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:02:44 +0000 (0:00:00.026) 0:00:17.566 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:02:44 +0000 (0:00:00.024) 0:00:17.590 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:02:44 +0000 (0:00:00.036) 0:00:17.626 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:02:44 +0000 (0:00:00.074) 0:00:17.701 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:02:44 +0000 (0:00:00.031) 0:00:17.732 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:02:44 +0000 (0:00:00.085) 0:00:17.817 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:02:44 +0000 (0:00:00.073) 0:00:17.891 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:02:44 +0000 (0:00:00.059) 0:00:17.951 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:02:44 +0000 (0:00:00.024) 0:00:17.975 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:02:44 +0000 (0:00:00.023) 0:00:17.999 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:02:44 +0000 (0:00:00.025) 0:00:18.025 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.337) 0:00:18.363 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.029) 0:00:18.392 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.034) 0:00:18.426 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.030) 0:00:18.457 ******* 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, 0bae268a-4198-4a21-8205-b0b4b47dd615 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.387) 0:00:18.844 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.021) 0:00:18.866 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0bae268a-4198-4a21-8205-b0b4b47dd615" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.023) 0:00:18.890 ******* 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, 0bae268a-4198-4a21-8205-b0b4b47dd615\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0bae268a-4198-4a21-8205-b0b4b47dd615" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.022) 0:00:18.912 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.045) 0:00:18.958 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.168) 0:00:19.127 ******* 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, 0bae268a-4198-4a21-8205-b0b4b47dd615\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0bae268a-4198-4a21-8205-b0b4b47dd615" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:30 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.023) 0:00:19.150 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/activate_profile.yml:3 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.041) 0:00:19.192 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.043) 0:00:19.235 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.047) 0:00:19.282 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:02:45 +0000 (0:00:00.056) 0:00:19.339 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:02:46 +0000 (0:00:00.037) 0:00:19.376 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:02:46 +0000 (0:00:00.022) 0:00:19.399 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:02:47 +0000 (0:00:01.355) 0:00:20.754 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:02:47 +0000 (0:00:00.600) 0:00:21.355 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.023) 0:00:21.379 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.021) 0:00:21.400 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.022) 0:00:21.423 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.024) 0:00:21.447 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.029) 0:00:21.477 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.024) 0:00:21.501 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.026) 0:00:21.528 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.048) 0:00:21.577 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.028) 0:00:21.605 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.022) 0:00:21.628 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.026) 0:00:21.655 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.344) 0:00:21.999 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.029) 0:00:22.029 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.047) 0:00:22.076 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:02:48 +0000 (0:00:00.042) 0:00:22.118 ******* 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, 0bae268a-4198-4a21-8205-b0b4b47dd615 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:02:49 +0000 (0:00:00.406) 0:00:22.525 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:02:49 +0000 (0:00:00.040) 0:00:22.566 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0bae268a-4198-4a21-8205-b0b4b47dd615 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:02:49 +0000 (0:00:00.028) 0:00:22.594 ******* 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, 0bae268a-4198-4a21-8205-b0b4b47dd615 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0bae268a-4198-4a21-8205-b0b4b47dd615 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:02:49 +0000 (0:00:00.029) 0:00:22.624 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:02:49 +0000 (0:00:00.021) 0:00:22.645 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:36 Thursday 08 August 2024 20:02:49 +0000 (0:00:00.174) 0:00:22.820 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 08 August 2024 20:02:49 +0000 (0:00:00.052) 0:00:22.872 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 08 August 2024 20:02:49 +0000 (0:00:00.048) 0:00:22.920 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723147365.417515, "block_size": 4096, "blocks": 0, "ctime": 1723147365.417515, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32952, "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": 1723147365.417515, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 08 August 2024 20:02:49 +0000 (0:00:00.177) 0:00:23.097 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 08 August 2024 20:02:49 +0000 (0:00:00.024) 0:00:23.122 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 08 August 2024 20:02:49 +0000 (0:00:00.068) 0:00:23.191 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 08 August 2024 20:02:49 +0000 (0:00:00.030) 0:00:23.221 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 08 August 2024 20:02:50 +0000 (0:00:00.196) 0:00:23.417 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 08 August 2024 20:02:50 +0000 (0:00:00.025) 0:00:23.442 ******* ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017276", "end": "2024-08-08 20:02:50.283067", "rc": 0, "start": "2024-08-08 20:02:50.265791" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 08 August 2024 20:02:50 +0000 (0:00:00.245) 0:00:23.688 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 08 August 2024 20:02:50 +0000 (0:00:00.052) 0:00:23.741 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 08 August 2024 20:02:50 +0000 (0:00:00.025) 0:00:23.766 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 08 August 2024 20:02:50 +0000 (0:00:00.028) 0:00:23.795 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 08 August 2024 20:02:50 +0000 (0:00:00.072) 0:00:23.867 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 08 August 2024 20:02:50 +0000 (0:00:00.080) 0:00:23.948 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 08 August 2024 20:02:50 +0000 (0:00:00.052) 0:00:24.000 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 08 August 2024 20:02:50 +0000 (0:00:00.090) 0:00:24.090 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:42 Thursday 08 August 2024 20:02:50 +0000 (0:00:00.035) 0:00:24.126 ******* TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:47 Thursday 08 August 2024 20:02:50 +0000 (0:00:00.029) 0:00:24.155 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:66 Thursday 08 August 2024 20:02:50 +0000 (0:00:00.035) 0:00:24.191 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 08 August 2024 20:02:50 +0000 (0:00:00.077) 0:00:24.269 ******* 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.062105", "end": "2024-08-08 20:02:51.128224", "rc": 1, "start": "2024-08-08 20:02:51.066119" } STDOUT: Connection 'statebr' (0bae268a-4198-4a21-8205-b0b4b47dd615) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tests_states.yml:83 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.245) 0:00:24.514 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:5 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.037) 0:00:24.552 ******* ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:9 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.024) 0:00:24.577 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:21 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.046) 0:00:24.623 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.048) 0:00:24.672 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.042) 0:00:24.714 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003106", "end": "2024-08-08 20:02:51.526256", "rc": 0, "start": "2024-08-08 20:02:51.523150" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.198) 0:00:24.913 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.026) 0:00:24.939 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:24 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.021) 0:00:24.961 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.042) 0:00:25.004 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.085) 0:00:25.090 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.065) 0:00:25.156 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.027) 0:00:25.183 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.022) 0:00:25.206 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:02:51 +0000 (0:00:00.023) 0:00:25.230 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:02:53 +0000 (0:00:01.300) 0:00:26.530 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:02:53 +0000 (0:00:00.682) 0:00:27.212 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:02:53 +0000 (0:00:00.068) 0:00:27.281 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:02:53 +0000 (0:00:00.045) 0:00:27.326 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:02:54 +0000 (0:00:00.036) 0:00:27.363 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:02:54 +0000 (0:00:00.043) 0:00:27.406 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:02:54 +0000 (0:00:00.081) 0:00:27.488 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:02:54 +0000 (0:00:00.027) 0:00:27.515 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:02:54 +0000 (0:00:00.054) 0:00:27.570 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:02:54 +0000 (0:00:00.063) 0:00:27.633 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:02:54 +0000 (0:00:00.040) 0:00:27.674 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:02:54 +0000 (0:00:00.031) 0:00:27.705 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:02:54 +0000 (0:00:00.034) 0:00:27.740 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:02:54 +0000 (0:00:00.375) 0:00:28.115 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:02:54 +0000 (0:00:00.040) 0:00:28.156 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:02:54 +0000 (0:00:00.043) 0:00:28.199 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:02:54 +0000 (0:00:00.026) 0:00:28.225 ******* 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, 90fff20a-fd5b-4b31-bf54-6d494ad99010 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:02:55 +0000 (0:00:00.483) 0:00:28.708 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:02:55 +0000 (0:00:00.022) 0:00:28.731 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90fff20a-fd5b-4b31-bf54-6d494ad99010" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:02:55 +0000 (0:00:00.026) 0:00:28.757 ******* 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, 90fff20a-fd5b-4b31-bf54-6d494ad99010\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90fff20a-fd5b-4b31-bf54-6d494ad99010" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:02:55 +0000 (0:00:00.032) 0:00:28.790 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:02:55 +0000 (0:00:00.023) 0:00:28.813 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 08 August 2024 20:02:55 +0000 (0:00:00.170) 0:00:28.984 ******* 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, 90fff20a-fd5b-4b31-bf54-6d494ad99010\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 90fff20a-fd5b-4b31-bf54-6d494ad99010" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/activate_profile.yml:3 Thursday 08 August 2024 20:02:55 +0000 (0:00:00.025) 0:00:29.009 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:02:55 +0000 (0:00:00.038) 0:00:29.047 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:02:55 +0000 (0:00:00.043) 0:00:29.090 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:02:55 +0000 (0:00:00.029) 0:00:29.119 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:02:55 +0000 (0:00:00.025) 0:00:29.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:02:55 +0000 (0:00:00.038) 0:00:29.183 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:02:57 +0000 (0:00:01.340) 0:00:30.524 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:02:57 +0000 (0:00:00.608) 0:00:31.132 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:02:57 +0000 (0:00:00.033) 0:00:31.166 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:02:57 +0000 (0:00:00.035) 0:00:31.201 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:02:57 +0000 (0:00:00.024) 0:00:31.226 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:02:57 +0000 (0:00:00.022) 0:00:31.248 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:02:57 +0000 (0:00:00.048) 0:00:31.297 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:02:57 +0000 (0:00:00.023) 0:00:31.320 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:02:57 +0000 (0:00:00.030) 0:00:31.351 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:02:58 +0000 (0:00:00.058) 0:00:31.409 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:02:58 +0000 (0:00:00.024) 0:00:31.434 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:02:58 +0000 (0:00:00.023) 0:00:31.457 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:02:58 +0000 (0:00:00.047) 0:00:31.504 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:02:58 +0000 (0:00:00.379) 0:00:31.884 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:02:58 +0000 (0:00:00.032) 0:00:31.917 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:02:58 +0000 (0:00:00.025) 0:00:31.943 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:02:58 +0000 (0:00:00.029) 0:00:31.973 ******* 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, 90fff20a-fd5b-4b31-bf54-6d494ad99010 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:02:58 +0000 (0:00:00.317) 0:00:32.290 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:02:58 +0000 (0:00:00.038) 0:00:32.328 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 90fff20a-fd5b-4b31-bf54-6d494ad99010 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:02:59 +0000 (0:00:00.039) 0:00:32.367 ******* 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, 90fff20a-fd5b-4b31-bf54-6d494ad99010 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 90fff20a-fd5b-4b31-bf54-6d494ad99010 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:02:59 +0000 (0:00:00.029) 0:00:32.397 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:02:59 +0000 (0:00:00.038) 0:00:32.436 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:30 Thursday 08 August 2024 20:02:59 +0000 (0:00:00.186) 0:00:32.623 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/remove_profile.yml:3 Thursday 08 August 2024 20:02:59 +0000 (0:00:00.053) 0:00:32.676 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:02:59 +0000 (0:00:00.070) 0:00:32.747 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:02:59 +0000 (0:00:00.071) 0:00:32.818 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:02:59 +0000 (0:00:00.117) 0:00:32.936 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:02:59 +0000 (0:00:00.057) 0:00:32.994 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:02:59 +0000 (0:00:00.042) 0:00:33.036 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:03:01 +0000 (0:00:01.341) 0:00:34.378 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:03:01 +0000 (0:00:00.625) 0:00:35.003 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:03:01 +0000 (0:00:00.030) 0:00:35.033 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:03:01 +0000 (0:00:00.042) 0:00:35.075 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:03:01 +0000 (0:00:00.031) 0:00:35.107 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:03:01 +0000 (0:00:00.063) 0:00:35.171 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:03:01 +0000 (0:00:00.030) 0:00:35.201 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:03:01 +0000 (0:00:00.043) 0:00:35.245 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:03:01 +0000 (0:00:00.028) 0:00:35.274 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:03:02 +0000 (0:00:00.102) 0:00:35.376 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:03:02 +0000 (0:00:00.026) 0:00:35.403 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:03:02 +0000 (0:00:00.023) 0:00:35.427 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:03:02 +0000 (0:00:00.029) 0:00:35.456 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:03:02 +0000 (0:00:00.324) 0:00:35.781 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:03:02 +0000 (0:00:00.042) 0:00:35.824 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:03:02 +0000 (0:00:00.036) 0:00:35.861 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:03:02 +0000 (0:00:00.056) 0:00:35.917 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:03:02 +0000 (0:00:00.346) 0:00:36.264 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:03:02 +0000 (0:00:00.027) 0:00:36.291 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:03:02 +0000 (0:00:00.040) 0:00:36.332 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:03:03 +0000 (0:00:00.038) 0:00:36.370 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:03:03 +0000 (0:00:00.061) 0:00:36.432 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:36 Thursday 08 August 2024 20:03:03 +0000 (0:00:00.172) 0:00:36.604 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 08 August 2024 20:03:03 +0000 (0:00:00.044) 0:00:36.648 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 08 August 2024 20:03:03 +0000 (0:00:00.038) 0:00:36.687 ******* ok: [sut] => { "changed": false, "stat": { "atime": 1723147375.222166, "block_size": 4096, "blocks": 0, "ctime": 1723147375.222166, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33083, "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": 1723147375.222166, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 08 August 2024 20:03:03 +0000 (0:00:00.213) 0:00:36.900 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 08 August 2024 20:03:03 +0000 (0:00:00.043) 0:00:36.943 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 08 August 2024 20:03:03 +0000 (0:00:00.046) 0:00:36.990 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 08 August 2024 20:03:03 +0000 (0:00:00.023) 0:00:37.014 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 08 August 2024 20:03:03 +0000 (0:00:00.167) 0:00:37.181 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 08 August 2024 20:03:03 +0000 (0:00:00.021) 0:00:37.203 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018012", "end": "2024-08-08 20:03:04.007699", "rc": 1, "start": "2024-08-08 20:03:03.989687" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.201) 0:00:37.404 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.028) 0:00:37.432 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.025) 0:00:37.458 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.125) 0:00:37.583 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.038) 0:00:37.622 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.069) 0:00:37.691 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:42 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.033) 0:00:37.724 ******* TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:47 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.029) 0:00:37.754 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:66 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.054) 0:00:37.808 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.047) 0:00:37.855 ******* 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.057617", "end": "2024-08-08 20:03:04.714592", "rc": 1, "start": "2024-08-08 20:03:04.656975" } STDOUT: Connection 'statebr' (90fff20a-fd5b-4b31-bf54-6d494ad99010) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tests_states.yml:103 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.249) 0:00:38.105 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:5 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.038) 0:00:38.143 ******* ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:9 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.022) 0:00:38.166 ******* ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:21 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.048) 0:00:38.214 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.039) 0:00:38.253 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 08 August 2024 20:03:04 +0000 (0:00:00.050) 0:00:38.304 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003265", "end": "2024-08-08 20:03:05.127294", "rc": 0, "start": "2024-08-08 20:03:05.124029" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 08 August 2024 20:03:05 +0000 (0:00:00.269) 0:00:38.573 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 08 August 2024 20:03:05 +0000 (0:00:00.038) 0:00:38.612 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:24 Thursday 08 August 2024 20:03:05 +0000 (0:00:00.024) 0:00:38.636 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 08 August 2024 20:03:05 +0000 (0:00:00.050) 0:00:38.686 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:03:05 +0000 (0:00:00.045) 0:00:38.732 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:03:05 +0000 (0:00:00.048) 0:00:38.781 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:03:05 +0000 (0:00:00.038) 0:00:38.820 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:03:05 +0000 (0:00:00.024) 0:00:38.844 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:03:05 +0000 (0:00:00.024) 0:00:38.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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:03:06 +0000 (0:00:01.335) 0:00:40.204 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:03:07 +0000 (0:00:00.597) 0:00:40.801 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:03:07 +0000 (0:00:00.026) 0:00:40.828 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:03:07 +0000 (0:00:00.023) 0:00:40.852 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:03:07 +0000 (0:00:00.024) 0:00:40.876 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:03:07 +0000 (0:00:00.023) 0:00:40.900 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:03:07 +0000 (0:00:00.031) 0:00:40.931 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:03:07 +0000 (0:00:00.024) 0:00:40.956 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:03:07 +0000 (0:00:00.027) 0:00:40.983 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:03:07 +0000 (0:00:00.049) 0:00:41.032 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:03:07 +0000 (0:00:00.025) 0:00:41.058 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:03:07 +0000 (0:00:00.023) 0:00:41.082 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:03:07 +0000 (0:00:00.028) 0:00:41.110 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:03:08 +0000 (0:00:00.384) 0:00:41.495 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:03:08 +0000 (0:00:00.035) 0:00:41.530 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:03:08 +0000 (0:00:00.024) 0:00:41.554 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:03:08 +0000 (0:00:00.038) 0:00:41.592 ******* 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, 3ccfeadb-5dd1-4d7e-86e5-9055e6948c71 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:03:08 +0000 (0:00:00.416) 0:00:42.009 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:03:08 +0000 (0:00:00.026) 0:00:42.036 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ccfeadb-5dd1-4d7e-86e5-9055e6948c71" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:03:08 +0000 (0:00:00.025) 0:00:42.062 ******* 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, 3ccfeadb-5dd1-4d7e-86e5-9055e6948c71\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ccfeadb-5dd1-4d7e-86e5-9055e6948c71" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:03:08 +0000 (0:00:00.027) 0:00:42.089 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:03:08 +0000 (0:00:00.026) 0:00:42.115 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 08 August 2024 20:03:08 +0000 (0:00:00.172) 0:00:42.288 ******* 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, 3ccfeadb-5dd1-4d7e-86e5-9055e6948c71\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3ccfeadb-5dd1-4d7e-86e5-9055e6948c71" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/activate_profile.yml:3 Thursday 08 August 2024 20:03:08 +0000 (0:00:00.027) 0:00:42.316 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:03:09 +0000 (0:00:00.046) 0:00:42.362 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:03:09 +0000 (0:00:00.049) 0:00:42.412 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:03:09 +0000 (0:00:00.029) 0:00:42.441 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:03:09 +0000 (0:00:00.130) 0:00:42.572 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:03:09 +0000 (0:00:00.057) 0:00:42.629 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:03:10 +0000 (0:00:01.297) 0:00:43.927 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:03:11 +0000 (0:00:00.630) 0:00:44.557 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:03:11 +0000 (0:00:00.044) 0:00:44.602 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:03:11 +0000 (0:00:00.049) 0:00:44.651 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:03:11 +0000 (0:00:00.035) 0:00:44.686 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:03:11 +0000 (0:00:00.034) 0:00:44.721 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:03:11 +0000 (0:00:00.077) 0:00:44.799 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:03:11 +0000 (0:00:00.026) 0:00:44.826 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:03:11 +0000 (0:00:00.028) 0:00:44.854 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:03:11 +0000 (0:00:00.050) 0:00:44.905 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:03:11 +0000 (0:00:00.026) 0:00:44.931 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:03:11 +0000 (0:00:00.029) 0:00:44.960 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:03:11 +0000 (0:00:00.033) 0:00:44.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.380) 0:00:45.375 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.063) 0:00:45.438 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.027) 0:00:45.466 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.036) 0:00:45.502 ******* 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, 3ccfeadb-5dd1-4d7e-86e5-9055e6948c71 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.339) 0:00:45.842 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.031) 0:00:45.874 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3ccfeadb-5dd1-4d7e-86e5-9055e6948c71 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.038) 0:00:45.913 ******* 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, 3ccfeadb-5dd1-4d7e-86e5-9055e6948c71 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3ccfeadb-5dd1-4d7e-86e5-9055e6948c71 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.024) 0:00:45.937 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.029) 0:00:45.967 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/remove_profile.yml:3 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.212) 0:00:46.180 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.041) 0:00:46.222 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.046) 0:00:46.269 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.030) 0:00:46.300 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.025) 0:00:46.326 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:03:12 +0000 (0:00:00.029) 0:00:46.355 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:03:14 +0000 (0:00:01.297) 0:00:47.652 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:03:14 +0000 (0:00:00.690) 0:00:48.342 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.050) 0:00:48.393 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.033) 0:00:48.426 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.026) 0:00:48.453 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.024) 0:00:48.478 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.042) 0:00:48.520 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.049) 0:00:48.569 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.061) 0:00:48.631 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.060) 0:00:48.692 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.036) 0:00:48.728 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.039) 0:00:48.768 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.033) 0:00:48.801 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.323) 0:00:49.125 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.052) 0:00:49.178 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.034) 0:00:49.212 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:03:15 +0000 (0:00:00.027) 0:00:49.240 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:03:16 +0000 (0:00:00.507) 0:00:49.748 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:03:16 +0000 (0:00:00.107) 0:00:49.855 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:03:16 +0000 (0:00:00.029) 0:00:49.885 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:03:16 +0000 (0:00:00.027) 0:00:49.913 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:03:16 +0000 (0:00:00.025) 0:00:49.938 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:30 Thursday 08 August 2024 20:03:16 +0000 (0:00:00.182) 0:00:50.121 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 08 August 2024 20:03:16 +0000 (0:00:00.074) 0:00:50.196 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:03:16 +0000 (0:00:00.052) 0:00:50.248 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:03:16 +0000 (0:00:00.054) 0:00:50.303 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:03:16 +0000 (0:00:00.030) 0:00:50.334 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:03:17 +0000 (0:00:00.042) 0:00:50.377 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:03:17 +0000 (0:00:00.026) 0:00:50.403 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:03:18 +0000 (0:00:01.305) 0:00:51.708 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.649) 0:00:52.358 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.031) 0:00:52.390 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.028) 0:00:52.418 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.023) 0:00:52.442 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.031) 0:00:52.474 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.036) 0:00:52.510 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.026) 0:00:52.536 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.032) 0:00:52.569 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.073) 0:00:52.643 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.040) 0:00:52.683 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.029) 0:00:52.713 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.037) 0:00:52.751 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.403) 0:00:53.154 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.038) 0:00:53.192 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.047) 0:00:53.240 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:03:19 +0000 (0:00:00.026) 0:00:53.266 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:03:20 +0000 (0:00:00.428) 0:00:53.695 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:03:20 +0000 (0:00:00.048) 0:00:53.744 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:03:20 +0000 (0:00:00.028) 0:00:53.772 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:03:20 +0000 (0:00:00.026) 0:00:53.799 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:03:20 +0000 (0:00:00.026) 0:00:53.826 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:36 Thursday 08 August 2024 20:03:20 +0000 (0:00:00.170) 0:00:53.997 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 08 August 2024 20:03:20 +0000 (0:00:00.051) 0:00:54.048 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 08 August 2024 20:03:20 +0000 (0:00:00.090) 0:00:54.139 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 08 August 2024 20:03:20 +0000 (0:00:00.036) 0:00:54.175 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.276) 0:00:54.451 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.027) 0:00:54.479 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017234", "end": "2024-08-08 20:03:21.297138", "rc": 1, "start": "2024-08-08 20:03:21.279904" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.204) 0:00:54.683 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.024) 0:00:54.707 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.024) 0:00:54.732 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.024) 0:00:54.756 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.026) 0:00:54.782 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.026) 0:00:54.809 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:42 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.024) 0:00:54.834 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.049) 0:00:54.884 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.038) 0:00:54.922 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.169) 0:00:55.091 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:47 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.028) 0:00:55.119 ******* ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:66 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.024) 0:00:55.144 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 08 August 2024 20:03:21 +0000 (0:00:00.091) 0:00:55.236 ******* 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.031827", "end": "2024-08-08 20:03:22.055861", "rc": 1, "start": "2024-08-08 20:03:22.024034" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tests_states.yml:126 Thursday 08 August 2024 20:03:22 +0000 (0:00:00.238) 0:00:55.475 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:5 Thursday 08 August 2024 20:03:22 +0000 (0:00:00.060) 0:00:55.535 ******* ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:9 Thursday 08 August 2024 20:03:22 +0000 (0:00:00.026) 0:00:55.562 ******* 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-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:21 Thursday 08 August 2024 20:03:22 +0000 (0:00:00.057) 0:00:55.619 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 08 August 2024 20:03:22 +0000 (0:00:00.073) 0:00:55.693 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 08 August 2024 20:03:22 +0000 (0:00:00.044) 0:00:55.737 ******* ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003066", "end": "2024-08-08 20:03:22.539495", "rc": 0, "start": "2024-08-08 20:03:22.536429" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 08 August 2024 20:03:22 +0000 (0:00:00.215) 0:00:55.952 ******* ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 08 August 2024 20:03:22 +0000 (0:00:00.055) 0:00:56.008 ******* ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:24 Thursday 08 August 2024 20:03:22 +0000 (0:00:00.036) 0:00:56.044 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 08 August 2024 20:03:22 +0000 (0:00:00.062) 0:00:56.106 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:03:22 +0000 (0:00:00.110) 0:00:56.217 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:03:22 +0000 (0:00:00.049) 0:00:56.267 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:03:22 +0000 (0:00:00.074) 0:00:56.341 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:03:23 +0000 (0:00:00.040) 0:00:56.382 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:03:23 +0000 (0:00:00.032) 0:00:56.415 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:03:24 +0000 (0:00:01.323) 0:00:57.738 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.714) 0:00:58.453 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.027) 0:00:58.480 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.024) 0:00:58.504 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.026) 0:00:58.531 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.030) 0:00:58.561 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.029) 0:00:58.591 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.032) 0:00:58.623 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.040) 0:00:58.663 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.054) 0:00:58.718 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.028) 0:00:58.747 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.027) 0:00:58.774 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.030) 0:00:58.805 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.339) 0:00:59.144 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.028) 0:00:59.173 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.023) 0:00:59.196 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:03:25 +0000 (0:00:00.023) 0:00:59.220 ******* 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, b3217f50-7c92-45f7-83a3-b7516a0b7891 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:03:26 +0000 (0:00:00.432) 0:00:59.652 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:03:26 +0000 (0:00:00.025) 0:00:59.677 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3217f50-7c92-45f7-83a3-b7516a0b7891" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:03:26 +0000 (0:00:00.027) 0:00:59.705 ******* 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, b3217f50-7c92-45f7-83a3-b7516a0b7891\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3217f50-7c92-45f7-83a3-b7516a0b7891" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:03:26 +0000 (0:00:00.039) 0:00:59.745 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:03:26 +0000 (0:00:00.024) 0:00:59.769 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 08 August 2024 20:03:26 +0000 (0:00:00.173) 0:00:59.943 ******* 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, b3217f50-7c92-45f7-83a3-b7516a0b7891\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3217f50-7c92-45f7-83a3-b7516a0b7891" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/activate_profile.yml:3 Thursday 08 August 2024 20:03:26 +0000 (0:00:00.029) 0:00:59.972 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:03:26 +0000 (0:00:00.061) 0:01:00.033 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:03:26 +0000 (0:00:00.055) 0:01:00.089 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:03:26 +0000 (0:00:00.031) 0:01:00.121 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:03:26 +0000 (0:00:00.050) 0:01:00.172 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:03:26 +0000 (0:00:00.058) 0:01:00.230 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:03:28 +0000 (0:00:01.281) 0:01:01.512 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:03:28 +0000 (0:00:00.621) 0:01:02.134 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:03:28 +0000 (0:00:00.026) 0:01:02.160 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:03:28 +0000 (0:00:00.036) 0:01:02.197 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:03:28 +0000 (0:00:00.039) 0:01:02.236 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:03:28 +0000 (0:00:00.047) 0:01:02.284 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:03:28 +0000 (0:00:00.037) 0:01:02.322 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:03:28 +0000 (0:00:00.030) 0:01:02.352 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:03:29 +0000 (0:00:00.040) 0:01:02.393 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:03:29 +0000 (0:00:00.069) 0:01:02.463 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:03:29 +0000 (0:00:00.040) 0:01:02.504 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:03:29 +0000 (0:00:00.048) 0:01:02.552 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:03:29 +0000 (0:00:00.054) 0:01:02.606 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:03:29 +0000 (0:00:00.417) 0:01:03.024 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:03:29 +0000 (0:00:00.029) 0:01:03.054 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:03:29 +0000 (0:00:00.024) 0:01:03.079 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:03:29 +0000 (0:00:00.023) 0:01:03.103 ******* 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, b3217f50-7c92-45f7-83a3-b7516a0b7891 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:03:30 +0000 (0:00:00.341) 0:01:03.445 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:03:30 +0000 (0:00:00.023) 0:01:03.468 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3217f50-7c92-45f7-83a3-b7516a0b7891 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:03:30 +0000 (0:00:00.026) 0:01:03.495 ******* 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, b3217f50-7c92-45f7-83a3-b7516a0b7891 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3217f50-7c92-45f7-83a3-b7516a0b7891 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:03:30 +0000 (0:00:00.026) 0:01:03.521 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:03:30 +0000 (0:00:00.032) 0:01:03.554 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 08 August 2024 20:03:30 +0000 (0:00:00.200) 0:01:03.754 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:03:30 +0000 (0:00:00.042) 0:01:03.797 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:03:30 +0000 (0:00:00.045) 0:01:03.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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:03:30 +0000 (0:00:00.028) 0:01:03.872 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:03:30 +0000 (0:00:00.067) 0:01:03.940 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:03:30 +0000 (0:00:00.056) 0:01:03.996 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:03:31 +0000 (0:00:01.300) 0:01:05.297 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:03:32 +0000 (0:00:00.665) 0:01:05.962 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:03:32 +0000 (0:00:00.033) 0:01:05.996 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:03:32 +0000 (0:00:00.063) 0:01:06.059 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:03:32 +0000 (0:00:00.026) 0:01:06.086 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:03:32 +0000 (0:00:00.040) 0:01:06.126 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:03:32 +0000 (0:00:00.029) 0:01:06.156 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:03:32 +0000 (0:00:00.029) 0:01:06.185 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:03:32 +0000 (0:00:00.030) 0:01:06.216 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:03:32 +0000 (0:00:00.055) 0:01:06.271 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:03:33 +0000 (0:00:00.097) 0:01:06.368 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:03:33 +0000 (0:00:00.032) 0:01:06.401 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:03:33 +0000 (0:00:00.054) 0:01:06.456 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:03:33 +0000 (0:00:00.338) 0:01:06.795 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:03:33 +0000 (0:00:00.029) 0:01:06.825 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:03:33 +0000 (0:00:00.028) 0:01:06.853 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:03:33 +0000 (0:00:00.032) 0:01:06.886 ******* changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:03:33 +0000 (0:00:00.391) 0:01:07.277 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:03:33 +0000 (0:00:00.026) 0:01:07.303 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:03:33 +0000 (0:00:00.024) 0:01:07.328 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:03:33 +0000 (0:00:00.027) 0:01:07.356 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:03:34 +0000 (0:00:00.031) 0:01:07.387 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:30 Thursday 08 August 2024 20:03:34 +0000 (0:00:00.174) 0:01:07.561 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 08 August 2024 20:03:34 +0000 (0:00:00.047) 0:01:07.608 ******* TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 08 August 2024 20:03:34 +0000 (0:00:00.155) 0:01:07.764 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 08 August 2024 20:03:34 +0000 (0:00:00.080) 0:01:07.844 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 08 August 2024 20:03:34 +0000 (0:00:00.039) 0:01:07.884 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 08 August 2024 20:03:34 +0000 (0:00:00.032) 0:01:07.916 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 08 August 2024 20:03:34 +0000 (0:00:00.042) 0:01:07.958 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 08 August 2024 20:03:35 +0000 (0:00:01.305) 0:01:09.264 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 08 August 2024 20:03:36 +0000 (0:00:00.678) 0:01:09.942 ******* ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 08 August 2024 20:03:36 +0000 (0:00:00.076) 0:01:10.019 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 08 August 2024 20:03:36 +0000 (0:00:00.069) 0:01:10.088 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying teaming configuration if the system version of the managed host is EL10 or later] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:28 Thursday 08 August 2024 20:03:36 +0000 (0:00:00.163) 0:01:10.252 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:43 Thursday 08 August 2024 20:03:36 +0000 (0:00:00.093) 0:01:10.345 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:58 Thursday 08 August 2024 20:03:37 +0000 (0:00:00.062) 0:01:10.407 ******* 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-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:72 Thursday 08 August 2024 20:03:37 +0000 (0:00:00.051) 0:01:10.459 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:92 Thursday 08 August 2024 20:03:37 +0000 (0:00:00.051) 0:01:10.510 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 08 August 2024 20:03:37 +0000 (0:00:00.130) 0:01:10.641 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:120 Thursday 08 August 2024 20:03:37 +0000 (0:00:00.062) 0:01:10.704 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:137 Thursday 08 August 2024 20:03:37 +0000 (0:00:00.053) 0:01:10.757 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 Thursday 08 August 2024 20:03:37 +0000 (0:00:00.088) 0:01:10.846 ******* ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:162 Thursday 08 August 2024 20:03:37 +0000 (0:00:00.396) 0:01:11.242 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:171 Thursday 08 August 2024 20:03:37 +0000 (0:00:00.031) 0:01:11.274 ******* skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:179 Thursday 08 August 2024 20:03:37 +0000 (0:00:00.024) 0:01:11.299 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 Thursday 08 August 2024 20:03:37 +0000 (0:00:00.036) 0:01:11.335 ******* ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:200 Thursday 08 August 2024 20:03:38 +0000 (0:00:00.350) 0:01:11.686 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:206 Thursday 08 August 2024 20:03:38 +0000 (0:00:00.032) 0:01:11.718 ******* ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:210 Thursday 08 August 2024 20:03:38 +0000 (0:00:00.028) 0:01:11.746 ******* ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:215 Thursday 08 August 2024 20:03:38 +0000 (0:00:00.133) 0:01:11.879 ******* skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:221 Thursday 08 August 2024 20:03:38 +0000 (0:00:00.031) 0:01:11.910 ******* ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:36 Thursday 08 August 2024 20:03:38 +0000 (0:00:00.211) 0:01:12.122 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 08 August 2024 20:03:38 +0000 (0:00:00.074) 0:01:12.196 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 08 August 2024 20:03:38 +0000 (0:00:00.052) 0:01:12.248 ******* ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 08 August 2024 20:03:38 +0000 (0:00:00.033) 0:01:12.282 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 08 August 2024 20:03:39 +0000 (0:00:00.217) 0:01:12.500 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 08 August 2024 20:03:39 +0000 (0:00:00.024) 0:01:12.525 ******* fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.017978", "end": "2024-08-08 20:03:39.342417", "rc": 1, "start": "2024-08-08 20:03:39.324439" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 08 August 2024 20:03:39 +0000 (0:00:00.206) 0:01:12.731 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 08 August 2024 20:03:39 +0000 (0:00:00.026) 0:01:12.758 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 08 August 2024 20:03:39 +0000 (0:00:00.036) 0:01:12.795 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 08 August 2024 20:03:39 +0000 (0:00:00.029) 0:01:12.824 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 08 August 2024 20:03:39 +0000 (0:00:00.028) 0:01:12.853 ******* skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 08 August 2024 20:03:39 +0000 (0:00:00.026) 0:01:12.880 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 08 August 2024 20:03:39 +0000 (0:00:00.036) 0:01:12.917 ******* ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.289122", "end": "2024-08-08 20:03:40.008113", "rc": 0, "start": "2024-08-08 20:03:39.718991" } STDOUT: NetworkManager-1.48.2-2.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 08 August 2024 20:03:40 +0000 (0:00:00.479) 0:01:13.396 ******* ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 08 August 2024 20:03:40 +0000 (0:00:00.029) 0:01:13.426 ******* ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.48.2-2.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:42 Thursday 08 August 2024 20:03:40 +0000 (0:00:00.027) 0:01:13.454 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 08 August 2024 20:03:40 +0000 (0:00:00.053) 0:01:13.507 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 08 August 2024 20:03:40 +0000 (0:00:00.045) 0:01:13.553 ******* ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 08 August 2024 20:03:40 +0000 (0:00:00.173) 0:01:13.726 ******* ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:47 Thursday 08 August 2024 20:03:40 +0000 (0:00:00.036) 0:01:13.763 ******* ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/run_test.yml:66 Thursday 08 August 2024 20:03:40 +0000 (0:00:00.030) 0:01:13.793 ******* included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cio_x4x2_z/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 08 August 2024 20:03:40 +0000 (0:00:00.054) 0:01:13.848 ******* 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.032390", "end": "2024-08-08 20:03:40.703669", "rc": 1, "start": "2024-08-08 20:03:40.671279" } 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-weekly-cio_x4x2_z/tests/playbooks/tasks/check_network_dns.yml:6 Thursday 08 August 2024 20:03:40 +0000 (0:00:00.255) 0:01:14.103 ******* 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.008126", "end": "2024-08-08 20:03:40.934944", "rc": 0, "start": "2024-08-08 20:03:40.926818" } 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 02:14:46:cf:f4:8b brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.44.130/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3177sec preferred_lft 3177sec inet6 fe80::14:46ff:fecf:f48b/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.44.130 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.44.130 metric 100 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-weekly-cio_x4x2_z/tests/playbooks/tasks/check_network_dns.yml:24 Thursday 08 August 2024 20:03:40 +0000 (0:00:00.218) 0:01:14.322 ******* 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.077744", "end": "2024-08-08 20:03:41.194118", "rc": 0, "start": "2024-08-08 20:03:41.116374" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 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.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 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 2600:2701:4000:5211:dead:beef:fe:fed3 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 9838 0 --:--:-- --:--:-- --:--:-- 10166 % 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 291 100 291 0 0 12125 0 --:--:-- --:--:-- --:--:-- 12652 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=319 changed=10 unreachable=0 failed=0 skipped=312 rescued=0 ignored=11 Thursday 08 August 2024 20:03:41 +0000 (0:00:00.246) 0:01:14.568 ******* =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.17s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Enable and start NetworkManager ------------ 1.90s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Enable and start NetworkManager ------------ 1.52s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:151 linux-system-roles.network : Configure networking connection profiles --- 1.41s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 linux-system-roles.network : Check which services are running ----------- 1.38s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.36s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.34s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.34s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.34s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.32s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.31s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.31s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.31s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.30s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.30s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.30s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.30s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.30s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.28s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.17s /WORKDIR/git-weekly-cio_x4x2_z/tests/roles/linux-system-roles.network/tasks/main.yml:188 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---