# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_states_nm.yml ************************************************** 2 plays in /WORKDIR/git-weekly-ciifre6qp6/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/tests_states_nm.yml:5 Saturday 16 December 2023 13:31:22 +0000 (0:00:00.013) 0:00:00.013 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/tests_states_nm.yml:9 Saturday 16 December 2023 13:31:22 +0000 (0:00:00.930) 0:00:00.943 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/tasks/el_repo_setup.yml for sut TASK [Gather the minimum subset of ansible_facts required by the network role test] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/tasks/el_repo_setup.yml:3 Saturday 16 December 2023 13:31:22 +0000 (0:00:00.022) 0:00:00.965 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/tasks/el_repo_setup.yml:19 Saturday 16 December 2023 13:31:23 +0000 (0:00:00.514) 0:00:01.480 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/tasks/el_repo_setup.yml:24 Saturday 16 December 2023 13:31:23 +0000 (0:00:00.276) 0:00:01.757 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/tasks/el_repo_setup.yml:28 Saturday 16 December 2023 13:31:23 +0000 (0:00:00.032) 0:00:01.790 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/tasks/el_repo_setup.yml:53 Saturday 16 December 2023 13:31:23 +0000 (0:00:00.017) 0:00:01.807 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/tasks/enable_epel.yml:8 Saturday 16 December 2023 13:31:23 +0000 (0:00:00.034) 0:00:01.842 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/tasks/enable_epel.yml:24 Saturday 16 December 2023 13:31:23 +0000 (0:00:00.009) 0:00:01.851 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/tasks/enable_epel.yml:30 Saturday 16 December 2023 13:31:23 +0000 (0:00:00.008) 0:00:01.860 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/tasks/enable_epel.yml:35 Saturday 16 December 2023 13:31:23 +0000 (0:00:00.008) 0:00:01.869 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/tasks/enable_epel.yml:40 Saturday 16 December 2023 13:31:23 +0000 (0:00:00.009) 0:00:01.878 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/tests_states_nm.yml:11 Saturday 16 December 2023 13:31:23 +0000 (0:00:00.008) 0:00:01.886 ***** ok: [sut] => { "ansible_facts": { "network_provider": "nm" }, "changed": false } META: ran handlers META: ran handlers PLAY [Play for testing states] ************************************************* TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tests_states.yml:3 Saturday 16 December 2023 13:31:23 +0000 (0:00:00.010) 0:00:01.897 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tests_states.yml:11 Saturday 16 December 2023 13:31:24 +0000 (0:00:00.800) 0:00:02.697 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tests_states.yml:22 Saturday 16 December 2023 13:31:24 +0000 (0:00:00.010) 0:00:02.708 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:5 Saturday 16 December 2023 13:31:24 +0000 (0:00:00.015) 0:00:02.724 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:9 Saturday 16 December 2023 13:31:24 +0000 (0:00:00.010) 0:00:02.735 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_present.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:21 Saturday 16 December 2023 13:31:24 +0000 (0:00:00.032) 0:00:02.767 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:31:24 +0000 (0:00:00.013) 0:00:02.781 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:31:24 +0000 (0:00:00.012) 0:00:02.793 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003714", "end": "2023-12-16 13:31:25.044085", "rc": 0, "start": "2023-12-16 13:31:25.040371" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:31:25 +0000 (0:00:00.251) 0:00:03.045 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:31:25 +0000 (0:00:00.012) 0:00:03.057 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:24 Saturday 16 December 2023 13:31:25 +0000 (0:00:00.010) 0:00:03.068 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/delete_interface.yml:3 Saturday 16 December 2023 13:31:25 +0000 (0:00:00.020) 0:00:03.088 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008165", "end": "2023-12-16 13:31:25.295432", "rc": 1, "start": "2023-12-16 13:31:25.287267" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 December 2023 13:31:25 +0000 (0:00:00.206) 0:00:03.295 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:31:25 +0000 (0:00:00.014) 0:00:03.309 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 December 2023 13:31:25 +0000 (0:00:00.198) 0:00:03.508 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:30 Saturday 16 December 2023 13:31:25 +0000 (0:00:00.013) 0:00:03.522 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 December 2023 13:31:25 +0000 (0:00:00.019) 0:00:03.541 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:31:25 +0000 (0:00:00.032) 0:00:03.574 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:31:25 +0000 (0:00:00.066) 0:00:03.641 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:31:25 +0000 (0:00:00.012) 0:00:03.654 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:31:25 +0000 (0:00:00.012) 0:00:03.666 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:31:25 +0000 (0:00:00.010) 0:00:03.676 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:31:28 +0000 (0:00:02.307) 0:00:05.984 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:31:29 +0000 (0:00:01.054) 0:00:07.038 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:31:29 +0000 (0:00:00.023) 0:00:07.061 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:31:29 +0000 (0:00:00.021) 0:00:07.083 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:31:29 +0000 (0:00:00.021) 0:00:07.104 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:31:29 +0000 (0:00:00.044) 0:00:07.149 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:31:29 +0000 (0:00:00.021) 0:00:07.171 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:31:29 +0000 (0:00:00.023) 0:00:07.195 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:31:29 +0000 (0:00:00.026) 0:00:07.222 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:31:29 +0000 (0:00:00.745) 0:00:07.968 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:31:30 +0000 (0:00:00.027) 0:00:07.995 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:31:30 +0000 (0:00:00.026) 0:00:08.022 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:31:30 +0000 (0:00:00.022) 0:00:08.044 ***** 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, 0b29e174-146e-4141-a1b4-57b9cd639e13 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:31:30 +0000 (0:00:00.539) 0:00:08.584 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:31:30 +0000 (0:00:00.022) 0:00:08.606 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0b29e174-146e-4141-a1b4-57b9cd639e13" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:31:30 +0000 (0:00:00.023) 0:00:08.630 ***** 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, 0b29e174-146e-4141-a1b4-57b9cd639e13\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0b29e174-146e-4141-a1b4-57b9cd639e13" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:31:30 +0000 (0:00:00.023) 0:00:08.653 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:31:30 +0000 (0:00:00.021) 0:00:08.675 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 December 2023 13:31:30 +0000 (0:00:00.290) 0:00:08.966 ***** 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, 0b29e174-146e-4141-a1b4-57b9cd639e13\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0b29e174-146e-4141-a1b4-57b9cd639e13" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:36 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.024) 0:00:08.990 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.041) 0:00:09.031 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.062) 0:00:09.094 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.022) 0:00:09.117 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.219) 0:00:09.337 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.024) 0:00:09.361 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023979", "end": "2023-12-16 13:31:31.589037", "rc": 0, "start": "2023-12-16 13:31:31.565058" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.241) 0:00:09.603 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.025) 0:00:09.629 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.024) 0:00:09.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.024) 0:00:09.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.024) 0:00:09.702 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.024) 0:00:09.726 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.025) 0:00:09.752 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.024) 0:00:09.776 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:42 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.024) 0:00:09.801 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.073) 0:00:09.874 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:31:31 +0000 (0:00:00.051) 0:00:09.926 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702733490.5122862, "block_size": 4096, "blocks": 0, "ctime": 1702733490.5122862, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35811, "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": 1702733490.5122862, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 16 December 2023 13:31:32 +0000 (0:00:00.217) 0:00:10.144 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:47 Saturday 16 December 2023 13:31:32 +0000 (0:00:00.038) 0:00:10.183 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:66 Saturday 16 December 2023 13:31:32 +0000 (0:00:00.037) 0:00:10.220 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 December 2023 13:31:32 +0000 (0:00:00.054) 0:00:10.275 ***** 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.060036", "end": "2023-12-16 13:31:32.545136", "rc": 1, "start": "2023-12-16 13:31:32.485100" } STDOUT: Connection 'statebr' (0b29e174-146e-4141-a1b4-57b9cd639e13) 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-weekly-ciifre6qp6/tests/playbooks/tests_states.yml:45 Saturday 16 December 2023 13:31:32 +0000 (0:00:00.284) 0:00:10.560 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:5 Saturday 16 December 2023 13:31:32 +0000 (0:00:00.044) 0:00:10.604 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:9 Saturday 16 December 2023 13:31:32 +0000 (0:00:00.031) 0:00:10.636 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can create a profile without autoconnect" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/delete_interface.yml", "tasks/assert_device_absent.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/create_bridge_profile_no_autoconnect.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_absent.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:21 Saturday 16 December 2023 13:31:32 +0000 (0:00:00.045) 0:00:10.681 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:31:32 +0000 (0:00:00.089) 0:00:10.771 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:31:32 +0000 (0:00:00.038) 0:00:10.810 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003917", "end": "2023-12-16 13:31:33.016014", "rc": 0, "start": "2023-12-16 13:31:33.012097" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:31:33 +0000 (0:00:00.228) 0:00:11.038 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:31:33 +0000 (0:00:00.043) 0:00:11.081 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:24 Saturday 16 December 2023 13:31:33 +0000 (0:00:00.037) 0:00:11.118 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/delete_interface.yml:3 Saturday 16 December 2023 13:31:33 +0000 (0:00:00.048) 0:00:11.167 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006817", "end": "2023-12-16 13:31:33.381220", "rc": 1, "start": "2023-12-16 13:31:33.374403" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 December 2023 13:31:33 +0000 (0:00:00.226) 0:00:11.393 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:31:33 +0000 (0:00:00.038) 0:00:11.431 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 December 2023 13:31:33 +0000 (0:00:00.210) 0:00:11.642 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:30 Saturday 16 December 2023 13:31:33 +0000 (0:00:00.025) 0:00:11.667 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 16 December 2023 13:31:33 +0000 (0:00:00.067) 0:00:11.735 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:31:33 +0000 (0:00:00.042) 0:00:11.778 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:31:33 +0000 (0:00:00.042) 0:00:11.820 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:31:33 +0000 (0:00:00.027) 0:00:11.847 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:31:33 +0000 (0:00:00.022) 0:00:11.870 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:31:33 +0000 (0:00:00.022) 0:00:11.893 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:31:36 +0000 (0:00:02.229) 0:00:14.122 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:31:37 +0000 (0:00:00.922) 0:00:15.044 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:31:37 +0000 (0:00:00.023) 0:00:15.068 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:31:37 +0000 (0:00:00.023) 0:00:15.091 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:31:37 +0000 (0:00:00.024) 0:00:15.115 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:31:37 +0000 (0:00:00.047) 0:00:15.163 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:31:37 +0000 (0:00:00.022) 0:00:15.186 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:31:37 +0000 (0:00:00.022) 0:00:15.208 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:31:37 +0000 (0:00:00.050) 0:00:15.258 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:31:37 +0000 (0:00:00.566) 0:00:15.824 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:31:37 +0000 (0:00:00.027) 0:00:15.852 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:31:37 +0000 (0:00:00.024) 0:00:15.877 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:31:37 +0000 (0:00:00.028) 0:00:15.905 ***** 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, 48908b48-b139-4ee9-a027-8c9e8b71853a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:31:38 +0000 (0:00:00.429) 0:00:16.335 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:31:38 +0000 (0:00:00.023) 0:00:16.358 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48908b48-b139-4ee9-a027-8c9e8b71853a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:31:38 +0000 (0:00:00.025) 0:00:16.383 ***** 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, 48908b48-b139-4ee9-a027-8c9e8b71853a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48908b48-b139-4ee9-a027-8c9e8b71853a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:31:38 +0000 (0:00:00.025) 0:00:16.409 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:31:38 +0000 (0:00:00.023) 0:00:16.433 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 16 December 2023 13:31:38 +0000 (0:00:00.213) 0:00:16.647 ***** 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, 48908b48-b139-4ee9-a027-8c9e8b71853a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 48908b48-b139-4ee9-a027-8c9e8b71853a" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:36 Saturday 16 December 2023 13:31:38 +0000 (0:00:00.025) 0:00:16.672 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 December 2023 13:31:38 +0000 (0:00:00.089) 0:00:16.762 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:31:38 +0000 (0:00:00.087) 0:00:16.849 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.237) 0:00:17.086 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.031) 0:00:17.118 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.060) 0:00:17.178 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.029) 0:00:17.207 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.212) 0:00:17.419 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.024) 0:00:17.444 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023230", "end": "2023-12-16 13:31:39.667488", "rc": 0, "start": "2023-12-16 13:31:39.644258" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.237) 0:00:17.681 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.027) 0:00:17.709 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.024) 0:00:17.733 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.058) 0:00:17.791 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.027) 0:00:17.818 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.024) 0:00:17.843 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.028) 0:00:17.872 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.032) 0:00:17.904 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:42 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.024) 0:00:17.929 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:47 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.022) 0:00:17.952 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:66 Saturday 16 December 2023 13:31:39 +0000 (0:00:00.024) 0:00:17.976 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.042) 0:00:18.019 ***** 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.044966", "end": "2023-12-16 13:31:40.273461", "rc": 1, "start": "2023-12-16 13:31:40.228495" } STDOUT: Connection 'statebr' (48908b48-b139-4ee9-a027-8c9e8b71853a) 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-weekly-ciifre6qp6/tests/playbooks/tests_states.yml:65 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.266) 0:00:18.286 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:5 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.039) 0:00:18.326 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:9 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.023) 0:00:18.350 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can activate an existing profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_present.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:21 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.045) 0:00:18.395 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.063) 0:00:18.459 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.037) 0:00:18.496 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003891", "end": "2023-12-16 13:31:40.702661", "rc": 0, "start": "2023-12-16 13:31:40.698770" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.220) 0:00:18.717 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.024) 0:00:18.742 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:24 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.024) 0:00:18.767 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.046) 0:00:18.813 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.042) 0:00:18.855 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.043) 0:00:18.898 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.030) 0:00:18.928 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:31:40 +0000 (0:00:00.023) 0:00:18.952 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:31:41 +0000 (0:00:00.049) 0:00:19.001 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:31:43 +0000 (0:00:02.288) 0:00:21.289 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:31:44 +0000 (0:00:00.954) 0:00:22.244 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:31:44 +0000 (0:00:00.025) 0:00:22.269 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:31:44 +0000 (0:00:00.022) 0:00:22.291 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:31:44 +0000 (0:00:00.021) 0:00:22.313 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:31:44 +0000 (0:00:00.045) 0:00:22.359 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:31:44 +0000 (0:00:00.022) 0:00:22.381 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:31:44 +0000 (0:00:00.022) 0:00:22.403 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:31:44 +0000 (0:00:00.024) 0:00:22.427 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:31:45 +0000 (0:00:00.567) 0:00:22.995 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:31:45 +0000 (0:00:00.028) 0:00:23.024 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:31:45 +0000 (0:00:00.024) 0:00:23.048 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:31:45 +0000 (0:00:00.024) 0:00:23.072 ***** 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, 26611461-f9cc-40fe-b09f-ae2be1dee666 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:31:45 +0000 (0:00:00.475) 0:00:23.548 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:31:45 +0000 (0:00:00.058) 0:00:23.606 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26611461-f9cc-40fe-b09f-ae2be1dee666" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:31:45 +0000 (0:00:00.025) 0:00:23.631 ***** 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, 26611461-f9cc-40fe-b09f-ae2be1dee666\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26611461-f9cc-40fe-b09f-ae2be1dee666" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:31:45 +0000 (0:00:00.026) 0:00:23.658 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:31:45 +0000 (0:00:00.024) 0:00:23.683 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 December 2023 13:31:45 +0000 (0:00:00.218) 0:00:23.901 ***** 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, 26611461-f9cc-40fe-b09f-ae2be1dee666\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 26611461-f9cc-40fe-b09f-ae2be1dee666" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:30 Saturday 16 December 2023 13:31:45 +0000 (0:00:00.027) 0:00:23.928 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/activate_profile.yml:3 Saturday 16 December 2023 13:31:45 +0000 (0:00:00.043) 0:00:23.972 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:31:46 +0000 (0:00:00.043) 0:00:24.016 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:31:46 +0000 (0:00:00.041) 0:00:24.058 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:31:46 +0000 (0:00:00.027) 0:00:24.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:31:46 +0000 (0:00:00.021) 0:00:24.107 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:31:46 +0000 (0:00:00.021) 0:00:24.129 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:31:48 +0000 (0:00:02.301) 0:00:26.430 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:31:49 +0000 (0:00:00.923) 0:00:27.354 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:31:49 +0000 (0:00:00.044) 0:00:27.398 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:31:49 +0000 (0:00:00.022) 0:00:27.421 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:31:49 +0000 (0:00:00.022) 0:00:27.444 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:31:49 +0000 (0:00:00.044) 0:00:27.488 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:31:49 +0000 (0:00:00.022) 0:00:27.510 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:31:49 +0000 (0:00:00.022) 0:00:27.533 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:31:49 +0000 (0:00:00.026) 0:00:27.559 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:31:50 +0000 (0:00:00.568) 0:00:28.128 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:31:50 +0000 (0:00:00.027) 0:00:28.155 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:31:50 +0000 (0:00:00.021) 0:00:28.177 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:31:50 +0000 (0:00:00.023) 0:00:28.200 ***** 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, 26611461-f9cc-40fe-b09f-ae2be1dee666 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:31:50 +0000 (0:00:00.378) 0:00:28.579 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:31:50 +0000 (0:00:00.025) 0:00:28.604 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 26611461-f9cc-40fe-b09f-ae2be1dee666 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:31:50 +0000 (0:00:00.054) 0:00:28.658 ***** 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, 26611461-f9cc-40fe-b09f-ae2be1dee666 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 26611461-f9cc-40fe-b09f-ae2be1dee666 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:31:50 +0000 (0:00:00.026) 0:00:28.685 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:31:50 +0000 (0:00:00.023) 0:00:28.709 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:36 Saturday 16 December 2023 13:31:50 +0000 (0:00:00.209) 0:00:28.919 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 16 December 2023 13:31:50 +0000 (0:00:00.047) 0:00:28.966 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:31:51 +0000 (0:00:00.039) 0:00:29.005 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702733505.45351, "block_size": 4096, "blocks": 0, "ctime": 1702733505.45351, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35942, "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": 1702733505.45351, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 16 December 2023 13:31:51 +0000 (0:00:00.215) 0:00:29.220 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 16 December 2023 13:31:51 +0000 (0:00:00.025) 0:00:29.246 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 December 2023 13:31:51 +0000 (0:00:00.040) 0:00:29.287 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 December 2023 13:31:51 +0000 (0:00:00.022) 0:00:29.310 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 December 2023 13:31:51 +0000 (0:00:00.210) 0:00:29.521 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 December 2023 13:31:51 +0000 (0:00:00.048) 0:00:29.569 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023260", "end": "2023-12-16 13:31:51.795517", "rc": 0, "start": "2023-12-16 13:31:51.772257" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 December 2023 13:31:51 +0000 (0:00:00.240) 0:00:29.809 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 December 2023 13:31:51 +0000 (0:00:00.026) 0:00:29.835 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 December 2023 13:31:51 +0000 (0:00:00.024) 0:00:29.859 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 December 2023 13:31:51 +0000 (0:00:00.023) 0:00:29.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 December 2023 13:31:51 +0000 (0:00:00.023) 0:00:29.906 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 16 December 2023 13:31:51 +0000 (0:00:00.023) 0:00:29.930 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 16 December 2023 13:31:51 +0000 (0:00:00.025) 0:00:29.955 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.025) 0:00:29.981 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:42 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.023) 0:00:30.004 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:47 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.021) 0:00:30.026 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:66 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.023) 0:00:30.049 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.042) 0:00:30.092 ***** 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.075287", "end": "2023-12-16 13:31:52.371048", "rc": 1, "start": "2023-12-16 13:31:52.295761" } STDOUT: Connection 'statebr' (26611461-f9cc-40fe-b09f-ae2be1dee666) 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-weekly-ciifre6qp6/tests/playbooks/tests_states.yml:83 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.322) 0:00:30.414 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:5 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.039) 0:00:30.454 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:9 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.027) 0:00:30.482 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can remove an existing profile without taking it down" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_device_present.yml", "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": "VARIABLE IS NOT DEFINED!: 'lsr_assert_when' is undefined" } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:21 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.044) 0:00:30.527 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.038) 0:00:30.565 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.038) 0:00:30.604 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003878", "end": "2023-12-16 13:31:52.809162", "rc": 0, "start": "2023-12-16 13:31:52.805284" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.218) 0:00:30.822 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.024) 0:00:30.847 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:24 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.031) 0:00:30.878 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 December 2023 13:31:52 +0000 (0:00:00.043) 0:00:30.921 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:31:53 +0000 (0:00:00.066) 0:00:30.988 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:31:53 +0000 (0:00:00.042) 0:00:31.031 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:31:53 +0000 (0:00:00.028) 0:00:31.060 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:31:53 +0000 (0:00:00.022) 0:00:31.082 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:31:53 +0000 (0:00:00.022) 0:00:31.105 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:31:55 +0000 (0:00:02.256) 0:00:33.361 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:31:56 +0000 (0:00:00.945) 0:00:34.307 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:31:56 +0000 (0:00:00.023) 0:00:34.330 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:31:56 +0000 (0:00:00.022) 0:00:34.353 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:31:56 +0000 (0:00:00.026) 0:00:34.379 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:31:56 +0000 (0:00:00.046) 0:00:34.425 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:31:56 +0000 (0:00:00.021) 0:00:34.447 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:31:56 +0000 (0:00:00.022) 0:00:34.469 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:31:56 +0000 (0:00:00.026) 0:00:34.496 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:31:57 +0000 (0:00:00.593) 0:00:35.089 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:31:57 +0000 (0:00:00.029) 0:00:35.118 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:31:57 +0000 (0:00:00.024) 0:00:35.143 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:31:57 +0000 (0:00:00.022) 0:00:35.165 ***** 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, 89fc7545-ce1e-441d-91a3-92c13b22ea01 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:31:57 +0000 (0:00:00.426) 0:00:35.592 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:31:57 +0000 (0:00:00.028) 0:00:35.620 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 89fc7545-ce1e-441d-91a3-92c13b22ea01" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:31:57 +0000 (0:00:00.026) 0:00:35.647 ***** 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, 89fc7545-ce1e-441d-91a3-92c13b22ea01\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 89fc7545-ce1e-441d-91a3-92c13b22ea01" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:31:57 +0000 (0:00:00.024) 0:00:35.672 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:31:57 +0000 (0:00:00.024) 0:00:35.696 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 December 2023 13:31:57 +0000 (0:00:00.210) 0:00:35.906 ***** 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, 89fc7545-ce1e-441d-91a3-92c13b22ea01\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 89fc7545-ce1e-441d-91a3-92c13b22ea01" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/activate_profile.yml:3 Saturday 16 December 2023 13:31:57 +0000 (0:00:00.024) 0:00:35.930 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:31:57 +0000 (0:00:00.038) 0:00:35.968 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:31:58 +0000 (0:00:00.071) 0:00:36.040 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:31:58 +0000 (0:00:00.031) 0:00:36.072 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:31:58 +0000 (0:00:00.024) 0:00:36.097 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:31:58 +0000 (0:00:00.024) 0:00:36.122 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:32:00 +0000 (0:00:02.262) 0:00:38.384 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:32:01 +0000 (0:00:00.946) 0:00:39.331 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:32:01 +0000 (0:00:00.022) 0:00:39.354 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:32:01 +0000 (0:00:00.022) 0:00:39.376 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:32:01 +0000 (0:00:00.022) 0:00:39.398 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:32:01 +0000 (0:00:00.045) 0:00:39.443 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:32:01 +0000 (0:00:00.023) 0:00:39.467 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:32:01 +0000 (0:00:00.022) 0:00:39.489 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:32:01 +0000 (0:00:00.025) 0:00:39.515 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:32:02 +0000 (0:00:00.585) 0:00:40.100 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:32:02 +0000 (0:00:00.030) 0:00:40.131 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:32:02 +0000 (0:00:00.051) 0:00:40.182 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:32:02 +0000 (0:00:00.024) 0:00:40.207 ***** 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, 89fc7545-ce1e-441d-91a3-92c13b22ea01 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:32:02 +0000 (0:00:00.388) 0:00:40.595 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:32:02 +0000 (0:00:00.022) 0:00:40.618 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 89fc7545-ce1e-441d-91a3-92c13b22ea01 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:32:02 +0000 (0:00:00.024) 0:00:40.642 ***** 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, 89fc7545-ce1e-441d-91a3-92c13b22ea01 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 89fc7545-ce1e-441d-91a3-92c13b22ea01 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:32:02 +0000 (0:00:00.024) 0:00:40.667 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:32:02 +0000 (0:00:00.022) 0:00:40.689 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:30 Saturday 16 December 2023 13:32:02 +0000 (0:00:00.211) 0:00:40.901 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/remove_profile.yml:3 Saturday 16 December 2023 13:32:02 +0000 (0:00:00.042) 0:00:40.943 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:32:03 +0000 (0:00:00.042) 0:00:40.985 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:32:03 +0000 (0:00:00.071) 0:00:41.057 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:32:03 +0000 (0:00:00.029) 0:00:41.086 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:32:03 +0000 (0:00:00.023) 0:00:41.109 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:32:03 +0000 (0:00:00.022) 0:00:41.132 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:32:05 +0000 (0:00:02.335) 0:00:43.467 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:32:06 +0000 (0:00:00.955) 0:00:44.423 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:32:06 +0000 (0:00:00.024) 0:00:44.447 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:32:06 +0000 (0:00:00.024) 0:00:44.472 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:32:06 +0000 (0:00:00.025) 0:00:44.497 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:32:06 +0000 (0:00:00.048) 0:00:44.545 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:32:06 +0000 (0:00:00.032) 0:00:44.578 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:32:06 +0000 (0:00:00.027) 0:00:44.605 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:32:06 +0000 (0:00:00.030) 0:00:44.635 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:32:07 +0000 (0:00:00.574) 0:00:45.209 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:32:07 +0000 (0:00:00.027) 0:00:45.237 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:32:07 +0000 (0:00:00.054) 0:00:45.292 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:32:07 +0000 (0:00:00.023) 0:00:45.316 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:32:07 +0000 (0:00:00.412) 0:00:45.728 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:32:07 +0000 (0:00:00.023) 0:00:45.752 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:32:07 +0000 (0:00:00.024) 0:00:45.776 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:32:07 +0000 (0:00:00.023) 0:00:45.800 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:32:07 +0000 (0:00:00.022) 0:00:45.823 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:36 Saturday 16 December 2023 13:32:08 +0000 (0:00:00.209) 0:00:46.032 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 16 December 2023 13:32:08 +0000 (0:00:00.048) 0:00:46.081 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:32:08 +0000 (0:00:00.037) 0:00:46.118 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1702733517.526615, "block_size": 4096, "blocks": 0, "ctime": 1702733517.526615, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36073, "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": 1702733517.526615, "nlink": 1, "path": "/sys/class/net/statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 0, "uid": 0, "wgrp": true, "woth": true, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that the interface is present - 'statebr'] ************************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 16 December 2023 13:32:08 +0000 (0:00:00.213) 0:00:46.332 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 December 2023 13:32:08 +0000 (0:00:00.061) 0:00:46.393 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 December 2023 13:32:08 +0000 (0:00:00.042) 0:00:46.436 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 December 2023 13:32:08 +0000 (0:00:00.031) 0:00:46.467 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 December 2023 13:32:08 +0000 (0:00:00.216) 0:00:46.684 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 December 2023 13:32:08 +0000 (0:00:00.024) 0:00:46.709 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023196", "end": "2023-12-16 13:32:08.933139", "rc": 1, "start": "2023-12-16 13:32:08.909943" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 December 2023 13:32:08 +0000 (0:00:00.239) 0:00:46.948 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 December 2023 13:32:08 +0000 (0:00:00.024) 0:00:46.973 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 December 2023 13:32:09 +0000 (0:00:00.024) 0:00:46.998 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 December 2023 13:32:09 +0000 (0:00:00.025) 0:00:47.024 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 December 2023 13:32:09 +0000 (0:00:00.034) 0:00:47.058 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 December 2023 13:32:09 +0000 (0:00:00.044) 0:00:47.103 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:42 Saturday 16 December 2023 13:32:09 +0000 (0:00:00.026) 0:00:47.130 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:47 Saturday 16 December 2023 13:32:09 +0000 (0:00:00.024) 0:00:47.154 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:66 Saturday 16 December 2023 13:32:09 +0000 (0:00:00.024) 0:00:47.179 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 December 2023 13:32:09 +0000 (0:00:00.102) 0:00:47.282 ***** 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.069996", "end": "2023-12-16 13:32:09.554402", "rc": 1, "start": "2023-12-16 13:32:09.484406" } STDOUT: Connection 'statebr' (89fc7545-ce1e-441d-91a3-92c13b22ea01) 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-weekly-ciifre6qp6/tests/playbooks/tests_states.yml:103 Saturday 16 December 2023 13:32:09 +0000 (0:00:00.294) 0:00:47.576 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:5 Saturday 16 December 2023 13:32:09 +0000 (0:00:00.039) 0:00:47.616 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:9 Saturday 16 December 2023 13:32:09 +0000 (0:00:00.024) 0:00:47.640 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I can take a profile down that is absent" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:21 Saturday 16 December 2023 13:32:09 +0000 (0:00:00.047) 0:00:47.687 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:32:09 +0000 (0:00:00.039) 0:00:47.726 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:32:09 +0000 (0:00:00.037) 0:00:47.763 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003972", "end": "2023-12-16 13:32:09.972067", "rc": 0, "start": "2023-12-16 13:32:09.968095" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:32:10 +0000 (0:00:00.222) 0:00:47.986 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:32:10 +0000 (0:00:00.024) 0:00:48.010 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:24 Saturday 16 December 2023 13:32:10 +0000 (0:00:00.022) 0:00:48.033 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 December 2023 13:32:10 +0000 (0:00:00.089) 0:00:48.122 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:32:10 +0000 (0:00:00.040) 0:00:48.163 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:32:10 +0000 (0:00:00.044) 0:00:48.207 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:32:10 +0000 (0:00:00.028) 0:00:48.236 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:32:10 +0000 (0:00:00.021) 0:00:48.258 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:32:10 +0000 (0:00:00.022) 0:00:48.280 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:32:12 +0000 (0:00:02.271) 0:00:50.552 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:32:13 +0000 (0:00:00.925) 0:00:51.477 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:32:13 +0000 (0:00:00.024) 0:00:51.502 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:32:13 +0000 (0:00:00.023) 0:00:51.525 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:32:13 +0000 (0:00:00.026) 0:00:51.552 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:32:13 +0000 (0:00:00.047) 0:00:51.599 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:32:13 +0000 (0:00:00.023) 0:00:51.622 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:32:13 +0000 (0:00:00.047) 0:00:51.670 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:32:13 +0000 (0:00:00.034) 0:00:51.704 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:32:14 +0000 (0:00:00.585) 0:00:52.290 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:32:14 +0000 (0:00:00.058) 0:00:52.349 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:32:14 +0000 (0:00:00.046) 0:00:52.395 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:32:14 +0000 (0:00:00.032) 0:00:52.428 ***** 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, 98f79d20-c95a-487e-9183-6a63561c90be TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:32:14 +0000 (0:00:00.439) 0:00:52.867 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:32:14 +0000 (0:00:00.027) 0:00:52.894 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98f79d20-c95a-487e-9183-6a63561c90be" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:32:14 +0000 (0:00:00.027) 0:00:52.922 ***** 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, 98f79d20-c95a-487e-9183-6a63561c90be\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98f79d20-c95a-487e-9183-6a63561c90be" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:32:14 +0000 (0:00:00.042) 0:00:52.965 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:32:15 +0000 (0:00:00.037) 0:00:53.002 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 December 2023 13:32:15 +0000 (0:00:00.263) 0:00:53.266 ***** 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, 98f79d20-c95a-487e-9183-6a63561c90be\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 98f79d20-c95a-487e-9183-6a63561c90be" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/activate_profile.yml:3 Saturday 16 December 2023 13:32:15 +0000 (0:00:00.035) 0:00:53.301 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:32:15 +0000 (0:00:00.082) 0:00:53.383 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:32:15 +0000 (0:00:00.072) 0:00:53.456 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:32:15 +0000 (0:00:00.040) 0:00:53.497 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:32:15 +0000 (0:00:00.036) 0:00:53.533 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:32:15 +0000 (0:00:00.024) 0:00:53.558 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:32:17 +0000 (0:00:02.253) 0:00:55.811 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:32:18 +0000 (0:00:00.997) 0:00:56.809 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:32:18 +0000 (0:00:00.029) 0:00:56.838 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:32:18 +0000 (0:00:00.058) 0:00:56.897 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:32:18 +0000 (0:00:00.040) 0:00:56.937 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:32:19 +0000 (0:00:00.046) 0:00:56.984 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:32:19 +0000 (0:00:00.023) 0:00:57.007 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:32:19 +0000 (0:00:00.022) 0:00:57.030 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:32:19 +0000 (0:00:00.025) 0:00:57.056 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:32:19 +0000 (0:00:00.591) 0:00:57.647 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:32:19 +0000 (0:00:00.028) 0:00:57.676 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:32:19 +0000 (0:00:00.025) 0:00:57.701 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:32:19 +0000 (0:00:00.022) 0:00:57.724 ***** 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, 98f79d20-c95a-487e-9183-6a63561c90be skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:32:20 +0000 (0:00:00.383) 0:00:58.107 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:32:20 +0000 (0:00:00.031) 0:00:58.138 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 98f79d20-c95a-487e-9183-6a63561c90be skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:32:20 +0000 (0:00:00.028) 0:00:58.166 ***** 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, 98f79d20-c95a-487e-9183-6a63561c90be skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 98f79d20-c95a-487e-9183-6a63561c90be skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:32:20 +0000 (0:00:00.036) 0:00:58.202 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:32:20 +0000 (0:00:00.024) 0:00:58.226 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/remove_profile.yml:3 Saturday 16 December 2023 13:32:20 +0000 (0:00:00.221) 0:00:58.448 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:32:20 +0000 (0:00:00.047) 0:00:58.495 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:32:20 +0000 (0:00:00.046) 0:00:58.542 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:32:20 +0000 (0:00:00.062) 0:00:58.604 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:32:20 +0000 (0:00:00.024) 0:00:58.628 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:32:20 +0000 (0:00:00.024) 0:00:58.653 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:32:22 +0000 (0:00:02.258) 0:01:00.911 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:32:23 +0000 (0:00:00.936) 0:01:01.848 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:32:23 +0000 (0:00:00.024) 0:01:01.872 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:32:23 +0000 (0:00:00.021) 0:01:01.894 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:32:23 +0000 (0:00:00.022) 0:01:01.916 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:32:23 +0000 (0:00:00.045) 0:01:01.961 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:32:24 +0000 (0:00:00.021) 0:01:01.983 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:32:24 +0000 (0:00:00.022) 0:01:02.006 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:32:24 +0000 (0:00:00.026) 0:01:02.032 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:32:24 +0000 (0:00:00.560) 0:01:02.592 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:32:24 +0000 (0:00:00.026) 0:01:02.619 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:32:24 +0000 (0:00:00.027) 0:01:02.646 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:32:24 +0000 (0:00:00.025) 0:01:02.671 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:32:25 +0000 (0:00:00.440) 0:01:03.112 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:32:25 +0000 (0:00:00.024) 0:01:03.136 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:32:25 +0000 (0:00:00.034) 0:01:03.171 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:32:25 +0000 (0:00:00.025) 0:01:03.197 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:32:25 +0000 (0:00:00.037) 0:01:03.234 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:30 Saturday 16 December 2023 13:32:25 +0000 (0:00:00.207) 0:01:03.442 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 December 2023 13:32:25 +0000 (0:00:00.042) 0:01:03.485 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:32:25 +0000 (0:00:00.043) 0:01:03.528 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:32:25 +0000 (0:00:00.043) 0:01:03.571 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:32:25 +0000 (0:00:00.028) 0:01:03.600 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:32:25 +0000 (0:00:00.023) 0:01:03.623 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:32:25 +0000 (0:00:00.051) 0:01:03.675 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:32:27 +0000 (0:00:02.237) 0:01:05.912 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:32:28 +0000 (0:00:00.918) 0:01:06.830 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:32:28 +0000 (0:00:00.024) 0:01:06.855 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:32:28 +0000 (0:00:00.052) 0:01:06.907 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:32:28 +0000 (0:00:00.024) 0:01:06.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-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:32:28 +0000 (0:00:00.045) 0:01:06.977 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:32:29 +0000 (0:00:00.023) 0:01:07.001 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:32:29 +0000 (0:00:00.023) 0:01:07.025 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:32:29 +0000 (0:00:00.026) 0:01:07.051 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:32:29 +0000 (0:00:00.561) 0:01:07.613 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:32:29 +0000 (0:00:00.026) 0:01:07.639 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:32:29 +0000 (0:00:00.023) 0:01:07.663 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:32:29 +0000 (0:00:00.022) 0:01:07.686 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: [001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:32:30 +0000 (0:00:00.487) 0:01:08.173 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:32:30 +0000 (0:00:00.023) 0:01:08.197 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:32:30 +0000 (0:00:00.054) 0:01:08.251 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[001] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:32:30 +0000 (0:00:00.024) 0:01:08.276 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:32:30 +0000 (0:00:00.022) 0:01:08.298 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:36 Saturday 16 December 2023 13:32:30 +0000 (0:00:00.209) 0:01:08.508 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 December 2023 13:32:30 +0000 (0:00:00.044) 0:01:08.552 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 December 2023 13:32:30 +0000 (0:00:00.041) 0:01:08.594 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 December 2023 13:32:30 +0000 (0:00:00.040) 0:01:08.634 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 December 2023 13:32:30 +0000 (0:00:00.229) 0:01:08.863 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 December 2023 13:32:30 +0000 (0:00:00.023) 0:01:08.887 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022397", "end": "2023-12-16 13:32:31.109703", "rc": 1, "start": "2023-12-16 13:32:31.087306" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 December 2023 13:32:31 +0000 (0:00:00.236) 0:01:09.123 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 December 2023 13:32:31 +0000 (0:00:00.024) 0:01:09.148 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 December 2023 13:32:31 +0000 (0:00:00.022) 0:01:09.171 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 December 2023 13:32:31 +0000 (0:00:00.051) 0:01:09.222 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 December 2023 13:32:31 +0000 (0:00:00.029) 0:01:09.251 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 December 2023 13:32:31 +0000 (0:00:00.027) 0:01:09.279 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:42 Saturday 16 December 2023 13:32:31 +0000 (0:00:00.026) 0:01:09.306 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 December 2023 13:32:31 +0000 (0:00:00.045) 0:01:09.351 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:32:31 +0000 (0:00:00.040) 0:01:09.392 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 December 2023 13:32:31 +0000 (0:00:00.215) 0:01:09.607 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can take a profile down that is absent'] ************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:47 Saturday 16 December 2023 13:32:31 +0000 (0:00:00.027) 0:01:09.634 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:66 Saturday 16 December 2023 13:32:31 +0000 (0:00:00.024) 0:01:09.658 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 December 2023 13:32:31 +0000 (0:00:00.042) 0:01:09.701 ***** 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.042932", "end": "2023-12-16 13:32:31.945521", "rc": 1, "start": "2023-12-16 13:32:31.902589" } 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-weekly-ciifre6qp6/tests/playbooks/tests_states.yml:126 Saturday 16 December 2023 13:32:31 +0000 (0:00:00.265) 0:01:09.967 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I will not get an error when I try to remove an absent profile] **** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:5 Saturday 16 December 2023 13:32:32 +0000 (0:00:00.082) 0:01:10.049 ***** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:9 Saturday 16 December 2023 13:32:32 +0000 (0:00:00.054) 0:01:10.104 ***** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:21 Saturday 16 December 2023 13:32:32 +0000 (0:00:00.054) 0:01:10.158 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 16 December 2023 13:32:32 +0000 (0:00:00.040) 0:01:10.199 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 16 December 2023 13:32:32 +0000 (0:00:00.041) 0:01:10.240 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004976", "end": "2023-12-16 13:32:33.446994", "rc": 0, "start": "2023-12-16 13:32:32.442018" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 16 December 2023 13:32:33 +0000 (0:00:01.221) 0:01:11.462 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 16 December 2023 13:32:33 +0000 (0:00:00.025) 0:01:11.487 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:24 Saturday 16 December 2023 13:32:33 +0000 (0:00:00.025) 0:01:11.512 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 16 December 2023 13:32:33 +0000 (0:00:00.075) 0:01:11.587 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:32:33 +0000 (0:00:00.041) 0:01:11.629 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:32:33 +0000 (0:00:00.046) 0:01:11.675 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:32:33 +0000 (0:00:00.035) 0:01:11.711 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:32:33 +0000 (0:00:00.025) 0:01:11.737 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:32:33 +0000 (0:00:00.025) 0:01:11.762 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:32:36 +0000 (0:00:02.291) 0:01:14.054 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:32:37 +0000 (0:00:00.926) 0:01:14.980 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:32:37 +0000 (0:00:00.024) 0:01:15.005 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:32:37 +0000 (0:00:00.023) 0:01:15.028 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:32:37 +0000 (0:00:00.024) 0:01:15.052 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:32:37 +0000 (0:00:00.046) 0:01:15.099 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:32:37 +0000 (0:00:00.023) 0:01:15.122 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:32:37 +0000 (0:00:00.022) 0:01:15.145 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:32:37 +0000 (0:00:00.056) 0:01:15.201 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:32:37 +0000 (0:00:00.569) 0:01:15.771 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:32:37 +0000 (0:00:00.027) 0:01:15.798 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:32:37 +0000 (0:00:00.024) 0:01:15.823 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:32:37 +0000 (0:00:00.023) 0:01:15.846 ***** 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, d5bc765d-19aa-4d18-a813-459cfe02cf1e TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:32:38 +0000 (0:00:00.426) 0:01:16.272 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:32:38 +0000 (0:00:00.023) 0:01:16.296 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5bc765d-19aa-4d18-a813-459cfe02cf1e" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:32:38 +0000 (0:00:00.025) 0:01:16.321 ***** 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, d5bc765d-19aa-4d18-a813-459cfe02cf1e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5bc765d-19aa-4d18-a813-459cfe02cf1e" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:32:38 +0000 (0:00:00.026) 0:01:16.348 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:32:38 +0000 (0:00:00.023) 0:01:16.371 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 16 December 2023 13:32:38 +0000 (0:00:00.208) 0:01:16.579 ***** 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, d5bc765d-19aa-4d18-a813-459cfe02cf1e\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d5bc765d-19aa-4d18-a813-459cfe02cf1e" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/activate_profile.yml:3 Saturday 16 December 2023 13:32:38 +0000 (0:00:00.023) 0:01:16.603 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:32:38 +0000 (0:00:00.063) 0:01:16.667 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:32:38 +0000 (0:00:00.043) 0:01:16.711 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:32:38 +0000 (0:00:00.028) 0:01:16.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:32:38 +0000 (0:00:00.023) 0:01:16.762 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:32:38 +0000 (0:00:00.023) 0:01:16.786 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:32:41 +0000 (0:00:02.322) 0:01:19.108 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:32:42 +0000 (0:00:00.924) 0:01:20.033 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:32:42 +0000 (0:00:00.024) 0:01:20.058 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:32:42 +0000 (0:00:00.022) 0:01:20.080 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:32:42 +0000 (0:00:00.023) 0:01:20.104 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:32:42 +0000 (0:00:00.045) 0:01:20.149 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:32:42 +0000 (0:00:00.023) 0:01:20.172 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:32:42 +0000 (0:00:00.023) 0:01:20.195 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:32:42 +0000 (0:00:00.026) 0:01:20.222 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:32:42 +0000 (0:00:00.564) 0:01:20.786 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:32:42 +0000 (0:00:00.026) 0:01:20.813 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:32:42 +0000 (0:00:00.023) 0:01:20.837 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:32:42 +0000 (0:00:00.023) 0:01:20.861 ***** 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, d5bc765d-19aa-4d18-a813-459cfe02cf1e skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:32:43 +0000 (0:00:00.375) 0:01:21.236 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:32:43 +0000 (0:00:00.023) 0:01:21.259 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d5bc765d-19aa-4d18-a813-459cfe02cf1e skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:32:43 +0000 (0:00:00.024) 0:01:21.284 ***** 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, d5bc765d-19aa-4d18-a813-459cfe02cf1e skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d5bc765d-19aa-4d18-a813-459cfe02cf1e skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:32:43 +0000 (0:00:00.024) 0:01:21.309 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:32:43 +0000 (0:00:00.023) 0:01:21.332 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 December 2023 13:32:43 +0000 (0:00:00.208) 0:01:21.540 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:32:43 +0000 (0:00:00.038) 0:01:21.579 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:32:43 +0000 (0:00:00.069) 0:01:21.648 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:32:43 +0000 (0:00:00.029) 0:01:21.678 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:32:43 +0000 (0:00:00.023) 0:01:21.701 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:32:43 +0000 (0:00:00.021) 0:01:21.723 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:32:46 +0000 (0:00:02.260) 0:01:23.984 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:32:46 +0000 (0:00:00.949) 0:01:24.933 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:32:46 +0000 (0:00:00.024) 0:01:24.958 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:32:47 +0000 (0:00:00.023) 0:01:24.982 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:32:47 +0000 (0:00:00.021) 0:01:25.003 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:32:47 +0000 (0:00:00.046) 0:01:25.050 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:32:47 +0000 (0:00:00.023) 0:01:25.074 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:32:47 +0000 (0:00:00.022) 0:01:25.097 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:32:47 +0000 (0:00:00.028) 0:01:25.125 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:32:47 +0000 (0:00:00.569) 0:01:25.695 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:32:47 +0000 (0:00:00.057) 0:01:25.753 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:32:47 +0000 (0:00:00.025) 0:01:25.778 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:32:47 +0000 (0:00:00.022) 0:01:25.800 ***** changed: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true } STDERR: TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:32:48 +0000 (0:00:00.472) 0:01:26.273 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:32:48 +0000 (0:00:00.024) 0:01:26.297 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:32:48 +0000 (0:00:00.024) 0:01:26.322 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:32:48 +0000 (0:00:00.024) 0:01:26.347 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:32:48 +0000 (0:00:00.024) 0:01:26.371 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:30 Saturday 16 December 2023 13:32:48 +0000 (0:00:00.209) 0:01:26.581 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 16 December 2023 13:32:48 +0000 (0:00:00.050) 0:01:26.632 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 16 December 2023 13:32:48 +0000 (0:00:00.039) 0:01:26.671 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml for sut TASK [linux-system-roles.network : Ensure ansible_facts used by role are present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 16 December 2023 13:32:48 +0000 (0:00:00.072) 0:01:26.744 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 16 December 2023 13:32:48 +0000 (0:00:00.029) 0:01:26.774 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 16 December 2023 13:32:48 +0000 (0:00:00.023) 0:01:26.798 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 16 December 2023 13:32:48 +0000 (0:00:00.023) 0:01:26.821 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 16 December 2023 13:32:51 +0000 (0:00:02.261) 0:01:29.082 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 16 December 2023 13:32:52 +0000 (0:00:00.942) 0:01:30.024 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 16 December 2023 13:32:52 +0000 (0:00:00.023) 0:01:30.048 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 16 December 2023 13:32:52 +0000 (0:00:00.022) 0:01:30.070 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 16 December 2023 13:32:52 +0000 (0:00:00.023) 0:01:30.094 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 16 December 2023 13:32:52 +0000 (0:00:00.044) 0:01:30.138 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 16 December 2023 13:32:52 +0000 (0:00:00.022) 0:01:30.160 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 16 December 2023 13:32:52 +0000 (0:00:00.022) 0:01:30.182 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 16 December 2023 13:32:52 +0000 (0:00:00.024) 0:01:30.207 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 16 December 2023 13:32:52 +0000 (0:00:00.592) 0:01:30.800 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 16 December 2023 13:32:52 +0000 (0:00:00.027) 0:01:30.827 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 16 December 2023 13:32:52 +0000 (0:00:00.022) 0:01:30.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 16 December 2023 13:32:52 +0000 (0:00:00.022) 0:01:30.872 ***** ok: [sut] => { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false } STDERR: [002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 16 December 2023 13:32:53 +0000 (0:00:00.396) 0:01:31.269 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 16 December 2023 13:32:53 +0000 (0:00:00.023) 0:01:31.292 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 16 December 2023 13:32:53 +0000 (0:00:00.024) 0:01:31.317 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent", "state": "down" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": false, "failed": false, "stderr": "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete\n", "stderr_lines": [ "[002] #0, state:down persistent_state:absent, 'statebr': no connection matches 'statebr' to delete" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 16 December 2023 13:32:53 +0000 (0:00:00.023) 0:01:31.341 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 16 December 2023 13:32:53 +0000 (0:00:00.022) 0:01:31.363 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:36 Saturday 16 December 2023 13:32:53 +0000 (0:00:00.208) 0:01:31.572 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 16 December 2023 13:32:53 +0000 (0:00:00.045) 0:01:31.617 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 16 December 2023 13:32:53 +0000 (0:00:00.038) 0:01:31.656 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 16 December 2023 13:32:53 +0000 (0:00:00.054) 0:01:31.711 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 16 December 2023 13:32:53 +0000 (0:00:00.211) 0:01:31.922 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 16 December 2023 13:32:53 +0000 (0:00:00.023) 0:01:31.945 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022570", "end": "2023-12-16 13:32:54.169831", "rc": 1, "start": "2023-12-16 13:32:54.147261" } MSG: non-zero return code ...ignoring TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 16 December 2023 13:32:54 +0000 (0:00:00.237) 0:01:32.183 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 16 December 2023 13:32:54 +0000 (0:00:00.024) 0:01:32.207 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 16 December 2023 13:32:54 +0000 (0:00:00.024) 0:01:32.232 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 16 December 2023 13:32:54 +0000 (0:00:00.023) 0:01:32.256 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 16 December 2023 13:32:54 +0000 (0:00:00.024) 0:01:32.280 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 16 December 2023 13:32:54 +0000 (0:00:00.023) 0:01:32.304 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 16 December 2023 13:32:54 +0000 (0:00:00.024) 0:01:32.329 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.365537", "end": "2023-12-16 13:32:54.893489", "rc": 0, "start": "2023-12-16 13:32:54.527952" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 16 December 2023 13:32:54 +0000 (0:00:00.579) 0:01:32.908 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 16 December 2023 13:32:54 +0000 (0:00:00.023) 0:01:32.932 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:42 Saturday 16 December 2023 13:32:54 +0000 (0:00:00.022) 0:01:32.955 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 16 December 2023 13:32:55 +0000 (0:00:00.075) 0:01:33.030 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 16 December 2023 13:32:55 +0000 (0:00:00.038) 0:01:33.069 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 16 December 2023 13:32:55 +0000 (0:00:00.213) 0:01:33.282 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I will not get an error when I try to remove an absent profile'] *** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:47 Saturday 16 December 2023 13:32:55 +0000 (0:00:00.026) 0:01:33.308 ***** ok: [sut] => {} MSG: +++++ Success in test 'I will not get an error when I try to remove an absent profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/run_test.yml:66 Saturday 16 December 2023 13:32:55 +0000 (0:00:00.023) 0:01:33.332 ***** included: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciifre6qp6/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 16 December 2023 13:32:55 +0000 (0:00:00.043) 0:01:33.376 ***** 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.044633", "end": "2023-12-16 13:32:55.619448", "rc": 1, "start": "2023-12-16 13:32:55.574815" } 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 Saturday 16 December 2023 13:32:55 +0000 (0:00:00.242) 0:01:33.618 ***** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.06s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 2.34s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.32s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.31s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 2.31s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.31s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.30s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.29s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.29s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.27s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.26s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.25s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.24s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.23s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.72s /WORKDIR/git-weekly-ciifre6qp6/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.52s /WORKDIR/git-weekly-ciifre6qp6/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. ---^---^---^---^---^---