# 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-ciit4iowef/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/tests_states_nm.yml:6 Saturday 20 January 2024 13:46:39 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/tests_states_nm.yml:9 Saturday 20 January 2024 13:46:40 +0000 (0:00:00.644) 0:00:00.658 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/tasks/el_repo_setup.yml:3 Saturday 20 January 2024 13:46:40 +0000 (0:00:00.022) 0:00:00.680 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/el_repo_setup.yml:19 Saturday 20 January 2024 13:46:40 +0000 (0:00:00.348) 0:00:01.029 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/el_repo_setup.yml:24 Saturday 20 January 2024 13:46:41 +0000 (0:00:00.255) 0:00:01.284 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/el_repo_setup.yml:28 Saturday 20 January 2024 13:46:41 +0000 (0:00:00.019) 0:00:01.303 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/el_repo_setup.yml:53 Saturday 20 January 2024 13:46:41 +0000 (0:00:00.016) 0:00:01.320 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/enable_epel.yml:8 Saturday 20 January 2024 13:46:41 +0000 (0:00:00.028) 0:00:01.349 ****** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/enable_epel.yml:24 Saturday 20 January 2024 13:46:41 +0000 (0:00:00.278) 0:00:01.627 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/enable_epel.yml:30 Saturday 20 January 2024 13:46:41 +0000 (0:00:00.039) 0:00:01.667 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/enable_epel.yml:35 Saturday 20 January 2024 13:46:41 +0000 (0:00:00.012) 0:00:01.679 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.248410", "end": "2024-01-20 13:46:42.035194", "rc": 0, "start": "2024-01-20 13:46:41.786784" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tasks/enable_epel.yml:40 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.435) 0:00:02.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/tests_states_nm.yml:11 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.012) 0:00:02.127 ****** 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-ciit4iowef/tests/playbooks/tests_states.yml:3 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.011) 0:00:02.138 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tests_states.yml:11 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.511) 0:00:02.650 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tests_states.yml:22 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.033) 0:00:02.683 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.036) 0:00:02.720 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.013) 0:00:02.733 ****** 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-ciit4iowef/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.034) 0:00:02.768 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.029) 0:00:02.797 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.028) 0:00:02.826 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003337", "end": "2024-01-20 13:46:42.958728", "rc": 0, "start": "2024-01-20 13:46:42.955391" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:46:42 +0000 (0:00:00.232) 0:00:03.058 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:46:43 +0000 (0:00:00.034) 0:00:03.093 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:46:43 +0000 (0:00:00.031) 0:00:03.124 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/delete_interface.yml:3 Saturday 20 January 2024 13:46:43 +0000 (0:00:00.046) 0:00:03.171 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008394", "end": "2024-01-20 13:46:43.334329", "rc": 1, "start": "2024-01-20 13:46:43.325935" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:46:43 +0000 (0:00:00.245) 0:00:03.416 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:46:43 +0000 (0:00:00.035) 0:00:03.451 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:46:43 +0000 (0:00:00.276) 0:00:03.728 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:46:43 +0000 (0:00:00.026) 0:00:03.755 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:46:43 +0000 (0:00:00.038) 0:00:03.793 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:46:43 +0000 (0:00:00.053) 0:00:03.847 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:46:43 +0000 (0:00:00.086) 0:00:03.934 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:46:43 +0000 (0:00:00.020) 0:00:03.954 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:46:43 +0000 (0:00:00.026) 0:00:03.980 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:46:44 +0000 (0:00:00.080) 0:00:04.061 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:46:45 +0000 (0:00:01.810) 0:00:05.871 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:46:47 +0000 (0:00:01.761) 0:00:07.633 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.040) 0:00:07.673 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.032) 0:00:07.705 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.029) 0:00:07.735 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.117) 0:00:07.853 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.030) 0:00:07.883 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.028) 0:00:07.911 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:46:47 +0000 (0:00:00.058) 0:00:07.970 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:46:48 +0000 (0:00:00.615) 0:00:08.585 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:46:48 +0000 (0:00:00.037) 0:00:08.623 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:46:48 +0000 (0:00:00.023) 0:00:08.647 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:46:48 +0000 (0:00:00.027) 0:00:08.674 ****** 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, f422d49c-8d3c-4201-b117-eb3a518c8813 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:46:49 +0000 (0:00:00.582) 0:00:09.256 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:46:49 +0000 (0:00:00.031) 0:00:09.287 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f422d49c-8d3c-4201-b117-eb3a518c8813" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:46:49 +0000 (0:00:00.024) 0:00:09.312 ****** 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, f422d49c-8d3c-4201-b117-eb3a518c8813\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f422d49c-8d3c-4201-b117-eb3a518c8813" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:46:49 +0000 (0:00:00.046) 0:00:09.359 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:46:49 +0000 (0:00:00.043) 0:00:09.402 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:46:49 +0000 (0:00:00.265) 0:00:09.668 ****** 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, f422d49c-8d3c-4201-b117-eb3a518c8813\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f422d49c-8d3c-4201-b117-eb3a518c8813" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:46:49 +0000 (0:00:00.023) 0:00:09.691 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 20 January 2024 13:46:49 +0000 (0:00:00.041) 0:00:09.733 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:46:49 +0000 (0:00:00.040) 0:00:09.773 ****** 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-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:46:49 +0000 (0:00:00.028) 0:00:09.802 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705758409.1305144, "block_size": 4096, "blocks": 8, "ctime": 1705758409.080514, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6160872, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705758409.080514, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:46:49 +0000 (0:00:00.220) 0:00:10.022 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:46:49 +0000 (0:00:00.024) 0:00:10.047 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021435", "end": "2024-01-20 13:46:50.183309", "rc": 0, "start": "2024-01-20 13:46:50.161874" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:46:50 +0000 (0:00:00.226) 0:00:10.273 ****** 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-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:46:50 +0000 (0:00:00.052) 0:00:10.325 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:46:50 +0000 (0:00:00.024) 0:00:10.350 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:46:50 +0000 (0:00:00.023) 0:00:10.374 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:46:50 +0000 (0:00:00.032) 0:00:10.407 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 20 January 2024 13:46:50 +0000 (0:00:00.026) 0:00:10.433 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 20 January 2024 13:46:50 +0000 (0:00:00.036) 0:00:10.470 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 20 January 2024 13:46:50 +0000 (0:00:00.030) 0:00:10.500 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:46:50 +0000 (0:00:00.034) 0:00:10.535 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 20 January 2024 13:46:50 +0000 (0:00:00.094) 0:00:10.629 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:46:50 +0000 (0:00:00.083) 0:00:10.712 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705758409.0827544, "block_size": 4096, "blocks": 0, "ctime": 1705758409.0827544, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 38959, "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": 1705758409.0827544, "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-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 20 January 2024 13:46:50 +0000 (0:00:00.242) 0:00:10.955 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:46:50 +0000 (0:00:00.042) 0:00:10.997 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:46:50 +0000 (0:00:00.024) 0:00:11.022 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.077) 0:00:11.099 ****** 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.060040", "end": "2024-01-20 13:46:51.304010", "rc": 1, "start": "2024-01-20 13:46:51.243970" } STDOUT: Connection 'statebr' (f422d49c-8d3c-4201-b117-eb3a518c8813) 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-ciit4iowef/tests/playbooks/tests_states.yml:45 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.300) 0:00:11.399 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.040) 0:00:11.439 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.031) 0:00:11.470 ****** 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-ciit4iowef/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.085) 0:00:11.556 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.039) 0:00:11.595 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.035) 0:00:11.631 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003281", "end": "2024-01-20 13:46:51.742752", "rc": 0, "start": "2024-01-20 13:46:51.739471" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.201) 0:00:11.833 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.023) 0:00:11.856 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.022) 0:00:11.878 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/delete_interface.yml:3 Saturday 20 January 2024 13:46:51 +0000 (0:00:00.044) 0:00:11.923 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006497", "end": "2024-01-20 13:46:52.038469", "rc": 1, "start": "2024-01-20 13:46:52.031972" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:46:52 +0000 (0:00:00.203) 0:00:12.126 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:46:52 +0000 (0:00:00.035) 0:00:12.162 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:46:52 +0000 (0:00:00.224) 0:00:12.386 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:46:52 +0000 (0:00:00.061) 0:00:12.448 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 20 January 2024 13:46:52 +0000 (0:00:00.051) 0:00:12.500 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:46:52 +0000 (0:00:00.094) 0:00:12.594 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:46:52 +0000 (0:00:00.086) 0:00:12.681 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:46:52 +0000 (0:00:00.029) 0:00:12.710 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:46:52 +0000 (0:00:00.034) 0:00:12.744 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:46:52 +0000 (0:00:00.035) 0:00:12.780 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:46:54 +0000 (0:00:01.629) 0:00:14.410 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:46:55 +0000 (0:00:01.576) 0:00:15.986 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.024) 0:00:16.010 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:46:55 +0000 (0:00:00.023) 0:00:16.034 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.031) 0:00:16.065 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.123) 0:00:16.189 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.022) 0:00:16.211 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.022) 0:00:16.234 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.027) 0:00:16.261 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.347) 0:00:16.608 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.025) 0:00:16.634 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.021) 0:00:16.656 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.021) 0:00:16.678 ****** 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, b02b9b0d-2203-4626-be9b-f8b70182f66d TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.340) 0:00:17.018 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:46:56 +0000 (0:00:00.023) 0:00:17.041 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b02b9b0d-2203-4626-be9b-f8b70182f66d" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:46:57 +0000 (0:00:00.025) 0:00:17.066 ****** 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, b02b9b0d-2203-4626-be9b-f8b70182f66d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b02b9b0d-2203-4626-be9b-f8b70182f66d" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:46:57 +0000 (0:00:00.027) 0:00:17.094 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:46:57 +0000 (0:00:00.024) 0:00:17.118 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 20 January 2024 13:46:57 +0000 (0:00:00.247) 0:00:17.366 ****** 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, b02b9b0d-2203-4626-be9b-f8b70182f66d\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b02b9b0d-2203-4626-be9b-f8b70182f66d" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:46:57 +0000 (0:00:00.024) 0:00:17.390 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:46:57 +0000 (0:00:00.045) 0:00:17.435 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:46:57 +0000 (0:00:00.037) 0:00:17.473 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:46:57 +0000 (0:00:00.200) 0:00:17.673 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 20 January 2024 13:46:57 +0000 (0:00:00.025) 0:00:17.699 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:46:57 +0000 (0:00:00.038) 0:00:17.737 ****** 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-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:46:57 +0000 (0:00:00.024) 0:00:17.762 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705758416.9155889, "block_size": 4096, "blocks": 8, "ctime": 1705758416.9155889, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6160872, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705758416.9155889, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:46:57 +0000 (0:00:00.206) 0:00:17.969 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:46:57 +0000 (0:00:00.023) 0:00:17.992 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019606", "end": "2024-01-20 13:46:58.121236", "rc": 0, "start": "2024-01-20 13:46:58.101630" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.218) 0:00:18.211 ****** 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-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.024) 0:00:18.235 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.053) 0:00:18.288 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.024) 0:00:18.313 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.024) 0:00:18.338 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.024) 0:00:18.362 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.025) 0:00:18.388 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.024) 0:00:18.413 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.023) 0:00:18.436 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.020) 0:00:18.457 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.024) 0:00:18.481 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.043) 0:00:18.525 ****** 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.041349", "end": "2024-01-20 13:46:58.693278", "rc": 1, "start": "2024-01-20 13:46:58.651929" } STDOUT: Connection 'statebr' (b02b9b0d-2203-4626-be9b-f8b70182f66d) 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-ciit4iowef/tests/playbooks/tests_states.yml:65 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.257) 0:00:18.783 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.036) 0:00:18.819 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.024) 0:00:18.843 ****** 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-ciit4iowef/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.057) 0:00:18.901 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.066) 0:00:18.968 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:46:58 +0000 (0:00:00.035) 0:00:19.004 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003345", "end": "2024-01-20 13:46:59.116389", "rc": 0, "start": "2024-01-20 13:46:59.113044" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.202) 0:00:19.206 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.023) 0:00:19.230 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.022) 0:00:19.252 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.039) 0:00:19.292 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.039) 0:00:19.331 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.045) 0:00:19.376 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.029) 0:00:19.405 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.032) 0:00:19.438 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:46:59 +0000 (0:00:00.064) 0:00:19.502 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:01 +0000 (0:00:01.587) 0:00:21.090 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:02 +0000 (0:00:01.555) 0:00:22.645 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:02 +0000 (0:00:00.046) 0:00:22.691 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:02 +0000 (0:00:00.022) 0:00:22.714 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:02 +0000 (0:00:00.021) 0:00:22.735 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:02 +0000 (0:00:00.047) 0:00:22.782 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:02 +0000 (0:00:00.022) 0:00:22.805 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:02 +0000 (0:00:00.026) 0:00:22.831 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:02 +0000 (0:00:00.030) 0:00:22.862 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:03 +0000 (0:00:00.351) 0:00:23.214 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:03 +0000 (0:00:00.028) 0:00:23.242 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:03 +0000 (0:00:00.021) 0:00:23.263 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:03 +0000 (0:00:00.020) 0:00:23.283 ****** 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, 6ad9c303-435a-497a-979e-ca12037e9b28 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:03 +0000 (0:00:00.388) 0:00:23.672 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:03 +0000 (0:00:00.023) 0:00:23.695 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6ad9c303-435a-497a-979e-ca12037e9b28" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:03 +0000 (0:00:00.025) 0:00:23.720 ****** 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, 6ad9c303-435a-497a-979e-ca12037e9b28\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6ad9c303-435a-497a-979e-ca12037e9b28" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:03 +0000 (0:00:00.047) 0:00:23.768 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:03 +0000 (0:00:00.022) 0:00:23.790 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:47:03 +0000 (0:00:00.196) 0:00:23.986 ****** 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, 6ad9c303-435a-497a-979e-ca12037e9b28\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6ad9c303-435a-497a-979e-ca12037e9b28" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:47:03 +0000 (0:00:00.023) 0:00:24.009 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:47:03 +0000 (0:00:00.038) 0:00:24.048 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:04 +0000 (0:00:00.040) 0:00:24.089 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:04 +0000 (0:00:00.040) 0:00:24.130 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:04 +0000 (0:00:00.027) 0:00:24.157 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:04 +0000 (0:00:00.021) 0:00:24.179 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:04 +0000 (0:00:00.020) 0:00:24.200 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:05 +0000 (0:00:01.570) 0:00:25.770 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:07 +0000 (0:00:01.538) 0:00:27.309 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.022) 0:00:27.332 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.021) 0:00:27.353 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.022) 0:00:27.375 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.079) 0:00:27.455 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.024) 0:00:27.479 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.051) 0:00:27.530 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.048) 0:00:27.579 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.356) 0:00:27.936 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.041) 0:00:27.977 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.032) 0:00:28.010 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:07 +0000 (0:00:00.048) 0:00:28.059 ****** 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, 6ad9c303-435a-497a-979e-ca12037e9b28 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.338) 0:00:28.397 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.025) 0:00:28.422 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6ad9c303-435a-497a-979e-ca12037e9b28 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.026) 0:00:28.449 ****** 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, 6ad9c303-435a-497a-979e-ca12037e9b28 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6ad9c303-435a-497a-979e-ca12037e9b28 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.049) 0:00:28.498 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.024) 0:00:28.523 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.194) 0:00:28.718 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.069) 0:00:28.787 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.037) 0:00:28.825 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705758423.5277004, "block_size": 4096, "blocks": 0, "ctime": 1705758423.5277004, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39090, "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": 1705758423.5277004, "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-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 20 January 2024 13:47:08 +0000 (0:00:00.208) 0:00:29.034 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.029) 0:00:29.064 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.041) 0:00:29.105 ****** 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-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.023) 0:00:29.129 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705758423.5796525, "block_size": 4096, "blocks": 8, "ctime": 1705758423.5256522, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6160872, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705758423.5256522, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.197) 0:00:29.326 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.022) 0:00:29.349 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020724", "end": "2024-01-20 13:47:09.478598", "rc": 0, "start": "2024-01-20 13:47:09.457874" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.221) 0:00:29.571 ****** 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-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.032) 0:00:29.603 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.035) 0:00:29.639 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.075) 0:00:29.714 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.050) 0:00:29.765 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.032) 0:00:29.797 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.034) 0:00:29.832 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.025) 0:00:29.857 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.024) 0:00:29.882 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.021) 0:00:29.903 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.021) 0:00:29.925 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:47:09 +0000 (0:00:00.053) 0:00:29.978 ****** 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.062392", "end": "2024-01-20 13:47:10.153090", "rc": 1, "start": "2024-01-20 13:47:10.090698" } STDOUT: Connection 'statebr' (6ad9c303-435a-497a-979e-ca12037e9b28) 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-ciit4iowef/tests/playbooks/tests_states.yml:83 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.264) 0:00:30.242 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.036) 0:00:30.279 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.021) 0:00:30.301 ****** 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-ciit4iowef/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.043) 0:00:30.344 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.061) 0:00:30.406 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.036) 0:00:30.443 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003508", "end": "2024-01-20 13:47:10.556297", "rc": 0, "start": "2024-01-20 13:47:10.552789" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.204) 0:00:30.647 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.026) 0:00:30.673 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.023) 0:00:30.696 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.041) 0:00:30.738 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.039) 0:00:30.777 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.043) 0:00:30.820 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.037) 0:00:30.858 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.034) 0:00:30.892 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:10 +0000 (0:00:00.031) 0:00:30.923 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:12 +0000 (0:00:01.590) 0:00:32.514 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:14 +0000 (0:00:01.555) 0:00:34.070 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.030) 0:00:34.100 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.030) 0:00:34.130 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.054) 0:00:34.185 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.057) 0:00:34.242 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.031) 0:00:34.274 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.023) 0:00:34.297 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.029) 0:00:34.327 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.348) 0:00:34.675 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.027) 0:00:34.703 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.027) 0:00:34.730 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:14 +0000 (0:00:00.022) 0:00:34.752 ****** 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, 1c749f06-ddc7-420a-83b5-23a0d9769afa TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:15 +0000 (0:00:00.381) 0:00:35.134 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:15 +0000 (0:00:00.022) 0:00:35.156 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c749f06-ddc7-420a-83b5-23a0d9769afa" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:15 +0000 (0:00:00.026) 0:00:35.182 ****** 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, 1c749f06-ddc7-420a-83b5-23a0d9769afa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c749f06-ddc7-420a-83b5-23a0d9769afa" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:15 +0000 (0:00:00.032) 0:00:35.214 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:15 +0000 (0:00:00.022) 0:00:35.237 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:47:15 +0000 (0:00:00.191) 0:00:35.428 ****** 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, 1c749f06-ddc7-420a-83b5-23a0d9769afa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1c749f06-ddc7-420a-83b5-23a0d9769afa" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:47:15 +0000 (0:00:00.023) 0:00:35.452 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:15 +0000 (0:00:00.035) 0:00:35.488 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:15 +0000 (0:00:00.041) 0:00:35.529 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:15 +0000 (0:00:00.027) 0:00:35.557 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:15 +0000 (0:00:00.024) 0:00:35.581 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:15 +0000 (0:00:00.023) 0:00:35.605 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:17 +0000 (0:00:01.581) 0:00:37.186 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:18 +0000 (0:00:01.603) 0:00:38.789 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:18 +0000 (0:00:00.023) 0:00:38.812 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:18 +0000 (0:00:00.022) 0:00:38.835 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:18 +0000 (0:00:00.023) 0:00:38.858 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:18 +0000 (0:00:00.050) 0:00:38.908 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:18 +0000 (0:00:00.023) 0:00:38.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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:18 +0000 (0:00:00.023) 0:00:38.955 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:18 +0000 (0:00:00.026) 0:00:38.981 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.401) 0:00:39.383 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.029) 0:00:39.413 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.025) 0:00:39.438 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.024) 0:00:39.463 ****** 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, 1c749f06-ddc7-420a-83b5-23a0d9769afa skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.421) 0:00:39.884 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.026) 0:00:39.911 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1c749f06-ddc7-420a-83b5-23a0d9769afa skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.055) 0:00:39.966 ****** 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, 1c749f06-ddc7-420a-83b5-23a0d9769afa skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1c749f06-ddc7-420a-83b5-23a0d9769afa skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.036) 0:00:40.003 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:19 +0000 (0:00:00.026) 0:00:40.029 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:47:20 +0000 (0:00:00.198) 0:00:40.228 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove_profile.yml:3 Saturday 20 January 2024 13:47:20 +0000 (0:00:00.039) 0:00:40.268 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:20 +0000 (0:00:00.040) 0:00:40.308 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:20 +0000 (0:00:00.063) 0:00:40.372 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:20 +0000 (0:00:00.028) 0:00:40.401 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:20 +0000 (0:00:00.024) 0:00:40.425 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:20 +0000 (0:00:00.024) 0:00:40.449 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:21 +0000 (0:00:01.571) 0:00:42.020 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:23 +0000 (0:00:01.583) 0:00:43.604 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:23 +0000 (0:00:00.041) 0:00:43.645 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:23 +0000 (0:00:00.031) 0:00:43.677 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:23 +0000 (0:00:00.035) 0:00:43.712 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:23 +0000 (0:00:00.102) 0:00:43.815 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:23 +0000 (0:00:00.043) 0:00:43.859 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:23 +0000 (0:00:00.046) 0:00:43.906 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:23 +0000 (0:00:00.035) 0:00:43.941 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.374) 0:00:44.316 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.032) 0:00:44.348 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.025) 0:00:44.374 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.033) 0:00:44.407 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.403) 0:00:44.810 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.122) 0:00:44.933 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.028) 0:00:44.962 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.032) 0:00:44.994 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:24 +0000 (0:00:00.050) 0:00:45.044 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.227) 0:00:45.272 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.059) 0:00:45.332 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.040) 0:00:45.373 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705758434.9953363, "block_size": 4096, "blocks": 0, "ctime": 1705758434.9953363, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39221, "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": 1705758434.9953363, "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-ciit4iowef/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.254) 0:00:45.627 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.032) 0:00:45.659 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.047) 0:00:45.707 ****** 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-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.025) 0:00:45.732 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.202) 0:00:45.935 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:47:25 +0000 (0:00:00.029) 0:00:45.964 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020864", "end": "2024-01-20 13:47:26.103362", "rc": 1, "start": "2024-01-20 13:47:26.082498" } 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-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.230) 0:00:46.195 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.042) 0:00:46.238 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.031) 0:00:46.270 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.028) 0:00:46.298 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.029) 0:00:46.328 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.034) 0:00:46.363 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.036) 0:00:46.399 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.036) 0:00:46.435 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.030) 0:00:46.466 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.041) 0:00:46.507 ****** 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.075611", "end": "2024-01-20 13:47:26.696900", "rc": 1, "start": "2024-01-20 13:47:26.621289" } STDOUT: Connection 'statebr' (1c749f06-ddc7-420a-83b5-23a0d9769afa) 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-ciit4iowef/tests/playbooks/tests_states.yml:103 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.282) 0:00:46.789 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.038) 0:00:46.827 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.021) 0:00:46.849 ****** 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-ciit4iowef/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.097) 0:00:46.946 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:47:26 +0000 (0:00:00.054) 0:00:47.001 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.078) 0:00:47.079 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003379", "end": "2024-01-20 13:47:27.201751", "rc": 0, "start": "2024-01-20 13:47:27.198372" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.213) 0:00:47.292 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.025) 0:00:47.318 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.022) 0:00:47.341 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.048) 0:00:47.389 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.037) 0:00:47.427 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.041) 0:00:47.469 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.026) 0:00:47.496 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.046) 0:00:47.542 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:27 +0000 (0:00:00.022) 0:00:47.564 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:29 +0000 (0:00:01.572) 0:00:49.136 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:30 +0000 (0:00:01.584) 0:00:50.721 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.033) 0:00:50.754 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.034) 0:00:50.789 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.040) 0:00:50.829 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.057) 0:00:50.887 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.026) 0:00:50.914 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.023) 0:00:50.937 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:30 +0000 (0:00:00.026) 0:00:50.963 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.354) 0:00:51.318 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.039) 0:00:51.357 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.041) 0:00:51.399 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.041) 0:00:51.441 ****** 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, 646d28c2-7722-476b-8a29-6905d087d21a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.415) 0:00:51.856 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.036) 0:00:51.892 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 646d28c2-7722-476b-8a29-6905d087d21a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.040) 0:00:51.933 ****** 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, 646d28c2-7722-476b-8a29-6905d087d21a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 646d28c2-7722-476b-8a29-6905d087d21a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.067) 0:00:52.001 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:31 +0000 (0:00:00.025) 0:00:52.026 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:47:32 +0000 (0:00:00.202) 0:00:52.229 ****** 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, 646d28c2-7722-476b-8a29-6905d087d21a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 646d28c2-7722-476b-8a29-6905d087d21a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:47:32 +0000 (0:00:00.043) 0:00:52.272 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:32 +0000 (0:00:00.044) 0:00:52.317 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:32 +0000 (0:00:00.044) 0:00:52.361 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:32 +0000 (0:00:00.031) 0:00:52.393 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:32 +0000 (0:00:00.056) 0:00:52.449 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:32 +0000 (0:00:00.034) 0:00:52.484 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:33 +0000 (0:00:01.558) 0:00:54.042 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:35 +0000 (0:00:01.542) 0:00:55.584 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:35 +0000 (0:00:00.022) 0:00:55.607 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:35 +0000 (0:00:00.021) 0:00:55.629 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:35 +0000 (0:00:00.021) 0:00:55.650 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:35 +0000 (0:00:00.046) 0:00:55.696 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:35 +0000 (0:00:00.024) 0:00:55.721 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:35 +0000 (0:00:00.060) 0:00:55.781 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:35 +0000 (0:00:00.070) 0:00:55.851 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.351) 0:00:56.202 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.030) 0:00:56.233 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.023) 0:00:56.257 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.023) 0:00:56.281 ****** 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, 646d28c2-7722-476b-8a29-6905d087d21a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.374) 0:00:56.655 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.024) 0:00:56.680 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 646d28c2-7722-476b-8a29-6905d087d21a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.025) 0:00:56.705 ****** 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, 646d28c2-7722-476b-8a29-6905d087d21a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 646d28c2-7722-476b-8a29-6905d087d21a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.024) 0:00:56.730 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.029) 0:00:56.759 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove_profile.yml:3 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.211) 0:00:56.970 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:36 +0000 (0:00:00.036) 0:00:57.007 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.071) 0:00:57.079 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.029) 0:00:57.108 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.023) 0:00:57.132 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:37 +0000 (0:00:00.023) 0:00:57.156 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:38 +0000 (0:00:01.624) 0:00:58.780 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:40 +0000 (0:00:01.558) 0:01:00.339 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:40 +0000 (0:00:00.022) 0:01:00.362 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:40 +0000 (0:00:00.021) 0:01:00.383 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:40 +0000 (0:00:00.022) 0:01:00.406 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:40 +0000 (0:00:00.044) 0:01:00.450 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:40 +0000 (0:00:00.028) 0:01:00.479 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:40 +0000 (0:00:00.038) 0:01:00.517 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:40 +0000 (0:00:00.036) 0:01:00.554 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:40 +0000 (0:00:00.357) 0:01:00.912 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:40 +0000 (0:00:00.028) 0:01:00.940 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:40 +0000 (0:00:00.024) 0:01:00.964 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:40 +0000 (0:00:00.022) 0:01:00.987 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.448) 0:01:01.435 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.022) 0:01:01.458 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.033) 0:01:01.492 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.025) 0:01:01.517 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.023) 0:01:01.541 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.208) 0:01:01.749 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.055) 0:01:01.805 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.043) 0:01:01.849 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.080) 0:01:01.930 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.032) 0:01:01.962 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.040) 0:01:02.003 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:41 +0000 (0:00:00.034) 0:01:02.037 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:43 +0000 (0:00:01.574) 0:01:03.611 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:45 +0000 (0:00:01.584) 0:01:05.196 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:45 +0000 (0:00:00.022) 0:01:05.218 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:45 +0000 (0:00:00.021) 0:01:05.240 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:45 +0000 (0:00:00.023) 0:01:05.263 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:45 +0000 (0:00:00.044) 0:01:05.308 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:45 +0000 (0:00:00.059) 0:01:05.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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:45 +0000 (0:00:00.025) 0:01:05.394 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:45 +0000 (0:00:00.027) 0:01:05.422 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:45 +0000 (0:00:00.386) 0:01:05.808 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:45 +0000 (0:00:00.046) 0:01:05.855 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:45 +0000 (0:00:00.027) 0:01:05.882 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:45 +0000 (0:00:00.030) 0:01:05.912 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.412) 0:01:06.325 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.025) 0:01:06.351 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.038) 0:01:06.390 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.038) 0:01:06.429 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.047) 0:01:06.476 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.240) 0:01:06.717 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.111) 0:01:06.828 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.129) 0:01:06.958 ****** 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-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:47:46 +0000 (0:00:00.028) 0:01:06.986 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.242) 0:01:07.229 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.023) 0:01:07.252 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019573", "end": "2024-01-20 13:47:47.385772", "rc": 1, "start": "2024-01-20 13:47:47.366199" } 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-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.224) 0:01:07.477 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.025) 0:01:07.503 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.032) 0:01:07.536 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.026) 0:01:07.562 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.024) 0:01:07.587 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.028) 0:01:07.616 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.026) 0:01:07.642 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.053) 0:01:07.696 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.083) 0:01:07.779 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:47:47 +0000 (0:00:00.243) 0:01:08.023 ****** 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-ciit4iowef/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.039) 0:01:08.063 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.027) 0:01:08.091 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.059) 0:01:08.150 ****** 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.041710", "end": "2024-01-20 13:47:48.329227", "rc": 1, "start": "2024-01-20 13:47:48.287517" } 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-ciit4iowef/tests/playbooks/tests_states.yml:126 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.304) 0:01:08.454 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/playbooks/tasks/run_test.yml:5 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.042) 0:01:08.497 ****** 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-ciit4iowef/tests/playbooks/tasks/run_test.yml:9 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.038) 0:01:08.535 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:21 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.047) 0:01:08.583 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.058) 0:01:08.641 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.049) 0:01:08.691 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003420", "end": "2024-01-20 13:47:48.808190", "rc": 0, "start": "2024-01-20 13:47:48.804770" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.235) 0:01:08.926 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.024) 0:01:08.951 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:24 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.024) 0:01:08.975 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 20 January 2024 13:47:48 +0000 (0:00:00.046) 0:01:09.022 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.040) 0:01:09.062 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.049) 0:01:09.112 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.042) 0:01:09.154 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.049) 0:01:09.203 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:49 +0000 (0:00:00.029) 0:01:09.232 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:50 +0000 (0:00:01.570) 0:01:10.802 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:52 +0000 (0:00:01.553) 0:01:12.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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:52 +0000 (0:00:00.025) 0:01:12.381 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:52 +0000 (0:00:00.027) 0:01:12.408 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:52 +0000 (0:00:00.023) 0:01:12.432 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:52 +0000 (0:00:00.048) 0:01:12.481 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:52 +0000 (0:00:00.024) 0:01:12.505 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:52 +0000 (0:00:00.021) 0:01:12.527 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:52 +0000 (0:00:00.025) 0:01:12.552 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:52 +0000 (0:00:00.348) 0:01:12.901 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:52 +0000 (0:00:00.028) 0:01:12.930 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:52 +0000 (0:00:00.025) 0:01:12.955 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:52 +0000 (0:00:00.023) 0:01:12.979 ****** 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, e2df7e9c-b3f2-4f5b-bcc7-1c044e597e74 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.392) 0:01:13.372 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.023) 0:01:13.395 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e2df7e9c-b3f2-4f5b-bcc7-1c044e597e74" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.024) 0:01:13.420 ****** 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, e2df7e9c-b3f2-4f5b-bcc7-1c044e597e74\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e2df7e9c-b3f2-4f5b-bcc7-1c044e597e74" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.024) 0:01:13.445 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.024) 0:01:13.469 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.218) 0:01:13.688 ****** 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, e2df7e9c-b3f2-4f5b-bcc7-1c044e597e74\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e2df7e9c-b3f2-4f5b-bcc7-1c044e597e74" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/activate_profile.yml:3 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.029) 0:01:13.718 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.041) 0:01:13.759 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.074) 0:01:13.833 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.028) 0:01:13.861 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.023) 0:01:13.885 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:53 +0000 (0:00:00.022) 0:01:13.907 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:47:55 +0000 (0:00:01.568) 0:01:15.476 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:47:56 +0000 (0:00:01.543) 0:01:17.019 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:47:56 +0000 (0:00:00.024) 0:01:17.044 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:47:57 +0000 (0:00:00.023) 0:01:17.067 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:47:57 +0000 (0:00:00.026) 0:01:17.094 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:47:57 +0000 (0:00:00.046) 0:01:17.140 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:47:57 +0000 (0:00:00.022) 0:01:17.163 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:47:57 +0000 (0:00:00.023) 0:01:17.186 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:47:57 +0000 (0:00:00.027) 0:01:17.213 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:47:57 +0000 (0:00:00.347) 0:01:17.561 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:47:57 +0000 (0:00:00.027) 0:01:17.588 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:47:57 +0000 (0:00:00.023) 0:01:17.612 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:47:57 +0000 (0:00:00.025) 0:01:17.638 ****** 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, e2df7e9c-b3f2-4f5b-bcc7-1c044e597e74 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:47:57 +0000 (0:00:00.406) 0:01:18.044 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.034) 0:01:18.079 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e2df7e9c-b3f2-4f5b-bcc7-1c044e597e74 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.033) 0:01:18.112 ****** 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, e2df7e9c-b3f2-4f5b-bcc7-1c044e597e74 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e2df7e9c-b3f2-4f5b-bcc7-1c044e597e74 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.024) 0:01:18.137 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.023) 0:01:18.161 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.196) 0:01:18.357 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.048) 0:01:18.406 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.043) 0:01:18.450 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.029) 0:01:18.480 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.026) 0:01:18.506 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:47:58 +0000 (0:00:00.040) 0:01:18.547 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:48:00 +0000 (0:00:01.578) 0:01:20.126 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:48:01 +0000 (0:00:01.557) 0:01:21.683 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:48:01 +0000 (0:00:00.034) 0:01:21.718 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:48:01 +0000 (0:00:00.023) 0:01:21.741 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:48:01 +0000 (0:00:00.024) 0:01:21.765 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:48:01 +0000 (0:00:00.112) 0:01:21.878 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:48:01 +0000 (0:00:00.023) 0:01:21.901 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:48:01 +0000 (0:00:00.059) 0:01:21.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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:48:01 +0000 (0:00:00.028) 0:01:21.989 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:48:02 +0000 (0:00:00.377) 0:01:22.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:48:02 +0000 (0:00:00.028) 0:01:22.395 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:48:02 +0000 (0:00:00.023) 0:01:22.419 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:48:02 +0000 (0:00:00.025) 0:01:22.444 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:48:02 +0000 (0:00:00.402) 0:01:22.847 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:48:02 +0000 (0:00:00.023) 0:01:22.870 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:48:02 +0000 (0:00:00.024) 0:01:22.894 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:48:02 +0000 (0:00:00.033) 0:01:22.927 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:48:02 +0000 (0:00:00.034) 0:01:22.962 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:30 Saturday 20 January 2024 13:48:03 +0000 (0:00:00.241) 0:01:23.204 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 20 January 2024 13:48:03 +0000 (0:00:00.048) 0:01:23.252 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 20 January 2024 13:48:03 +0000 (0:00:00.038) 0:01:23.291 ****** included: /WORKDIR/git-weekly-ciit4iowef/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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 20 January 2024 13:48:03 +0000 (0:00:00.042) 0:01:23.334 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 20 January 2024 13:48:03 +0000 (0:00:00.028) 0:01:23.362 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 20 January 2024 13:48:03 +0000 (0:00:00.021) 0:01:23.384 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 20 January 2024 13:48:03 +0000 (0:00:00.023) 0:01:23.407 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 20 January 2024 13:48:04 +0000 (0:00:01.592) 0:01:24.999 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 20 January 2024 13:48:06 +0000 (0:00:01.577) 0:01:26.577 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 20 January 2024 13:48:06 +0000 (0:00:00.024) 0:01:26.601 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 20 January 2024 13:48:06 +0000 (0:00:00.023) 0:01:26.625 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 20 January 2024 13:48:06 +0000 (0:00:00.022) 0:01:26.647 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 20 January 2024 13:48:06 +0000 (0:00:00.044) 0:01:26.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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 20 January 2024 13:48:06 +0000 (0:00:00.023) 0:01:26.716 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 20 January 2024 13:48:06 +0000 (0:00:00.022) 0:01:26.738 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 20 January 2024 13:48:06 +0000 (0:00:00.030) 0:01:26.769 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 20 January 2024 13:48:07 +0000 (0:00:00.386) 0:01:27.155 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 20 January 2024 13:48:07 +0000 (0:00:00.029) 0:01:27.185 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 20 January 2024 13:48:07 +0000 (0:00:00.026) 0:01:27.211 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 20 January 2024 13:48:07 +0000 (0:00:00.030) 0:01:27.242 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 20 January 2024 13:48:07 +0000 (0:00:00.362) 0:01:27.604 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 20 January 2024 13:48:07 +0000 (0:00:00.032) 0:01:27.637 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 20 January 2024 13:48:07 +0000 (0:00:00.046) 0:01:27.683 ****** 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-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 20 January 2024 13:48:07 +0000 (0:00:00.032) 0:01:27.716 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 20 January 2024 13:48:07 +0000 (0:00:00.031) 0:01:27.748 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:36 Saturday 20 January 2024 13:48:07 +0000 (0:00:00.195) 0:01:27.943 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 20 January 2024 13:48:07 +0000 (0:00:00.055) 0:01:27.998 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 20 January 2024 13:48:07 +0000 (0:00:00.042) 0:01:28.041 ****** 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-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 20 January 2024 13:48:08 +0000 (0:00:00.024) 0:01:28.066 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 20 January 2024 13:48:08 +0000 (0:00:00.261) 0:01:28.328 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 20 January 2024 13:48:08 +0000 (0:00:00.052) 0:01:28.381 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019451", "end": "2024-01-20 13:48:08.522574", "rc": 1, "start": "2024-01-20 13:48:08.503123" } 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-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 20 January 2024 13:48:08 +0000 (0:00:00.232) 0:01:28.613 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 20 January 2024 13:48:08 +0000 (0:00:00.023) 0:01:28.637 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 20 January 2024 13:48:08 +0000 (0:00:00.023) 0:01:28.660 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 20 January 2024 13:48:08 +0000 (0:00:00.022) 0:01:28.683 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 20 January 2024 13:48:08 +0000 (0:00:00.022) 0:01:28.705 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 20 January 2024 13:48:08 +0000 (0:00:00.025) 0:01:28.730 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 20 January 2024 13:48:08 +0000 (0:00:00.027) 0:01:28.757 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:01.177831", "end": "2024-01-20 13:48:10.070426", "rc": 0, "start": "2024-01-20 13:48:08.892595" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 20 January 2024 13:48:10 +0000 (0:00:01.404) 0:01:30.162 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.023) 0:01:30.185 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/run_test.yml:42 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.022) 0:01:30.207 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.071) 0:01:30.279 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.043) 0:01:30.322 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.226) 0:01:30.549 ****** 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-ciit4iowef/tests/playbooks/tasks/run_test.yml:47 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.025) 0:01:30.574 ****** 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-ciit4iowef/tests/playbooks/tasks/run_test.yml:66 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.022) 0:01:30.596 ****** included: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciit4iowef/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.041) 0:01:30.638 ****** 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.041049", "end": "2024-01-20 13:48:10.789413", "rc": 1, "start": "2024-01-20 13:48:10.748364" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=321 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Saturday 20 January 2024 13:48:10 +0000 (0:00:00.229) 0:01:30.867 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.16s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.02s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.81s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.76s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.62s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.60s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.58s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.58s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.58s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.58s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.58s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-weekly-ciit4iowef/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf 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. [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. ---^---^---^---^---^---