# 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-cia_yxeanj/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tests_states_nm.yml:6 Saturday 13 January 2024 13:38:27 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tests_states_nm.yml:9 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.770) 0:00:00.782 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/tasks/el_repo_setup.yml:3 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.023) 0:00:00.806 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/el_repo_setup.yml:19 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.353) 0:00:01.159 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/el_repo_setup.yml:24 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.278) 0:00:01.438 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/el_repo_setup.yml:28 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.021) 0:00:01.460 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/el_repo_setup.yml:53 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.019) 0:00:01.479 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/enable_epel.yml:8 Saturday 13 January 2024 13:38:28 +0000 (0:00:00.035) 0:00:01.515 ****** 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-cia_yxeanj/tests/tasks/enable_epel.yml:24 Saturday 13 January 2024 13:38:29 +0000 (0:00:00.259) 0:00:01.775 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/enable_epel.yml:30 Saturday 13 January 2024 13:38:29 +0000 (0:00:00.014) 0:00:01.790 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/enable_epel.yml:35 Saturday 13 January 2024 13:38:29 +0000 (0:00:00.014) 0:00:01.804 ****** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.267631", "end": "2024-01-13 13:38:29.716444", "rc": 0, "start": "2024-01-13 13:38:29.448813" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tasks/enable_epel.yml:40 Saturday 13 January 2024 13:38:29 +0000 (0:00:00.465) 0:00:02.270 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/tests_states_nm.yml:11 Saturday 13 January 2024 13:38:29 +0000 (0:00:00.009) 0:00:02.280 ****** 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-cia_yxeanj/tests/playbooks/tests_states.yml:3 Saturday 13 January 2024 13:38:29 +0000 (0:00:00.011) 0:00:02.291 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tests_states.yml:11 Saturday 13 January 2024 13:38:30 +0000 (0:00:00.629) 0:00:02.921 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tests_states.yml:22 Saturday 13 January 2024 13:38:30 +0000 (0:00:00.014) 0:00:02.935 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:38:30 +0000 (0:00:00.015) 0:00:02.951 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:38:30 +0000 (0:00:00.011) 0:00:02.962 ****** 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-cia_yxeanj/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:38:30 +0000 (0:00:00.036) 0:00:02.998 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:38:30 +0000 (0:00:00.014) 0:00:03.013 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:38:30 +0000 (0:00:00.017) 0:00:03.030 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003813", "end": "2024-01-13 13:38:30.682863", "rc": 0, "start": "2024-01-13 13:38:30.679050" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:38:30 +0000 (0:00:00.206) 0:00:03.236 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:38:30 +0000 (0:00:00.015) 0:00:03.251 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:38:30 +0000 (0:00:00.011) 0:00:03.263 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 13:38:30 +0000 (0:00:00.023) 0:00:03.286 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009469", "end": "2024-01-13 13:38:30.940876", "rc": 1, "start": "2024-01-13 13:38:30.931407" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:38:30 +0000 (0:00:00.219) 0:00:03.505 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.029) 0:00:03.535 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.250) 0:00:03.785 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.020) 0:00:03.806 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.047) 0:00:03.853 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.063) 0:00:03.917 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.078) 0:00:03.995 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.022) 0:00:04.018 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.038) 0:00:04.057 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:31 +0000 (0:00:00.042) 0:00:04.100 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:33 +0000 (0:00:01.884) 0:00:05.984 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:35 +0000 (0:00:01.699) 0:00:07.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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:35 +0000 (0:00:00.045) 0:00:07.729 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:35 +0000 (0:00:00.037) 0:00:07.767 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:35 +0000 (0:00:00.024) 0:00:07.792 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:35 +0000 (0:00:00.059) 0:00:07.852 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:35 +0000 (0:00:00.052) 0:00:07.904 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:35 +0000 (0:00:00.035) 0:00:07.940 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:35 +0000 (0:00:00.043) 0:00:07.984 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.585) 0:00:08.569 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.033) 0:00:08.603 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.024) 0:00:08.628 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.024) 0:00:08.652 ****** 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, 45e2f2c7-f7e0-43ec-a04a-db89f15e08cd TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.732) 0:00:09.384 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.041) 0:00:09.426 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 45e2f2c7-f7e0-43ec-a04a-db89f15e08cd" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.060) 0:00:09.486 ****** 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, 45e2f2c7-f7e0-43ec-a04a-db89f15e08cd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 45e2f2c7-f7e0-43ec-a04a-db89f15e08cd" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:36 +0000 (0:00:00.033) 0:00:09.520 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:37 +0000 (0:00:00.033) 0:00:09.554 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:38:37 +0000 (0:00:00.281) 0:00:09.835 ****** 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, 45e2f2c7-f7e0-43ec-a04a-db89f15e08cd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 45e2f2c7-f7e0-43ec-a04a-db89f15e08cd" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:38:37 +0000 (0:00:00.035) 0:00:09.871 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:38:37 +0000 (0:00:00.050) 0:00:09.922 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:38:37 +0000 (0:00:00.048) 0:00:09.970 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:38:37 +0000 (0:00:00.035) 0:00:10.005 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153116.6875818, "block_size": 4096, "blocks": 8, "ctime": 1705153116.6865819, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991248, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153116.6865819, "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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:38:37 +0000 (0:00:00.223) 0:00:10.228 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:38:37 +0000 (0:00:00.028) 0:00:10.257 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025303", "end": "2024-01-13 13:38:37.924423", "rc": 0, "start": "2024-01-13 13:38:37.899120" } 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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:38:37 +0000 (0:00:00.236) 0:00:10.493 ****** 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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.065) 0:00:10.558 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.028) 0:00:10.587 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.051) 0:00:10.639 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.040) 0:00:10.679 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.039) 0:00:10.719 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.032) 0:00:10.751 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.041) 0:00:10.793 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.031) 0:00:10.824 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.071) 0:00:10.896 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.039) 0:00:10.935 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153116.689556, "block_size": 4096, "blocks": 0, "ctime": 1705153116.689556, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39075, "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": 1705153116.689556, "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-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.209) 0:00:11.145 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.031) 0:00:11.176 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.031) 0:00:11.207 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:38:38 +0000 (0:00:00.118) 0:00:11.326 ****** 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.068383", "end": "2024-01-13 13:38:39.050721", "rc": 1, "start": "2024-01-13 13:38:38.982338" } STDOUT: Connection 'statebr' (45e2f2c7-f7e0-43ec-a04a-db89f15e08cd) 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-cia_yxeanj/tests/playbooks/tests_states.yml:45 Saturday 13 January 2024 13:38:39 +0000 (0:00:00.303) 0:00:11.629 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:38:39 +0000 (0:00:00.039) 0:00:11.668 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:38:39 +0000 (0:00:00.026) 0:00:11.695 ****** 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-cia_yxeanj/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:38:39 +0000 (0:00:00.045) 0:00:11.741 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:38:39 +0000 (0:00:00.039) 0:00:11.780 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:38:39 +0000 (0:00:00.045) 0:00:11.826 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004268", "end": "2024-01-13 13:38:39.473546", "rc": 0, "start": "2024-01-13 13:38:39.469278" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:38:39 +0000 (0:00:00.213) 0:00:12.039 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:38:39 +0000 (0:00:00.024) 0:00:12.064 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:38:39 +0000 (0:00:00.034) 0:00:12.098 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/delete_interface.yml:3 Saturday 13 January 2024 13:38:39 +0000 (0:00:00.052) 0:00:12.151 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006785", "end": "2024-01-13 13:38:39.803366", "rc": 1, "start": "2024-01-13 13:38:39.796581" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:38:39 +0000 (0:00:00.218) 0:00:12.369 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:38:39 +0000 (0:00:00.039) 0:00:12.409 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:38:40 +0000 (0:00:00.226) 0:00:12.635 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:38:40 +0000 (0:00:00.041) 0:00:12.677 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 13 January 2024 13:38:40 +0000 (0:00:00.046) 0:00:12.724 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:40 +0000 (0:00:00.042) 0:00:12.766 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:40 +0000 (0:00:00.040) 0:00:12.807 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:40 +0000 (0:00:00.027) 0:00:12.835 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:40 +0000 (0:00:00.027) 0:00:12.862 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:40 +0000 (0:00:00.023) 0:00:12.885 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:42 +0000 (0:00:01.678) 0:00:14.563 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:43 +0000 (0:00:01.365) 0:00:15.929 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.024) 0:00:15.953 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.053) 0:00:16.007 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.028) 0:00:16.035 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.080) 0:00:16.116 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.033) 0:00:16.149 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.040) 0:00:16.190 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:43 +0000 (0:00:00.034) 0:00:16.225 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.376) 0:00:16.601 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.038) 0:00:16.640 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.047) 0:00:16.688 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.042) 0:00:16.730 ****** 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, 563b1eb0-70b0-4ac7-aca3-176bec9f3cb0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.383) 0:00:17.114 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.053) 0:00:17.168 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 563b1eb0-70b0-4ac7-aca3-176bec9f3cb0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.043) 0:00:17.212 ****** 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, 563b1eb0-70b0-4ac7-aca3-176bec9f3cb0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 563b1eb0-70b0-4ac7-aca3-176bec9f3cb0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.037) 0:00:17.249 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:44 +0000 (0:00:00.027) 0:00:17.276 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.269) 0:00:17.545 ****** 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, 563b1eb0-70b0-4ac7-aca3-176bec9f3cb0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 563b1eb0-70b0-4ac7-aca3-176bec9f3cb0" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.025) 0:00:17.571 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.048) 0:00:17.619 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.044) 0:00:17.664 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.212) 0:00:17.877 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.025) 0:00:17.902 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.048) 0:00:17.950 ****** 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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.037) 0:00:17.988 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153124.5263703, "block_size": 4096, "blocks": 8, "ctime": 1705153124.5263703, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991248, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153124.5263703, "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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.282) 0:00:18.271 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:38:45 +0000 (0:00:00.042) 0:00:18.313 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024044", "end": "2024-01-13 13:38:45.983215", "rc": 0, "start": "2024-01-13 13:38:45.959171" } 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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.238) 0:00:18.551 ****** 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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.074) 0:00:18.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.037) 0:00:18.663 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.040) 0:00:18.703 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.054) 0:00:18.757 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.034) 0:00:18.792 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.037) 0:00:18.829 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.032) 0:00:18.862 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.024) 0:00:18.887 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.025) 0:00:18.912 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.029) 0:00:18.956 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.075) 0:00:19.032 ****** 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.048246", "end": "2024-01-13 13:38:46.746721", "rc": 1, "start": "2024-01-13 13:38:46.698475" } STDOUT: Connection 'statebr' (563b1eb0-70b0-4ac7-aca3-176bec9f3cb0) 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-cia_yxeanj/tests/playbooks/tests_states.yml:65 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.287) 0:00:19.320 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.061) 0:00:19.381 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:38:46 +0000 (0:00:00.057) 0:00:19.439 ****** 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-cia_yxeanj/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:38:47 +0000 (0:00:00.144) 0:00:19.583 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:38:47 +0000 (0:00:00.039) 0:00:19.622 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:38:47 +0000 (0:00:00.038) 0:00:19.660 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003788", "end": "2024-01-13 13:38:47.315996", "rc": 0, "start": "2024-01-13 13:38:47.312208" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:38:47 +0000 (0:00:00.221) 0:00:19.882 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:38:47 +0000 (0:00:00.023) 0:00:19.906 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:38:47 +0000 (0:00:00.042) 0:00:19.949 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:38:47 +0000 (0:00:00.083) 0:00:20.032 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:47 +0000 (0:00:00.081) 0:00:20.113 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:47 +0000 (0:00:00.084) 0:00:20.197 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:47 +0000 (0:00:00.056) 0:00:20.254 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:47 +0000 (0:00:00.097) 0:00:20.351 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:47 +0000 (0:00:00.089) 0:00:20.441 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:49 +0000 (0:00:01.697) 0:00:22.138 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:50 +0000 (0:00:01.346) 0:00:23.485 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:50 +0000 (0:00:00.029) 0:00:23.514 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.024) 0:00:23.538 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.032) 0:00:23.571 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.092) 0:00:23.663 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.046) 0:00:23.710 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.023) 0:00:23.733 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.029) 0:00:23.763 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.387) 0:00:24.150 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.036) 0:00:24.186 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.026) 0:00:24.213 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:51 +0000 (0:00:00.034) 0:00:24.248 ****** 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, 7eb6509e-b8b3-4da9-bee1-394c2e98d942 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:52 +0000 (0:00:00.425) 0:00:24.674 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:52 +0000 (0:00:00.024) 0:00:24.698 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7eb6509e-b8b3-4da9-bee1-394c2e98d942" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:52 +0000 (0:00:00.024) 0:00:24.723 ****** 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, 7eb6509e-b8b3-4da9-bee1-394c2e98d942\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7eb6509e-b8b3-4da9-bee1-394c2e98d942" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:52 +0000 (0:00:00.024) 0:00:24.747 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:52 +0000 (0:00:00.023) 0:00:24.770 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:38:52 +0000 (0:00:00.257) 0:00:25.028 ****** 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, 7eb6509e-b8b3-4da9-bee1-394c2e98d942\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7eb6509e-b8b3-4da9-bee1-394c2e98d942" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:38:52 +0000 (0:00:00.033) 0:00:25.062 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:38:52 +0000 (0:00:00.054) 0:00:25.116 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:38:52 +0000 (0:00:00.071) 0:00:25.188 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:38:52 +0000 (0:00:00.080) 0:00:25.268 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:38:52 +0000 (0:00:00.048) 0:00:25.317 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:38:52 +0000 (0:00:00.030) 0:00:25.347 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:38:52 +0000 (0:00:00.030) 0:00:25.378 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:38:54 +0000 (0:00:01.717) 0:00:27.095 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:38:56 +0000 (0:00:01.466) 0:00:28.561 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.040) 0:00:28.602 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.035) 0:00:28.638 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.041) 0:00:28.680 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.069) 0:00:28.749 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.033) 0:00:28.782 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.072) 0:00:28.854 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.056) 0:00:28.911 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.436) 0:00:29.347 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.028) 0:00:29.375 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.023) 0:00:29.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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:38:56 +0000 (0:00:00.068) 0:00:29.468 ****** 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, 7eb6509e-b8b3-4da9-bee1-394c2e98d942 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:38:57 +0000 (0:00:00.394) 0:00:29.862 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:38:57 +0000 (0:00:00.030) 0:00:29.892 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7eb6509e-b8b3-4da9-bee1-394c2e98d942 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:38:57 +0000 (0:00:00.038) 0:00:29.930 ****** 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, 7eb6509e-b8b3-4da9-bee1-394c2e98d942 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7eb6509e-b8b3-4da9-bee1-394c2e98d942 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:38:57 +0000 (0:00:00.042) 0:00:29.973 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:38:57 +0000 (0:00:00.027) 0:00:30.001 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:38:57 +0000 (0:00:00.230) 0:00:30.231 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 13:38:57 +0000 (0:00:00.047) 0:00:30.279 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:38:57 +0000 (0:00:00.050) 0:00:30.330 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153132.0390909, "block_size": 4096, "blocks": 0, "ctime": 1705153132.0390909, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39206, "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": 1705153132.0390909, "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-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.214) 0:00:30.545 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.025) 0:00:30.570 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.081) 0:00:30.652 ****** 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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.038) 0:00:30.690 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153132.0881662, "block_size": 4096, "blocks": 8, "ctime": 1705153132.0371675, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5991248, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1705153132.0371675, "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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.207) 0:00:30.897 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.033) 0:00:30.931 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.025196", "end": "2024-01-13 13:38:58.601266", "rc": 0, "start": "2024-01-13 13:38:58.576070" } 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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.252) 0:00:31.183 ****** 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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.027) 0:00:31.211 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.037) 0:00:31.248 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.028) 0:00:31.277 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.031) 0:00:31.308 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.033) 0:00:31.341 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.027) 0:00:31.369 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.032) 0:00:31.401 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.044) 0:00:31.446 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.047) 0:00:31.494 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:38:58 +0000 (0:00:00.034) 0:00:31.528 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.099) 0:00:31.627 ****** 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.076232", "end": "2024-01-13 13:38:59.352813", "rc": 1, "start": "2024-01-13 13:38:59.276581" } STDOUT: Connection 'statebr' (7eb6509e-b8b3-4da9-bee1-394c2e98d942) 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-cia_yxeanj/tests/playbooks/tests_states.yml:83 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.311) 0:00:31.939 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.048) 0:00:31.987 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.046) 0:00:32.033 ****** 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-cia_yxeanj/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.079) 0:00:32.112 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.071) 0:00:32.184 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.046) 0:00:32.231 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003898", "end": "2024-01-13 13:38:59.900236", "rc": 0, "start": "2024-01-13 13:38:59.896338" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.239) 0:00:32.470 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:38:59 +0000 (0:00:00.035) 0:00:32.505 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:39:00 +0000 (0:00:00.040) 0:00:32.546 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:39:00 +0000 (0:00:00.048) 0:00:32.595 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:00 +0000 (0:00:00.087) 0:00:32.682 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:00 +0000 (0:00:00.046) 0:00:32.728 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:00 +0000 (0:00:00.031) 0:00:32.760 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:00 +0000 (0:00:00.024) 0:00:32.785 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:00 +0000 (0:00:00.038) 0:00:32.823 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:02 +0000 (0:00:01.725) 0:00:34.549 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:03 +0000 (0:00:01.450) 0:00:36.000 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:03 +0000 (0:00:00.036) 0:00:36.037 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:03 +0000 (0:00:00.024) 0:00:36.062 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:03 +0000 (0:00:00.030) 0:00:36.092 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:03 +0000 (0:00:00.056) 0:00:36.148 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:03 +0000 (0:00:00.031) 0:00:36.180 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:03 +0000 (0:00:00.024) 0:00:36.204 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:03 +0000 (0:00:00.026) 0:00:36.230 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.361) 0:00:36.591 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.028) 0:00:36.619 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.024) 0:00:36.644 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.053) 0:00:36.697 ****** 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, a680c0dd-3720-44a5-ba3b-13274af3fe67 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.414) 0:00:37.112 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.025) 0:00:37.137 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a680c0dd-3720-44a5-ba3b-13274af3fe67" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.025) 0:00:37.162 ****** 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, a680c0dd-3720-44a5-ba3b-13274af3fe67\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a680c0dd-3720-44a5-ba3b-13274af3fe67" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.025) 0:00:37.188 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.023) 0:00:37.211 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.248) 0:00:37.460 ****** 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, a680c0dd-3720-44a5-ba3b-13274af3fe67\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a680c0dd-3720-44a5-ba3b-13274af3fe67" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:39:04 +0000 (0:00:00.065) 0:00:37.525 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:05 +0000 (0:00:00.077) 0:00:37.603 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:05 +0000 (0:00:00.061) 0:00:37.664 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:05 +0000 (0:00:00.042) 0:00:37.707 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:05 +0000 (0:00:00.041) 0:00:37.749 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:05 +0000 (0:00:00.035) 0:00:37.784 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:06 +0000 (0:00:01.722) 0:00:39.506 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:08 +0000 (0:00:01.357) 0:00:40.864 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:08 +0000 (0:00:00.024) 0:00:40.888 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:08 +0000 (0:00:00.077) 0:00:40.966 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:08 +0000 (0:00:00.034) 0:00:41.001 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:08 +0000 (0:00:00.068) 0:00:41.069 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:08 +0000 (0:00:00.030) 0:00:41.100 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:08 +0000 (0:00:00.023) 0:00:41.123 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:08 +0000 (0:00:00.039) 0:00:41.163 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:08 +0000 (0:00:00.370) 0:00:41.533 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:09 +0000 (0:00:00.028) 0:00:41.561 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:09 +0000 (0:00:00.024) 0:00:41.586 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:09 +0000 (0:00:00.023) 0:00:41.610 ****** 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, a680c0dd-3720-44a5-ba3b-13274af3fe67 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:09 +0000 (0:00:00.377) 0:00:41.987 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:09 +0000 (0:00:00.024) 0:00:42.011 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a680c0dd-3720-44a5-ba3b-13274af3fe67 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:09 +0000 (0:00:00.038) 0:00:42.049 ****** 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, a680c0dd-3720-44a5-ba3b-13274af3fe67 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a680c0dd-3720-44a5-ba3b-13274af3fe67 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:09 +0000 (0:00:00.025) 0:00:42.075 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:09 +0000 (0:00:00.090) 0:00:42.165 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:39:09 +0000 (0:00:00.209) 0:00:42.375 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 13:39:09 +0000 (0:00:00.085) 0:00:42.460 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:09 +0000 (0:00:00.060) 0:00:42.521 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:10 +0000 (0:00:00.050) 0:00:42.571 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:10 +0000 (0:00:00.041) 0:00:42.613 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:10 +0000 (0:00:00.031) 0:00:42.644 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:10 +0000 (0:00:00.031) 0:00:42.676 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:11 +0000 (0:00:01.687) 0:00:44.363 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:13 +0000 (0:00:01.352) 0:00:45.715 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:13 +0000 (0:00:00.024) 0:00:45.740 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:13 +0000 (0:00:00.025) 0:00:45.765 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:13 +0000 (0:00:00.025) 0:00:45.791 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:13 +0000 (0:00:00.047) 0:00:45.838 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:13 +0000 (0:00:00.028) 0:00:45.866 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:13 +0000 (0:00:00.022) 0:00:45.889 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:13 +0000 (0:00:00.050) 0:00:45.939 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:13 +0000 (0:00:00.364) 0:00:46.304 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:13 +0000 (0:00:00.026) 0:00:46.330 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:13 +0000 (0:00:00.022) 0:00:46.352 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:13 +0000 (0:00:00.021) 0:00:46.374 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:14 +0000 (0:00:00.403) 0:00:46.778 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:14 +0000 (0:00:00.023) 0:00:46.801 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:14 +0000 (0:00:00.024) 0:00:46.826 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:14 +0000 (0:00:00.024) 0:00:46.850 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:14 +0000 (0:00:00.022) 0:00:46.873 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:39:14 +0000 (0:00:00.203) 0:00:47.077 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 13 January 2024 13:39:14 +0000 (0:00:00.045) 0:00:47.123 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:39:14 +0000 (0:00:00.067) 0:00:47.190 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1705153144.4883919, "block_size": 4096, "blocks": 0, "ctime": 1705153144.4883919, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 39337, "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": 1705153144.4883919, "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-cia_yxeanj/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 13 January 2024 13:39:14 +0000 (0:00:00.210) 0:00:47.400 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:39:14 +0000 (0:00:00.024) 0:00:47.425 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:39:14 +0000 (0:00:00.042) 0:00:47.467 ****** 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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:39:14 +0000 (0:00:00.023) 0:00:47.491 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.207) 0:00:47.699 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.022) 0:00:47.722 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024263", "end": "2024-01-13 13:39:15.387750", "rc": 1, "start": "2024-01-13 13:39:15.363487" } 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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.231) 0:00:47.953 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.026) 0:00:47.980 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.024) 0:00:48.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.024) 0:00:48.029 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.024) 0:00:48.054 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.057) 0:00:48.112 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.025) 0:00:48.137 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.023) 0:00:48.161 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.024) 0:00:48.185 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.043) 0:00:48.228 ****** 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.085674", "end": "2024-01-13 13:39:15.956124", "rc": 1, "start": "2024-01-13 13:39:15.870450" } STDOUT: Connection 'statebr' (a680c0dd-3720-44a5-ba3b-13274af3fe67) 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-cia_yxeanj/tests/playbooks/tests_states.yml:103 Saturday 13 January 2024 13:39:15 +0000 (0:00:00.292) 0:00:48.521 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.055) 0:00:48.577 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.025) 0:00:48.603 ****** 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-cia_yxeanj/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.051) 0:00:48.654 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.039) 0:00:48.694 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.060) 0:00:48.755 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003769", "end": "2024-01-13 13:39:16.404055", "rc": 0, "start": "2024-01-13 13:39:16.400286" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.269) 0:00:49.024 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.027) 0:00:49.051 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.035) 0:00:49.087 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.054) 0:00:49.142 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.039) 0:00:49.181 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.042) 0:00:49.224 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.039) 0:00:49.263 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.032) 0:00:49.295 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:16 +0000 (0:00:00.022) 0:00:49.318 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:18 +0000 (0:00:01.686) 0:00:51.004 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:19 +0000 (0:00:01.380) 0:00:52.385 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:19 +0000 (0:00:00.024) 0:00:52.410 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:19 +0000 (0:00:00.033) 0:00:52.444 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:19 +0000 (0:00:00.025) 0:00:52.469 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:19 +0000 (0:00:00.047) 0:00:52.516 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.023) 0:00:52.540 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.023) 0:00:52.563 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.026) 0:00:52.589 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.367) 0:00:52.957 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.025) 0:00:52.982 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.021) 0:00:53.004 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.021) 0:00:53.026 ****** 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, 4fa1821c-9093-4dfc-a4d6-ad8d814bfda7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.423) 0:00:53.450 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.024) 0:00:53.474 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4fa1821c-9093-4dfc-a4d6-ad8d814bfda7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.028) 0:00:53.503 ****** 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, 4fa1821c-9093-4dfc-a4d6-ad8d814bfda7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4fa1821c-9093-4dfc-a4d6-ad8d814bfda7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:20 +0000 (0:00:00.025) 0:00:53.529 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:21 +0000 (0:00:00.042) 0:00:53.571 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:39:21 +0000 (0:00:00.209) 0:00:53.780 ****** 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, 4fa1821c-9093-4dfc-a4d6-ad8d814bfda7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4fa1821c-9093-4dfc-a4d6-ad8d814bfda7" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:39:21 +0000 (0:00:00.035) 0:00:53.815 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:21 +0000 (0:00:00.039) 0:00:53.855 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:21 +0000 (0:00:00.067) 0:00:53.923 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:21 +0000 (0:00:00.028) 0:00:53.951 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:21 +0000 (0:00:00.021) 0:00:53.972 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:21 +0000 (0:00:00.021) 0:00:53.993 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:23 +0000 (0:00:01.675) 0:00:55.669 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:24 +0000 (0:00:01.374) 0:00:57.043 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:24 +0000 (0:00:00.025) 0:00:57.069 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:24 +0000 (0:00:00.021) 0:00:57.090 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:24 +0000 (0:00:00.024) 0:00:57.114 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:24 +0000 (0:00:00.043) 0:00:57.158 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:24 +0000 (0:00:00.021) 0:00:57.179 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:24 +0000 (0:00:00.021) 0:00:57.201 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:24 +0000 (0:00:00.024) 0:00:57.226 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.360) 0:00:57.586 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.028) 0:00:57.614 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.021) 0:00:57.636 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.022) 0:00:57.658 ****** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "state": "up" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4fa1821c-9093-4dfc-a4d6-ad8d814bfda7 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.465) 0:00:58.124 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.025) 0:00:58.149 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4fa1821c-9093-4dfc-a4d6-ad8d814bfda7 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.047) 0:00:58.197 ****** 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, 4fa1821c-9093-4dfc-a4d6-ad8d814bfda7 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4fa1821c-9093-4dfc-a4d6-ad8d814bfda7 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.029) 0:00:58.226 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.033) 0:00:58.260 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove_profile.yml:3 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.214) 0:00:58.474 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:25 +0000 (0:00:00.044) 0:00:58.519 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:26 +0000 (0:00:00.044) 0:00:58.563 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:26 +0000 (0:00:00.029) 0:00:58.593 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:26 +0000 (0:00:00.025) 0:00:58.619 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:26 +0000 (0:00:00.031) 0:00:58.650 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:27 +0000 (0:00:01.677) 0:01:00.328 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:29 +0000 (0:00:01.358) 0:01:01.687 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.044) 0:01:01.732 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.023) 0:01:01.755 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.023) 0:01:01.779 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.044) 0:01:01.824 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.053) 0:01:01.878 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.023) 0:01:01.902 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.026) 0:01:01.928 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.371) 0:01:02.300 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.025) 0:01:02.325 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.021) 0:01:02.347 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:29 +0000 (0:00:00.021) 0:01:02.369 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:30 +0000 (0:00:00.391) 0:01:02.760 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:30 +0000 (0:00:00.026) 0:01:02.787 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:30 +0000 (0:00:00.029) 0:01:02.817 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:30 +0000 (0:00:00.023) 0:01:02.841 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:30 +0000 (0:00:00.021) 0:01:02.863 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:39:30 +0000 (0:00:00.215) 0:01:03.078 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:39:30 +0000 (0:00:00.091) 0:01:03.170 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:30 +0000 (0:00:00.043) 0:01:03.213 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:30 +0000 (0:00:00.045) 0:01:03.258 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:30 +0000 (0:00:00.028) 0:01:03.287 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:30 +0000 (0:00:00.029) 0:01:03.316 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:30 +0000 (0:00:00.027) 0:01:03.343 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:32 +0000 (0:00:01.711) 0:01:05.055 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:33 +0000 (0:00:01.414) 0:01:06.469 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:33 +0000 (0:00:00.023) 0:01:06.493 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:33 +0000 (0:00:00.038) 0:01:06.532 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:34 +0000 (0:00:00.030) 0:01:06.562 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:34 +0000 (0:00:00.062) 0:01:06.624 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:34 +0000 (0:00:00.023) 0:01:06.648 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:34 +0000 (0:00:00.022) 0:01:06.671 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:34 +0000 (0:00:00.025) 0:01:06.696 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:34 +0000 (0:00:00.359) 0:01:07.055 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:34 +0000 (0:00:00.053) 0:01:07.109 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:34 +0000 (0:00:00.025) 0:01:07.134 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:34 +0000 (0:00:00.034) 0:01:07.168 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:35 +0000 (0:00:00.439) 0:01:07.607 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:35 +0000 (0:00:00.022) 0:01:07.630 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:35 +0000 (0:00:00.023) 0:01:07.654 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:35 +0000 (0:00:00.025) 0:01:07.680 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:35 +0000 (0:00:00.024) 0:01:07.705 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:39:35 +0000 (0:00:00.235) 0:01:07.940 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:39:35 +0000 (0:00:00.052) 0:01:07.993 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:39:35 +0000 (0:00:00.055) 0:01:08.049 ****** 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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:39:35 +0000 (0:00:00.032) 0:01:08.081 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:39:35 +0000 (0:00:00.245) 0:01:08.326 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:39:35 +0000 (0:00:00.025) 0:01:08.352 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023287", "end": "2024-01-13 13:39:36.019166", "rc": 1, "start": "2024-01-13 13:39:35.995879" } 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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.231) 0:01:08.584 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.025) 0:01:08.609 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.022) 0:01:08.632 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.028) 0:01:08.660 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.025) 0:01:08.686 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.025) 0:01:08.712 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.026) 0:01:08.738 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.044) 0:01:08.783 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.041) 0:01:08.824 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.221) 0:01:09.045 ****** 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-cia_yxeanj/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.025) 0:01:09.070 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.063) 0:01:09.134 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.090) 0:01:09.224 ****** 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.048801", "end": "2024-01-13 13:39:36.929787", "rc": 1, "start": "2024-01-13 13:39:36.880986" } 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-cia_yxeanj/tests/playbooks/tests_states.yml:126 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.269) 0:01:09.494 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/playbooks/tasks/run_test.yml:5 Saturday 13 January 2024 13:39:36 +0000 (0:00:00.039) 0:01:09.534 ****** 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-cia_yxeanj/tests/playbooks/tasks/run_test.yml:9 Saturday 13 January 2024 13:39:37 +0000 (0:00:00.024) 0:01:09.558 ****** 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-cia_yxeanj/tests/playbooks/tasks/run_test.yml:21 Saturday 13 January 2024 13:39:37 +0000 (0:00:00.043) 0:01:09.602 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 13 January 2024 13:39:37 +0000 (0:00:00.037) 0:01:09.639 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 13 January 2024 13:39:37 +0000 (0:00:00.036) 0:01:09.676 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003872", "end": "2024-01-13 13:39:37.324080", "rc": 0, "start": "2024-01-13 13:39:37.320208" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 13 January 2024 13:39:37 +0000 (0:00:00.213) 0:01:09.889 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 13 January 2024 13:39:37 +0000 (0:00:00.023) 0:01:09.913 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:24 Saturday 13 January 2024 13:39:37 +0000 (0:00:00.054) 0:01:09.968 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 13 January 2024 13:39:37 +0000 (0:00:00.046) 0:01:10.014 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:37 +0000 (0:00:00.040) 0:01:10.055 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:37 +0000 (0:00:00.044) 0:01:10.099 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:37 +0000 (0:00:00.031) 0:01:10.130 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:37 +0000 (0:00:00.022) 0:01:10.153 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:37 +0000 (0:00:00.026) 0:01:10.180 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:39 +0000 (0:00:01.675) 0:01:11.855 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:40 +0000 (0:00:01.423) 0:01:13.278 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:40 +0000 (0:00:00.026) 0:01:13.304 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:40 +0000 (0:00:00.024) 0:01:13.329 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:40 +0000 (0:00:00.029) 0:01:13.358 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:40 +0000 (0:00:00.058) 0:01:13.416 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:40 +0000 (0:00:00.037) 0:01:13.454 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:40 +0000 (0:00:00.023) 0:01:13.477 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:40 +0000 (0:00:00.029) 0:01:13.506 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:41 +0000 (0:00:00.396) 0:01:13.903 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:41 +0000 (0:00:00.027) 0:01:13.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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:41 +0000 (0:00:00.021) 0:01:13.952 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:41 +0000 (0:00:00.023) 0:01:13.976 ****** 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, 844a40b1-d947-46fa-8e7d-701010d1f089 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:41 +0000 (0:00:00.417) 0:01:14.393 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:41 +0000 (0:00:00.023) 0:01:14.417 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 844a40b1-d947-46fa-8e7d-701010d1f089" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:41 +0000 (0:00:00.026) 0:01:14.443 ****** 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, 844a40b1-d947-46fa-8e7d-701010d1f089\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 844a40b1-d947-46fa-8e7d-701010d1f089" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:41 +0000 (0:00:00.024) 0:01:14.467 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:41 +0000 (0:00:00.023) 0:01:14.491 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 13 January 2024 13:39:42 +0000 (0:00:00.205) 0:01:14.696 ****** 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, 844a40b1-d947-46fa-8e7d-701010d1f089\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 844a40b1-d947-46fa-8e7d-701010d1f089" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/activate_profile.yml:3 Saturday 13 January 2024 13:39:42 +0000 (0:00:00.024) 0:01:14.720 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:42 +0000 (0:00:00.038) 0:01:14.759 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:42 +0000 (0:00:00.109) 0:01:14.869 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:42 +0000 (0:00:00.030) 0:01:14.899 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:42 +0000 (0:00:00.027) 0:01:14.927 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:42 +0000 (0:00:00.025) 0:01:14.952 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:44 +0000 (0:00:01.702) 0:01:16.655 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:45 +0000 (0:00:01.402) 0:01:18.057 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:45 +0000 (0:00:00.028) 0:01:18.085 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:45 +0000 (0:00:00.026) 0:01:18.112 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:45 +0000 (0:00:00.051) 0:01:18.163 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:45 +0000 (0:00:00.058) 0:01:18.222 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:45 +0000 (0:00:00.024) 0:01:18.246 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:45 +0000 (0:00:00.030) 0:01:18.277 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:45 +0000 (0:00:00.028) 0:01:18.305 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:46 +0000 (0:00:00.376) 0:01:18.682 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:46 +0000 (0:00:00.031) 0:01:18.714 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:46 +0000 (0:00:00.024) 0:01:18.738 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:46 +0000 (0:00:00.045) 0:01:18.783 ****** 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, 844a40b1-d947-46fa-8e7d-701010d1f089 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:46 +0000 (0:00:00.470) 0:01:19.254 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:46 +0000 (0:00:00.022) 0:01:19.276 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 844a40b1-d947-46fa-8e7d-701010d1f089 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:46 +0000 (0:00:00.024) 0:01:19.301 ****** 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, 844a40b1-d947-46fa-8e7d-701010d1f089 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 844a40b1-d947-46fa-8e7d-701010d1f089 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:46 +0000 (0:00:00.025) 0:01:19.326 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:46 +0000 (0:00:00.023) 0:01:19.350 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:39:47 +0000 (0:00:00.214) 0:01:19.564 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:47 +0000 (0:00:00.045) 0:01:19.610 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:47 +0000 (0:00:00.057) 0:01:19.667 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:47 +0000 (0:00:00.064) 0:01:19.732 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:47 +0000 (0:00:00.039) 0:01:19.772 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:47 +0000 (0:00:00.027) 0:01:19.799 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:48 +0000 (0:00:01.678) 0:01:21.478 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:50 +0000 (0:00:01.368) 0:01:22.847 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:50 +0000 (0:00:00.024) 0:01:22.872 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:50 +0000 (0:00:00.025) 0:01:22.897 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:50 +0000 (0:00:00.030) 0:01:22.928 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:50 +0000 (0:00:00.048) 0:01:22.977 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:50 +0000 (0:00:00.049) 0:01:23.026 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:50 +0000 (0:00:00.023) 0:01:23.049 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:50 +0000 (0:00:00.030) 0:01:23.080 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:50 +0000 (0:00:00.371) 0:01:23.451 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:50 +0000 (0:00:00.028) 0:01:23.480 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:50 +0000 (0:00:00.025) 0:01:23.505 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:51 +0000 (0:00:00.050) 0:01:23.556 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:51 +0000 (0:00:00.463) 0:01:24.019 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:51 +0000 (0:00:00.023) 0:01:24.042 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:51 +0000 (0:00:00.023) 0:01:24.066 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:51 +0000 (0:00:00.031) 0:01:24.098 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:51 +0000 (0:00:00.027) 0:01:24.126 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:30 Saturday 13 January 2024 13:39:51 +0000 (0:00:00.214) 0:01:24.340 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 13 January 2024 13:39:51 +0000 (0:00:00.080) 0:01:24.421 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 13 January 2024 13:39:51 +0000 (0:00:00.042) 0:01:24.463 ****** included: /WORKDIR/git-weekly-cia_yxeanj/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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 13 January 2024 13:39:51 +0000 (0:00:00.046) 0:01:24.510 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 13 January 2024 13:39:52 +0000 (0:00:00.036) 0:01:24.546 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 13 January 2024 13:39:52 +0000 (0:00:00.040) 0:01:24.587 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 13 January 2024 13:39:52 +0000 (0:00:00.032) 0:01:24.619 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 13 January 2024 13:39:53 +0000 (0:00:01.683) 0:01:26.303 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 13 January 2024 13:39:55 +0000 (0:00:01.412) 0:01:27.715 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 13 January 2024 13:39:55 +0000 (0:00:00.038) 0:01:27.753 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 13 January 2024 13:39:55 +0000 (0:00:00.039) 0:01:27.793 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 13 January 2024 13:39:55 +0000 (0:00:00.039) 0:01:27.833 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 13 January 2024 13:39:55 +0000 (0:00:00.177) 0:01:28.010 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 13 January 2024 13:39:55 +0000 (0:00:00.041) 0:01:28.052 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 13 January 2024 13:39:55 +0000 (0:00:00.025) 0:01:28.077 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 13 January 2024 13:39:55 +0000 (0:00:00.035) 0:01:28.113 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 13 January 2024 13:39:55 +0000 (0:00:00.400) 0:01:28.514 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 13 January 2024 13:39:56 +0000 (0:00:00.040) 0:01:28.554 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 13 January 2024 13:39:56 +0000 (0:00:00.028) 0:01:28.582 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 13 January 2024 13:39:56 +0000 (0:00:00.029) 0:01:28.611 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 13 January 2024 13:39:56 +0000 (0:00:00.433) 0:01:29.045 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 13 January 2024 13:39:56 +0000 (0:00:00.039) 0:01:29.085 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 13 January 2024 13:39:56 +0000 (0:00:00.029) 0:01:29.115 ****** 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-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 13 January 2024 13:39:56 +0000 (0:00:00.025) 0:01:29.140 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 13 January 2024 13:39:56 +0000 (0:00:00.048) 0:01:29.189 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:36 Saturday 13 January 2024 13:39:56 +0000 (0:00:00.237) 0:01:29.426 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 13 January 2024 13:39:56 +0000 (0:00:00.059) 0:01:29.486 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 13 January 2024 13:39:56 +0000 (0:00:00.043) 0:01:29.530 ****** 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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 13 January 2024 13:39:57 +0000 (0:00:00.064) 0:01:29.594 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 13 January 2024 13:39:57 +0000 (0:00:00.226) 0:01:29.821 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 13 January 2024 13:39:57 +0000 (0:00:00.044) 0:01:29.865 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023431", "end": "2024-01-13 13:39:57.577573", "rc": 1, "start": "2024-01-13 13:39:57.554142" } 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-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 13 January 2024 13:39:57 +0000 (0:00:00.297) 0:01:30.162 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 13 January 2024 13:39:57 +0000 (0:00:00.057) 0:01:30.220 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 13 January 2024 13:39:57 +0000 (0:00:00.065) 0:01:30.286 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 13 January 2024 13:39:57 +0000 (0:00:00.029) 0:01:30.315 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 13 January 2024 13:39:57 +0000 (0:00:00.025) 0:01:30.340 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 13 January 2024 13:39:57 +0000 (0:00:00.023) 0:01:30.364 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 13 January 2024 13:39:57 +0000 (0:00:00.040) 0:01:30.404 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.973169", "end": "2024-01-13 13:39:59.047957", "rc": 0, "start": "2024-01-13 13:39:58.074788" } STDOUT: NetworkManager-1.40.16-11.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 13 January 2024 13:39:59 +0000 (0:00:01.209) 0:01:31.614 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 13 January 2024 13:39:59 +0000 (0:00:00.049) 0:01:31.664 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-11.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/run_test.yml:42 Saturday 13 January 2024 13:39:59 +0000 (0:00:00.022) 0:01:31.686 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 13 January 2024 13:39:59 +0000 (0:00:00.045) 0:01:31.732 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 13 January 2024 13:39:59 +0000 (0:00:00.050) 0:01:31.782 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 13 January 2024 13:39:59 +0000 (0:00:00.230) 0:01:32.013 ****** 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-cia_yxeanj/tests/playbooks/tasks/run_test.yml:47 Saturday 13 January 2024 13:39:59 +0000 (0:00:00.034) 0:01:32.047 ****** 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-cia_yxeanj/tests/playbooks/tasks/run_test.yml:66 Saturday 13 January 2024 13:39:59 +0000 (0:00:00.053) 0:01:32.100 ****** included: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cia_yxeanj/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 13 January 2024 13:39:59 +0000 (0:00:00.044) 0:01:32.145 ****** 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.048821", "end": "2024-01-13 13:39:59.836703", "rc": 1, "start": "2024-01-13 13:39:59.787882" } 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 13 January 2024 13:39:59 +0000 (0:00:00.253) 0:01:32.399 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.41s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.10s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.88s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.71s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.71s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.70s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.68s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.54s /WORKDIR/git-weekly-cia_yxeanj/tests/roles/linux-system-roles.network/tasks/main.yml:85 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---