# 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-wifi_fixaca24nup/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/tests_states_nm.yml:5 Thursday 21 December 2023 23:55:56 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/tests_states_nm.yml:9 Thursday 21 December 2023 23:55:57 +0000 (0:00:00.917) 0:00:00.928 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/tasks/el_repo_setup.yml:3 Thursday 21 December 2023 23:55:57 +0000 (0:00:00.022) 0:00:00.950 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/tasks/el_repo_setup.yml:19 Thursday 21 December 2023 23:55:58 +0000 (0:00:00.505) 0:00:01.456 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/tasks/el_repo_setup.yml:24 Thursday 21 December 2023 23:55:58 +0000 (0:00:00.249) 0:00:01.705 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/tasks/el_repo_setup.yml:28 Thursday 21 December 2023 23:55:58 +0000 (0:00:00.019) 0:00:01.725 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/tasks/el_repo_setup.yml:53 Thursday 21 December 2023 23:55:58 +0000 (0:00:00.017) 0:00:01.742 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/tasks/enable_epel.yml:8 Thursday 21 December 2023 23:55:58 +0000 (0:00:00.030) 0:00:01.773 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/tasks/enable_epel.yml:24 Thursday 21 December 2023 23:55:58 +0000 (0:00:00.008) 0:00:01.782 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/tasks/enable_epel.yml:30 Thursday 21 December 2023 23:55:58 +0000 (0:00:00.008) 0:00:01.790 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/tasks/enable_epel.yml:35 Thursday 21 December 2023 23:55:58 +0000 (0:00:00.008) 0:00:01.798 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/tasks/enable_epel.yml:40 Thursday 21 December 2023 23:55:58 +0000 (0:00:00.008) 0:00:01.806 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/tests_states_nm.yml:11 Thursday 21 December 2023 23:55:58 +0000 (0:00:00.008) 0:00:01.814 ***** 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-wifi_fixaca24nup/tests/playbooks/tests_states.yml:3 Thursday 21 December 2023 23:55:58 +0000 (0:00:00.009) 0:00:01.824 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tests_states.yml:11 Thursday 21 December 2023 23:55:59 +0000 (0:00:00.787) 0:00:02.611 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tests_states.yml:22 Thursday 21 December 2023 23:55:59 +0000 (0:00:00.010) 0:00:02.622 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 23:55:59 +0000 (0:00:00.015) 0:00:02.637 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 23:55:59 +0000 (0:00:00.010) 0:00:02.648 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 23:55:59 +0000 (0:00:00.031) 0:00:02.679 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:55:59 +0000 (0:00:00.013) 0:00:02.692 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:55:59 +0000 (0:00:00.012) 0:00:02.705 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004787", "end": "2023-12-21 23:56:00.681264", "rc": 0, "start": "2023-12-21 23:55:59.676477" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:56:00 +0000 (0:00:01.268) 0:00:03.974 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:56:00 +0000 (0:00:00.011) 0:00:03.985 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 23:56:00 +0000 (0:00:00.010) 0:00:03.996 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 23:56:00 +0000 (0:00:00.020) 0:00:04.017 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007830", "end": "2023-12-21 23:56:00.929437", "rc": 1, "start": "2023-12-21 23:56:00.921607" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 23:56:00 +0000 (0:00:00.203) 0:00:04.220 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 23:56:00 +0000 (0:00:00.014) 0:00:04.235 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 23:56:01 +0000 (0:00:00.195) 0:00:04.430 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 23:56:01 +0000 (0:00:00.011) 0:00:04.442 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 23:56:01 +0000 (0:00:00.017) 0:00:04.459 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:56:01 +0000 (0:00:00.031) 0:00:04.491 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:56:01 +0000 (0:00:00.066) 0:00:04.558 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:56:01 +0000 (0:00:00.011) 0:00:04.569 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:56:01 +0000 (0:00:00.009) 0:00:04.579 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:56:01 +0000 (0:00:00.009) 0:00:04.588 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:56:03 +0000 (0:00:02.278) 0:00:06.867 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:56:04 +0000 (0:00:01.039) 0:00:07.906 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:56:04 +0000 (0:00:00.023) 0:00:07.929 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:56:04 +0000 (0:00:00.021) 0:00:07.950 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:56:04 +0000 (0:00:00.021) 0:00:07.972 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:56:04 +0000 (0:00:00.043) 0:00:08.016 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:56:04 +0000 (0:00:00.021) 0:00:08.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:56:04 +0000 (0:00:00.021) 0:00:08.059 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:56:04 +0000 (0:00:00.024) 0:00:08.083 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:56:05 +0000 (0:00:00.719) 0:00:08.803 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:56:05 +0000 (0:00:00.026) 0:00:08.829 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:56:05 +0000 (0:00:00.021) 0:00:08.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:56:05 +0000 (0:00:00.020) 0:00:08.872 ***** 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, 2df34cf6-20e0-4257-ba34-e6e330b33fa7 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:56:06 +0000 (0:00:00.512) 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:56:06 +0000 (0:00:00.021) 0:00:09.406 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2df34cf6-20e0-4257-ba34-e6e330b33fa7" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:56:06 +0000 (0:00:00.022) 0:00:09.428 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2df34cf6-20e0-4257-ba34-e6e330b33fa7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2df34cf6-20e0-4257-ba34-e6e330b33fa7" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:56:06 +0000 (0:00:00.023) 0:00:09.451 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:56:06 +0000 (0:00:00.021) 0:00:09.473 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 23:56:06 +0000 (0:00:00.277) 0:00:09.750 ***** 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, 2df34cf6-20e0-4257-ba34-e6e330b33fa7\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2df34cf6-20e0-4257-ba34-e6e330b33fa7" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 23:56:06 +0000 (0:00:00.023) 0:00:09.773 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 23:56:06 +0000 (0:00:00.063) 0:00:09.836 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 23:56:06 +0000 (0:00:00.040) 0:00:09.877 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 23:56:06 +0000 (0:00:00.023) 0:00:09.900 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 23:56:06 +0000 (0:00:00.206) 0:00:10.107 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 23:56:06 +0000 (0:00:00.021) 0:00:10.128 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024016", "end": "2023-12-21 23:56:07.058443", "rc": 0, "start": "2023-12-21 23:56:07.034427" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.234) 0:00:10.362 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.023) 0:00:10.386 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.022) 0:00:10.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.022) 0:00:10.432 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.022) 0:00:10.454 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.023) 0:00:10.478 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.023) 0:00:10.501 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.023) 0:00:10.525 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.022) 0:00:10.547 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.066) 0:00:10.613 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.037) 0:00:10.650 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703202966.0350604, "block_size": 4096, "blocks": 0, "ctime": 1703202966.0350604, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33856, "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": 1703202966.0350604, "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-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.210) 0:00:10.861 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.025) 0:00:10.886 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.022) 0:00:10.908 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.042) 0:00:10.951 ***** 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.066145", "end": "2023-12-21 23:56:07.924606", "rc": 1, "start": "2023-12-21 23:56:07.858461" } STDOUT: Connection 'statebr' (2df34cf6-20e0-4257-ba34-e6e330b33fa7) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tests_states.yml:45 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.276) 0:00:11.227 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 23:56:07 +0000 (0:00:00.037) 0:00:11.265 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 23:56:08 +0000 (0:00:00.022) 0:00:11.287 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 23:56:08 +0000 (0:00:00.042) 0:00:11.330 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:56:08 +0000 (0:00:00.059) 0:00:11.389 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:56:08 +0000 (0:00:00.034) 0:00:11.424 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003658", "end": "2023-12-21 23:56:08.334368", "rc": 0, "start": "2023-12-21 23:56:08.330710" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:56:08 +0000 (0:00:00.214) 0:00:11.639 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:56:08 +0000 (0:00:00.022) 0:00:11.661 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 23:56:08 +0000 (0:00:00.022) 0:00:11.683 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/delete_interface.yml:3 Thursday 21 December 2023 23:56:08 +0000 (0:00:00.041) 0:00:11.725 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006464", "end": "2023-12-21 23:56:08.635340", "rc": 1, "start": "2023-12-21 23:56:08.628876" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 23:56:08 +0000 (0:00:00.213) 0:00:11.938 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 23:56:08 +0000 (0:00:00.037) 0:00:11.976 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 23:56:08 +0000 (0:00:00.208) 0:00:12.184 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 23:56:08 +0000 (0:00:00.023) 0:00:12.208 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Thursday 21 December 2023 23:56:09 +0000 (0:00:00.066) 0:00:12.274 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:56:09 +0000 (0:00:00.043) 0:00:12.318 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:56:09 +0000 (0:00:00.041) 0:00:12.359 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:56:09 +0000 (0:00:00.027) 0:00:12.386 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:56:09 +0000 (0:00:00.021) 0:00:12.407 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:56:09 +0000 (0:00:00.021) 0:00:12.429 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:56:11 +0000 (0:00:02.192) 0:00:14.621 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:56:12 +0000 (0:00:00.898) 0:00:15.520 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:56:12 +0000 (0:00:00.022) 0:00:15.542 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:56:12 +0000 (0:00:00.021) 0:00:15.564 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:56:12 +0000 (0:00:00.021) 0:00:15.586 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:56:12 +0000 (0:00:00.043) 0:00:15.630 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:56:12 +0000 (0:00:00.023) 0:00:15.653 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:56:12 +0000 (0:00:00.043) 0:00:15.697 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:56:12 +0000 (0:00:00.025) 0:00:15.722 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:56:13 +0000 (0:00:00.550) 0:00:16.272 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:56:13 +0000 (0:00:00.025) 0:00:16.298 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:56:13 +0000 (0:00:00.021) 0:00:16.319 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:56:13 +0000 (0:00:00.021) 0:00:16.341 ***** 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, a07f2d69-2e79-4aa9-ad9b-fc84e158ec15 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:56:13 +0000 (0:00:00.381) 0:00:16.722 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:56:13 +0000 (0:00:00.021) 0:00:16.743 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a07f2d69-2e79-4aa9-ad9b-fc84e158ec15" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:56:13 +0000 (0:00:00.022) 0:00:16.766 ***** 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, a07f2d69-2e79-4aa9-ad9b-fc84e158ec15\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a07f2d69-2e79-4aa9-ad9b-fc84e158ec15" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:56:13 +0000 (0:00:00.023) 0:00:16.789 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:56:13 +0000 (0:00:00.021) 0:00:16.811 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Thursday 21 December 2023 23:56:13 +0000 (0:00:00.202) 0:00:17.013 ***** 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, a07f2d69-2e79-4aa9-ad9b-fc84e158ec15\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a07f2d69-2e79-4aa9-ad9b-fc84e158ec15" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 23:56:13 +0000 (0:00:00.046) 0:00:17.060 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 23:56:13 +0000 (0:00:00.044) 0:00:17.104 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 23:56:13 +0000 (0:00:00.037) 0:00:17.142 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.205) 0:00:17.348 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.023) 0:00:17.371 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.038) 0:00:17.410 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.021) 0:00:17.432 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.207) 0:00:17.639 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.021) 0:00:17.660 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022631", "end": "2023-12-21 23:56:14.587780", "rc": 0, "start": "2023-12-21 23:56:14.565149" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.230) 0:00:17.891 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.024) 0:00:17.916 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.044) 0:00:17.961 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.022) 0:00:17.983 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.025) 0:00:18.009 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.022) 0:00:18.031 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.024) 0:00:18.056 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.026) 0:00:18.082 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.022) 0:00:18.104 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.020) 0:00:18.125 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.021) 0:00:18.146 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 23:56:14 +0000 (0:00:00.041) 0:00:18.188 ***** 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.045816", "end": "2023-12-21 23:56:15.139931", "rc": 1, "start": "2023-12-21 23:56:15.094115" } STDOUT: Connection 'statebr' (a07f2d69-2e79-4aa9-ad9b-fc84e158ec15) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tests_states.yml:65 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.254) 0:00:18.443 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.037) 0:00:18.481 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.022) 0:00:18.503 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.067) 0:00:18.571 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.037) 0:00:18.609 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.035) 0:00:18.644 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003659", "end": "2023-12-21 23:56:15.551356", "rc": 0, "start": "2023-12-21 23:56:15.547697" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.210) 0:00:18.855 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.024) 0:00:18.879 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.022) 0:00:18.902 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.041) 0:00:18.944 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.037) 0:00:18.981 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.041) 0:00:19.022 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.026) 0:00:19.049 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.045) 0:00:19.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:56:15 +0000 (0:00:00.023) 0:00:19.118 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:56:18 +0000 (0:00:02.189) 0:00:21.307 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:56:18 +0000 (0:00:00.916) 0:00:22.224 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:56:18 +0000 (0:00:00.025) 0:00:22.249 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:56:19 +0000 (0:00:00.023) 0:00:22.273 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:56:19 +0000 (0:00:00.022) 0:00:22.296 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:56:19 +0000 (0:00:00.047) 0:00:22.343 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:56:19 +0000 (0:00:00.022) 0:00:22.366 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:56:19 +0000 (0:00:00.021) 0:00:22.387 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:56:19 +0000 (0:00:00.026) 0:00:22.413 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:56:19 +0000 (0:00:00.548) 0:00:22.962 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:56:19 +0000 (0:00:00.028) 0:00:22.990 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:56:19 +0000 (0:00:00.022) 0:00:23.013 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:56:19 +0000 (0:00:00.022) 0:00:23.035 ***** 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, 7ab8c3b4-8e9d-4e4c-91a2-2bc384f7101f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:56:20 +0000 (0:00:00.472) 0:00:23.508 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:56:20 +0000 (0:00:00.023) 0:00:23.531 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ab8c3b4-8e9d-4e4c-91a2-2bc384f7101f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:56:20 +0000 (0:00:00.022) 0:00:23.554 ***** 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, 7ab8c3b4-8e9d-4e4c-91a2-2bc384f7101f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ab8c3b4-8e9d-4e4c-91a2-2bc384f7101f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:56:20 +0000 (0:00:00.023) 0:00:23.577 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:56:20 +0000 (0:00:00.021) 0:00:23.599 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 23:56:20 +0000 (0:00:00.202) 0:00:23.802 ***** 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, 7ab8c3b4-8e9d-4e4c-91a2-2bc384f7101f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7ab8c3b4-8e9d-4e4c-91a2-2bc384f7101f" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 23:56:20 +0000 (0:00:00.023) 0:00:23.826 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 23:56:20 +0000 (0:00:00.039) 0:00:23.865 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:56:20 +0000 (0:00:00.041) 0:00:23.906 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:56:20 +0000 (0:00:00.041) 0:00:23.948 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:56:20 +0000 (0:00:00.026) 0:00:23.975 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:56:20 +0000 (0:00:00.021) 0:00:23.996 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:56:20 +0000 (0:00:00.045) 0:00:24.042 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:56:22 +0000 (0:00:02.175) 0:00:26.217 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:56:23 +0000 (0:00:00.900) 0:00:27.118 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:56:23 +0000 (0:00:00.039) 0:00:27.157 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:56:23 +0000 (0:00:00.022) 0:00:27.180 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:56:23 +0000 (0:00:00.021) 0:00:27.201 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:56:23 +0000 (0:00:00.043) 0:00:27.244 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:56:23 +0000 (0:00:00.021) 0:00:27.266 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:56:24 +0000 (0:00:00.021) 0:00:27.288 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:56:24 +0000 (0:00:00.024) 0:00:27.312 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:56:24 +0000 (0:00:00.552) 0:00:27.865 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:56:24 +0000 (0:00:00.026) 0:00:27.891 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:56:24 +0000 (0:00:00.021) 0:00:27.913 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:56:24 +0000 (0:00:00.021) 0:00:27.934 ***** 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, 7ab8c3b4-8e9d-4e4c-91a2-2bc384f7101f skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:56:25 +0000 (0:00:00.363) 0:00:28.297 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:56:25 +0000 (0:00:00.051) 0:00:28.348 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ab8c3b4-8e9d-4e4c-91a2-2bc384f7101f skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:56:25 +0000 (0:00:00.024) 0:00:28.373 ***** 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, 7ab8c3b4-8e9d-4e4c-91a2-2bc384f7101f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7ab8c3b4-8e9d-4e4c-91a2-2bc384f7101f skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:56:25 +0000 (0:00:00.024) 0:00:28.398 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:56:25 +0000 (0:00:00.023) 0:00:28.422 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 23:56:25 +0000 (0:00:00.202) 0:00:28.624 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 23:56:25 +0000 (0:00:00.044) 0:00:28.669 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 23:56:25 +0000 (0:00:00.037) 0:00:28.706 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703202980.1225526, "block_size": 4096, "blocks": 0, "ctime": 1703202980.1225526, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33987, "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": 1703202980.1225526, "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-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 23:56:25 +0000 (0:00:00.209) 0:00:28.916 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml:3 Thursday 21 December 2023 23:56:25 +0000 (0:00:00.025) 0:00:28.941 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 23:56:25 +0000 (0:00:00.038) 0:00:28.979 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 23:56:25 +0000 (0:00:00.023) 0:00:29.002 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 23:56:25 +0000 (0:00:00.232) 0:00:29.235 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 23:56:25 +0000 (0:00:00.023) 0:00:29.258 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023635", "end": "2023-12-21 23:56:26.186299", "rc": 0, "start": "2023-12-21 23:56:26.162664" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.232) 0:00:29.491 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.025) 0:00:29.516 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.023) 0:00:29.539 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.023) 0:00:29.563 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.022) 0:00:29.585 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml:5 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.022) 0:00:29.608 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml:10 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.024) 0:00:29.633 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_present.yml:15 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.023) 0:00:29.657 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.022) 0:00:29.679 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.021) 0:00:29.701 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.021) 0:00:29.723 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.040) 0:00:29.764 ***** 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.135235", "end": "2023-12-21 23:56:26.803458", "rc": 1, "start": "2023-12-21 23:56:26.668223" } STDOUT: Connection 'statebr' (7ab8c3b4-8e9d-4e4c-91a2-2bc384f7101f) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tests_states.yml:83 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.341) 0:00:30.105 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.038) 0:00:30.144 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.022) 0:00:30.166 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.044) 0:00:30.211 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:56:26 +0000 (0:00:00.038) 0:00:30.250 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:56:27 +0000 (0:00:00.036) 0:00:30.287 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003603", "end": "2023-12-21 23:56:27.196107", "rc": 0, "start": "2023-12-21 23:56:27.192504" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:56:27 +0000 (0:00:00.213) 0:00:30.500 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:56:27 +0000 (0:00:00.022) 0:00:30.523 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 23:56:27 +0000 (0:00:00.022) 0:00:30.545 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 23:56:27 +0000 (0:00:00.042) 0:00:30.588 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:56:27 +0000 (0:00:00.064) 0:00:30.652 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:56:27 +0000 (0:00:00.043) 0:00:30.695 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:56:27 +0000 (0:00:00.027) 0:00:30.723 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:56:27 +0000 (0:00:00.021) 0:00:30.744 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:56:27 +0000 (0:00:00.021) 0:00:30.766 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:56:29 +0000 (0:00:02.182) 0:00:32.949 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:56:30 +0000 (0:00:00.896) 0:00:33.846 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:56:30 +0000 (0:00:00.022) 0:00:33.868 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:56:30 +0000 (0:00:00.023) 0:00:33.892 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:56:30 +0000 (0:00:00.022) 0:00:33.914 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:56:30 +0000 (0:00:00.044) 0:00:33.959 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:56:30 +0000 (0:00:00.023) 0:00:33.982 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:56:30 +0000 (0:00:00.022) 0:00:34.004 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:56:30 +0000 (0:00:00.026) 0:00:34.031 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:56:31 +0000 (0:00:00.554) 0:00:34.586 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:56:31 +0000 (0:00:00.027) 0:00:34.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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:56:31 +0000 (0:00:00.023) 0:00:34.637 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:56:31 +0000 (0:00:00.022) 0:00:34.659 ***** 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, 36367f5d-52e8-40eb-9eaa-516e18dfbc24 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:56:31 +0000 (0:00:00.446) 0:00:35.106 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:56:31 +0000 (0:00:00.023) 0:00:35.129 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36367f5d-52e8-40eb-9eaa-516e18dfbc24" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:56:31 +0000 (0:00:00.024) 0:00:35.153 ***** 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, 36367f5d-52e8-40eb-9eaa-516e18dfbc24\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36367f5d-52e8-40eb-9eaa-516e18dfbc24" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:56:31 +0000 (0:00:00.022) 0:00:35.176 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:56:31 +0000 (0:00:00.023) 0:00:35.199 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 23:56:32 +0000 (0:00:00.204) 0:00:35.403 ***** 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, 36367f5d-52e8-40eb-9eaa-516e18dfbc24\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 36367f5d-52e8-40eb-9eaa-516e18dfbc24" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 23:56:32 +0000 (0:00:00.025) 0:00:35.428 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:56:32 +0000 (0:00:00.038) 0:00:35.467 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:56:32 +0000 (0:00:00.066) 0:00:35.534 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:56:32 +0000 (0:00:00.029) 0:00:35.563 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:56:32 +0000 (0:00:00.023) 0:00:35.586 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:56:32 +0000 (0:00:00.023) 0:00:35.609 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:56:34 +0000 (0:00:02.167) 0:00:37.777 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:56:35 +0000 (0:00:00.914) 0:00:38.692 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:56:35 +0000 (0:00:00.022) 0:00:38.714 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:56:35 +0000 (0:00:00.021) 0:00:38.736 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:56:35 +0000 (0:00:00.021) 0:00:38.758 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:56:35 +0000 (0:00:00.043) 0:00:38.801 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:56:35 +0000 (0:00:00.021) 0:00:38.822 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:56:35 +0000 (0:00:00.021) 0:00:38.844 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:56:35 +0000 (0:00:00.025) 0:00:38.869 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:56:36 +0000 (0:00:00.579) 0:00:39.448 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:56:36 +0000 (0:00:00.026) 0:00:39.475 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:56:36 +0000 (0:00:00.022) 0:00:39.497 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:56:36 +0000 (0:00:00.022) 0:00:39.520 ***** 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, 36367f5d-52e8-40eb-9eaa-516e18dfbc24 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:56:36 +0000 (0:00:00.366) 0:00:39.886 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:56:36 +0000 (0:00:00.021) 0:00:39.908 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 36367f5d-52e8-40eb-9eaa-516e18dfbc24 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:56:36 +0000 (0:00:00.024) 0:00:39.932 ***** 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, 36367f5d-52e8-40eb-9eaa-516e18dfbc24 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 36367f5d-52e8-40eb-9eaa-516e18dfbc24 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:56:36 +0000 (0:00:00.023) 0:00:39.955 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:56:36 +0000 (0:00:00.021) 0:00:39.977 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 23:56:36 +0000 (0:00:00.200) 0:00:40.177 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 23:56:36 +0000 (0:00:00.041) 0:00:40.219 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:56:36 +0000 (0:00:00.042) 0:00:40.261 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:56:37 +0000 (0:00:00.067) 0:00:40.328 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:56:37 +0000 (0:00:00.027) 0:00:40.356 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:56:37 +0000 (0:00:00.022) 0:00:40.379 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:56:37 +0000 (0:00:00.022) 0:00:40.401 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:56:39 +0000 (0:00:02.178) 0:00:42.580 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:56:40 +0000 (0:00:00.921) 0:00:43.501 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:56:40 +0000 (0:00:00.024) 0:00:43.525 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:56:40 +0000 (0:00:00.022) 0:00:43.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:56:40 +0000 (0:00:00.022) 0:00:43.570 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:56:40 +0000 (0:00:00.046) 0:00:43.617 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:56:40 +0000 (0:00:00.024) 0:00:43.641 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:56:40 +0000 (0:00:00.022) 0:00:43.664 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:56:40 +0000 (0:00:00.024) 0:00:43.688 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:56:40 +0000 (0:00:00.548) 0:00:44.237 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:56:41 +0000 (0:00:00.047) 0:00:44.284 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:56:41 +0000 (0:00:00.022) 0:00:44.307 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:56:41 +0000 (0:00:00.021) 0:00:44.328 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:56:41 +0000 (0:00:00.401) 0:00:44.729 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:56:41 +0000 (0:00:00.022) 0:00:44.751 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:56:41 +0000 (0:00:00.022) 0:00:44.774 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:56:41 +0000 (0:00:00.023) 0:00:44.797 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:56:41 +0000 (0:00:00.021) 0:00:44.819 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 23:56:41 +0000 (0:00:00.201) 0:00:45.021 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_present.yml:3 Thursday 21 December 2023 23:56:41 +0000 (0:00:00.043) 0:00:45.065 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 23:56:41 +0000 (0:00:00.036) 0:00:45.101 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1703202991.7206995, "block_size": 4096, "blocks": 0, "ctime": 1703202991.7206995, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34118, "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": 1703202991.7206995, "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-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_present.yml:5 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.231) 0:00:45.333 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.025) 0:00:45.359 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.038) 0:00:45.398 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.023) 0:00:45.421 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.205) 0:00:45.626 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.022) 0:00:45.649 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023150", "end": "2023-12-21 23:56:42.575945", "rc": 1, "start": "2023-12-21 23:56:42.552795" } 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-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.230) 0:00:45.879 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.023) 0:00:45.903 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.022) 0:00:45.926 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.022) 0:00:45.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.022) 0:00:45.971 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.022) 0:00:45.993 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.023) 0:00:46.017 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.046) 0:00:46.064 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.023) 0:00:46.088 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 23:56:42 +0000 (0:00:00.041) 0:00:46.129 ***** 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.091070", "end": "2023-12-21 23:56:43.124662", "rc": 1, "start": "2023-12-21 23:56:43.033592" } STDOUT: Connection 'statebr' (36367f5d-52e8-40eb-9eaa-516e18dfbc24) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tests_states.yml:103 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.299) 0:00:46.429 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.039) 0:00:46.468 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.022) 0:00:46.491 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.046) 0:00:46.537 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.036) 0:00:46.574 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.035) 0:00:46.609 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003727", "end": "2023-12-21 23:56:43.517516", "rc": 0, "start": "2023-12-21 23:56:43.513789" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.212) 0:00:46.821 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.049) 0:00:46.871 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.022) 0:00:46.894 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.048) 0:00:46.942 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.039) 0:00:46.981 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.043) 0:00:47.025 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.029) 0:00:47.054 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.023) 0:00:47.078 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:56:43 +0000 (0:00:00.024) 0:00:47.102 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:56:45 +0000 (0:00:02.165) 0:00:49.268 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:56:46 +0000 (0:00:00.903) 0:00:50.172 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:56:46 +0000 (0:00:00.024) 0:00:50.196 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:56:46 +0000 (0:00:00.022) 0:00:50.218 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:56:46 +0000 (0:00:00.021) 0:00:50.240 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:56:47 +0000 (0:00:00.044) 0:00:50.284 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:56:47 +0000 (0:00:00.042) 0:00:50.327 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:56:47 +0000 (0:00:00.022) 0:00:50.349 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:56:47 +0000 (0:00:00.024) 0:00:50.374 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:56:47 +0000 (0:00:00.554) 0:00:50.929 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:56:47 +0000 (0:00:00.026) 0:00:50.955 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:56:47 +0000 (0:00:00.021) 0:00:50.977 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:56:47 +0000 (0:00:00.021) 0:00:50.999 ***** 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, 9d895eb4-266c-485b-96f2-4beff2c19bdd TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:56:48 +0000 (0:00:00.416) 0:00:51.415 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:56:48 +0000 (0:00:00.021) 0:00:51.437 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d895eb4-266c-485b-96f2-4beff2c19bdd" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:56:48 +0000 (0:00:00.022) 0:00:51.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, 9d895eb4-266c-485b-96f2-4beff2c19bdd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d895eb4-266c-485b-96f2-4beff2c19bdd" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:56:48 +0000 (0:00:00.022) 0:00:51.483 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:56:48 +0000 (0:00:00.021) 0:00:51.504 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 23:56:48 +0000 (0:00:00.227) 0:00:51.731 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d895eb4-266c-485b-96f2-4beff2c19bdd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9d895eb4-266c-485b-96f2-4beff2c19bdd" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 23:56:48 +0000 (0:00:00.024) 0:00:51.756 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:56:48 +0000 (0:00:00.038) 0:00:51.794 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:56:48 +0000 (0:00:00.042) 0:00:51.836 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:56:48 +0000 (0:00:00.028) 0:00:51.865 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:56:48 +0000 (0:00:00.021) 0:00:51.886 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:56:48 +0000 (0:00:00.021) 0:00:51.908 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:56:50 +0000 (0:00:02.167) 0:00:54.076 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:56:51 +0000 (0:00:00.909) 0:00:54.986 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:56:51 +0000 (0:00:00.023) 0:00:55.009 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:56:51 +0000 (0:00:00.022) 0:00:55.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:56:51 +0000 (0:00:00.021) 0:00:55.053 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:56:51 +0000 (0:00:00.044) 0:00:55.097 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:56:51 +0000 (0:00:00.022) 0:00:55.119 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:56:51 +0000 (0:00:00.021) 0:00:55.141 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:56:51 +0000 (0:00:00.069) 0:00:55.210 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:56:52 +0000 (0:00:00.552) 0:00:55.762 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:56:52 +0000 (0:00:00.026) 0:00:55.789 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:56:52 +0000 (0:00:00.021) 0:00:55.811 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:56:52 +0000 (0:00:00.021) 0:00:55.832 ***** 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, 9d895eb4-266c-485b-96f2-4beff2c19bdd skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:56:52 +0000 (0:00:00.364) 0:00:56.197 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:56:52 +0000 (0:00:00.022) 0:00:56.219 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9d895eb4-266c-485b-96f2-4beff2c19bdd skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:56:52 +0000 (0:00:00.023) 0:00:56.243 ***** 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, 9d895eb4-266c-485b-96f2-4beff2c19bdd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9d895eb4-266c-485b-96f2-4beff2c19bdd skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:56:52 +0000 (0:00:00.025) 0:00:56.269 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:56:53 +0000 (0:00:00.022) 0:00:56.292 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/remove_profile.yml:3 Thursday 21 December 2023 23:56:53 +0000 (0:00:00.203) 0:00:56.495 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:56:53 +0000 (0:00:00.068) 0:00:56.564 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:56:53 +0000 (0:00:00.043) 0:00:56.607 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:56:53 +0000 (0:00:00.028) 0:00:56.635 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:56:53 +0000 (0:00:00.021) 0:00:56.657 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:56:53 +0000 (0:00:00.021) 0:00:56.678 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:56:55 +0000 (0:00:02.197) 0:00:58.876 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:56:56 +0000 (0:00:00.903) 0:00:59.780 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:56:56 +0000 (0:00:00.022) 0:00:59.803 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:56:56 +0000 (0:00:00.021) 0:00:59.824 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:56:56 +0000 (0:00:00.023) 0:00:59.848 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:56:56 +0000 (0:00:00.043) 0:00:59.891 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:56:56 +0000 (0:00:00.021) 0:00:59.912 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:56:56 +0000 (0:00:00.021) 0:00:59.934 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:56:56 +0000 (0:00:00.024) 0:00:59.958 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:56:57 +0000 (0:00:00.554) 0:01:00.513 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:56:57 +0000 (0:00:00.026) 0:01:00.539 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:56:57 +0000 (0:00:00.022) 0:01:00.561 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:56:57 +0000 (0:00:00.021) 0:01:00.583 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:56:57 +0000 (0:00:00.398) 0:01:00.981 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:56:57 +0000 (0:00:00.022) 0:01:01.004 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:56:57 +0000 (0:00:00.023) 0:01:01.027 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:56:57 +0000 (0:00:00.022) 0:01:01.049 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:56:57 +0000 (0:00:00.022) 0:01:01.072 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 23:56:58 +0000 (0:00:00.200) 0:01:01.272 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 23:56:58 +0000 (0:00:00.042) 0:01:01.314 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:56:58 +0000 (0:00:00.067) 0:01:01.382 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:56:58 +0000 (0:00:00.043) 0:01:01.425 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:56:58 +0000 (0:00:00.027) 0:01:01.453 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:56:58 +0000 (0:00:00.022) 0:01:01.475 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:56:58 +0000 (0:00:00.022) 0:01:01.497 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:57:00 +0000 (0:00:02.219) 0:01:03.716 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:57:01 +0000 (0:00:00.911) 0:01:04.628 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:57:01 +0000 (0:00:00.022) 0:01:04.651 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:57:01 +0000 (0:00:00.022) 0:01:04.673 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:57:01 +0000 (0:00:00.023) 0:01:04.697 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:57:01 +0000 (0:00:00.044) 0:01:04.741 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:57:01 +0000 (0:00:00.022) 0:01:04.764 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:57:01 +0000 (0:00:00.022) 0:01:04.787 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:57:01 +0000 (0:00:00.026) 0:01:04.813 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:57:02 +0000 (0:00:00.554) 0:01:05.368 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:57:02 +0000 (0:00:00.026) 0:01:05.394 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:57:02 +0000 (0:00:00.021) 0:01:05.416 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:57:02 +0000 (0:00:00.022) 0:01:05.438 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:57:02 +0000 (0:00:00.463) 0:01:05.902 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:57:02 +0000 (0:00:00.021) 0:01:05.924 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:57:02 +0000 (0:00:00.024) 0:01:05.948 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:57:02 +0000 (0:00:00.022) 0:01:05.971 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:57:02 +0000 (0:00:00.021) 0:01:05.993 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 23:57:02 +0000 (0:00:00.203) 0:01:06.196 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 23:57:02 +0000 (0:00:00.042) 0:01:06.238 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.063) 0:01:06.302 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.023) 0:01:06.325 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.208) 0:01:06.534 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.022) 0:01:06.556 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022028", "end": "2023-12-21 23:57:03.483385", "rc": 1, "start": "2023-12-21 23:57:03.461357" } 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-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.230) 0:01:06.787 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.023) 0:01:06.811 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.022) 0:01:06.833 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.023) 0:01:06.857 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.023) 0:01:06.880 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.022) 0:01:06.903 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.025) 0:01:06.928 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.043) 0:01:06.971 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.064) 0:01:07.035 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.207) 0:01:07.243 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 23:57:03 +0000 (0:00:00.025) 0:01:07.269 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.022) 0:01:07.291 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.041) 0:01:07.333 ***** 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.042715", "end": "2023-12-21 23:57:04.280568", "rc": 1, "start": "2023-12-21 23:57:04.237853" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tests_states.yml:126 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.252) 0:01:07.585 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:5 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.038) 0:01:07.624 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:9 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.023) 0:01:07.647 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:21 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.045) 0:01:07.692 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml:3 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.037) 0:01:07.730 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml:3 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.062) 0:01:07.792 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003639", "end": "2023-12-21 23:57:04.702030", "rc": 0, "start": "2023-12-21 23:57:04.698391" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_current_interfaces.yml:9 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.213) 0:01:08.006 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/show_interfaces.yml:5 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.024) 0:01:08.031 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:24 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.022) 0:01:08.053 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml:3 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.046) 0:01:08.100 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.037) 0:01:08.137 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.041) 0:01:08.179 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.026) 0:01:08.206 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.021) 0:01:08.228 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:57:04 +0000 (0:00:00.021) 0:01:08.250 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:57:07 +0000 (0:00:02.184) 0:01:10.434 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:57:08 +0000 (0:00:00.912) 0:01:11.347 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:57:08 +0000 (0:00:00.023) 0:01:11.370 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:57:08 +0000 (0:00:00.044) 0:01:11.415 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:57:08 +0000 (0:00:00.023) 0:01:11.438 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:57:08 +0000 (0:00:00.046) 0:01:11.485 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:57:08 +0000 (0:00:00.022) 0:01:11.507 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:57:08 +0000 (0:00:00.021) 0:01:11.529 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:57:08 +0000 (0:00:00.025) 0:01:11.554 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:57:08 +0000 (0:00:00.554) 0:01:12.109 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:57:08 +0000 (0:00:00.026) 0:01:12.135 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:57:08 +0000 (0:00:00.021) 0:01:12.157 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:57:08 +0000 (0:00:00.021) 0:01:12.178 ***** 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, 1af10f0e-4018-4777-b48c-07275eb168be TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:57:09 +0000 (0:00:00.416) 0:01:12.594 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:57:09 +0000 (0:00:00.022) 0:01:12.617 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1af10f0e-4018-4777-b48c-07275eb168be" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:57:09 +0000 (0:00:00.023) 0:01:12.640 ***** 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, 1af10f0e-4018-4777-b48c-07275eb168be\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1af10f0e-4018-4777-b48c-07275eb168be" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:57:09 +0000 (0:00:00.047) 0:01:12.687 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:57:09 +0000 (0:00:00.023) 0:01:12.711 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/create_bridge_profile.yml:14 Thursday 21 December 2023 23:57:09 +0000 (0:00:00.203) 0:01:12.914 ***** 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, 1af10f0e-4018-4777-b48c-07275eb168be\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1af10f0e-4018-4777-b48c-07275eb168be" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/activate_profile.yml:3 Thursday 21 December 2023 23:57:09 +0000 (0:00:00.023) 0:01:12.938 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:57:09 +0000 (0:00:00.037) 0:01:12.976 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:57:09 +0000 (0:00:00.041) 0:01:13.017 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:57:09 +0000 (0:00:00.028) 0:01:13.046 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:57:09 +0000 (0:00:00.022) 0:01:13.068 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:57:09 +0000 (0:00:00.021) 0:01:13.090 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:57:12 +0000 (0:00:02.182) 0:01:15.273 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:57:12 +0000 (0:00:00.902) 0:01:16.175 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:57:12 +0000 (0:00:00.023) 0:01:16.198 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:57:12 +0000 (0:00:00.021) 0:01:16.220 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:57:12 +0000 (0:00:00.021) 0:01:16.242 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:57:13 +0000 (0:00:00.063) 0:01:16.306 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:57:13 +0000 (0:00:00.021) 0:01:16.328 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:57:13 +0000 (0:00:00.021) 0:01:16.350 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:57:13 +0000 (0:00:00.025) 0:01:16.375 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:57:13 +0000 (0:00:00.549) 0:01:16.924 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:57:13 +0000 (0:00:00.026) 0:01:16.950 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:57:13 +0000 (0:00:00.021) 0:01:16.972 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:57:13 +0000 (0:00:00.021) 0:01:16.993 ***** 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, 1af10f0e-4018-4777-b48c-07275eb168be skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:57:14 +0000 (0:00:00.365) 0:01:17.359 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:57:14 +0000 (0:00:00.021) 0:01:17.380 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1af10f0e-4018-4777-b48c-07275eb168be skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:57:14 +0000 (0:00:00.022) 0:01:17.403 ***** 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, 1af10f0e-4018-4777-b48c-07275eb168be skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1af10f0e-4018-4777-b48c-07275eb168be skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:57:14 +0000 (0:00:00.022) 0:01:17.426 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:57:14 +0000 (0:00:00.020) 0:01:17.447 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 23:57:14 +0000 (0:00:00.203) 0:01:17.650 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:57:14 +0000 (0:00:00.038) 0:01:17.689 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:57:14 +0000 (0:00:00.042) 0:01:17.732 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:57:14 +0000 (0:00:00.028) 0:01:17.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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:57:14 +0000 (0:00:00.021) 0:01:17.782 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:57:14 +0000 (0:00:00.021) 0:01:17.803 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:57:16 +0000 (0:00:02.163) 0:01:19.966 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:57:17 +0000 (0:00:00.899) 0:01:20.866 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:57:17 +0000 (0:00:00.023) 0:01:20.889 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:57:17 +0000 (0:00:00.021) 0:01:20.911 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:57:17 +0000 (0:00:00.021) 0:01:20.932 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:57:17 +0000 (0:00:00.045) 0:01:20.978 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:57:17 +0000 (0:00:00.021) 0:01:20.999 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:57:17 +0000 (0:00:00.022) 0:01:21.022 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:57:17 +0000 (0:00:00.050) 0:01:21.072 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:57:18 +0000 (0:00:00.559) 0:01:21.631 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:57:18 +0000 (0:00:00.027) 0:01:21.658 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:57:18 +0000 (0:00:00.021) 0:01:21.680 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:57:18 +0000 (0:00:00.022) 0:01:21.702 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:57:18 +0000 (0:00:00.529) 0:01:22.232 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:57:18 +0000 (0:00:00.023) 0:01:22.256 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:57:19 +0000 (0:00:00.023) 0:01:22.280 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:57:19 +0000 (0:00:00.024) 0:01:22.305 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:57:19 +0000 (0:00:00.021) 0:01:22.327 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:30 Thursday 21 December 2023 23:57:19 +0000 (0:00:00.202) 0:01:22.529 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/remove+down_profile.yml:3 Thursday 21 December 2023 23:57:19 +0000 (0:00:00.065) 0:01:22.594 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:4 Thursday 21 December 2023 23:57:19 +0000 (0:00:00.039) 0:01:22.634 ***** included: /WORKDIR/git-wifi_fixaca24nup/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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Thursday 21 December 2023 23:57:19 +0000 (0:00:00.042) 0:01:22.677 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Thursday 21 December 2023 23:57:19 +0000 (0:00:00.027) 0:01:22.705 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Thursday 21 December 2023 23:57:19 +0000 (0:00:00.021) 0:01:22.726 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Thursday 21 December 2023 23:57:19 +0000 (0:00:00.021) 0:01:22.748 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Thursday 21 December 2023 23:57:21 +0000 (0:00:02.190) 0:01:24.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 : Print network provider] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:7 Thursday 21 December 2023 23:57:22 +0000 (0:00:00.900) 0:01:25.840 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:11 Thursday 21 December 2023 23:57:22 +0000 (0:00:00.022) 0:01:25.863 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:19 Thursday 21 December 2023 23:57:22 +0000 (0:00:00.021) 0:01:25.885 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:30 Thursday 21 December 2023 23:57:22 +0000 (0:00:00.022) 0:01:25.907 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:40 Thursday 21 December 2023 23:57:22 +0000 (0:00:00.044) 0:01:25.951 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:55 Thursday 21 December 2023 23:57:22 +0000 (0:00:00.021) 0:01:25.973 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:71 Thursday 21 December 2023 23:57:22 +0000 (0:00:00.021) 0:01:25.995 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 Thursday 21 December 2023 23:57:22 +0000 (0:00:00.024) 0:01:26.020 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:96 Thursday 21 December 2023 23:57:23 +0000 (0:00:00.577) 0:01:26.597 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:105 Thursday 21 December 2023 23:57:23 +0000 (0:00:00.026) 0:01:26.623 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:113 Thursday 21 December 2023 23:57:23 +0000 (0:00:00.021) 0:01:26.645 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 Thursday 21 December 2023 23:57:23 +0000 (0:00:00.022) 0:01:26.667 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:134 Thursday 21 December 2023 23:57:23 +0000 (0:00:00.389) 0:01:27.056 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:140 Thursday 21 December 2023 23:57:23 +0000 (0:00:00.021) 0:01:27.078 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:144 Thursday 21 December 2023 23:57:23 +0000 (0:00:00.023) 0:01:27.101 ***** 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-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:149 Thursday 21 December 2023 23:57:23 +0000 (0:00:00.023) 0:01:27.125 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:155 Thursday 21 December 2023 23:57:23 +0000 (0:00:00.021) 0:01:27.146 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:36 Thursday 21 December 2023 23:57:24 +0000 (0:00:00.200) 0:01:27.347 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_absent.yml:3 Thursday 21 December 2023 23:57:24 +0000 (0:00:00.067) 0:01:27.415 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:3 Thursday 21 December 2023 23:57:24 +0000 (0:00:00.039) 0:01:27.454 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:9 Thursday 21 December 2023 23:57:24 +0000 (0:00:00.023) 0:01:27.478 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:17 Thursday 21 December 2023 23:57:24 +0000 (0:00:00.208) 0:01:27.686 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:25 Thursday 21 December 2023 23:57:24 +0000 (0:00:00.023) 0:01:27.710 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022010", "end": "2023-12-21 23:57:24.636395", "rc": 1, "start": "2023-12-21 23:57:24.614385" } 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-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:35 Thursday 21 December 2023 23:57:24 +0000 (0:00:00.229) 0:01:27.939 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:49 Thursday 21 December 2023 23:57:24 +0000 (0:00:00.023) 0:01:27.963 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:56 Thursday 21 December 2023 23:57:24 +0000 (0:00:00.022) 0:01:27.986 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:62 Thursday 21 December 2023 23:57:24 +0000 (0:00:00.022) 0:01:28.009 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_profile_stat.yml:69 Thursday 21 December 2023 23:57:24 +0000 (0:00:00.022) 0:01:28.031 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_profile_absent.yml:5 Thursday 21 December 2023 23:57:24 +0000 (0:00:00.022) 0:01:28.054 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Thursday 21 December 2023 23:57:24 +0000 (0:00:00.023) 0:01:28.077 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.357846", "end": "2023-12-21 23:57:25.338401", "rc": 0, "start": "2023-12-21 23:57:24.980555" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Thursday 21 December 2023 23:57:25 +0000 (0:00:00.597) 0:01:28.674 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Thursday 21 December 2023 23:57:25 +0000 (0:00:00.025) 0:01:28.700 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:42 Thursday 21 December 2023 23:57:25 +0000 (0:00:00.024) 0:01:28.724 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml:3 Thursday 21 December 2023 23:57:25 +0000 (0:00:00.045) 0:01:28.770 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/get_interface_stat.yml:3 Thursday 21 December 2023 23:57:25 +0000 (0:00:00.037) 0:01:28.808 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/assert_device_absent.yml:5 Thursday 21 December 2023 23:57:25 +0000 (0:00:00.208) 0:01:29.016 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:47 Thursday 21 December 2023 23:57:25 +0000 (0:00:00.026) 0:01:29.042 ***** 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-wifi_fixaca24nup/tests/playbooks/tasks/run_test.yml:66 Thursday 21 December 2023 23:57:25 +0000 (0:00:00.023) 0:01:29.066 ***** included: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-wifi_fixaca24nup/tests/playbooks/tasks/cleanup_profile+device.yml:3 Thursday 21 December 2023 23:57:25 +0000 (0:00:00.044) 0:01:29.110 ***** 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.043352", "end": "2023-12-21 23:57:26.057188", "rc": 1, "start": "2023-12-21 23:57:26.013836" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Thursday 21 December 2023 23:57:26 +0000 (0:00:00.235) 0:01:29.346 ***** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 2.93s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.26s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 2.23s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.16s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.69s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.46s /WORKDIR/git-wifi_fixaca24nup/tests/roles/linux-system-roles.network/tasks/main.yml:122 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---