# 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-cip6tycndo/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/tests_states_nm.yml:5 Saturday 02 December 2023 14:06:39 +0000 (0:00:00.020) 0:00:00.020 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/tests_states_nm.yml:9 Saturday 02 December 2023 14:06:40 +0000 (0:00:00.947) 0:00:00.968 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/tasks/el_repo_setup.yml:3 Saturday 02 December 2023 14:06:40 +0000 (0:00:00.028) 0:00:00.997 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/tasks/el_repo_setup.yml:19 Saturday 02 December 2023 14:06:40 +0000 (0:00:00.546) 0:00:01.543 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/tasks/el_repo_setup.yml:24 Saturday 02 December 2023 14:06:41 +0000 (0:00:00.276) 0:00:01.820 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/tasks/el_repo_setup.yml:28 Saturday 02 December 2023 14:06:41 +0000 (0:00:00.025) 0:00:01.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/tasks/el_repo_setup.yml:53 Saturday 02 December 2023 14:06:41 +0000 (0:00:00.021) 0:00:01.867 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 37] ********************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/tasks/enable_epel.yml:8 Saturday 02 December 2023 14:06:41 +0000 (0:00:00.042) 0:00:01.909 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/tasks/enable_epel.yml:24 Saturday 02 December 2023 14:06:41 +0000 (0:00:00.012) 0:00:01.922 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/tasks/enable_epel.yml:30 Saturday 02 December 2023 14:06:41 +0000 (0:00:00.014) 0:00:01.936 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/tasks/enable_epel.yml:35 Saturday 02 December 2023 14:06:41 +0000 (0:00:00.011) 0:00:01.947 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/tasks/enable_epel.yml:40 Saturday 02 December 2023 14:06:41 +0000 (0:00:00.010) 0:00:01.958 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/tests_states_nm.yml:11 Saturday 02 December 2023 14:06:41 +0000 (0:00:00.010) 0:00:01.968 ***** 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-cip6tycndo/tests/playbooks/tests_states.yml:3 Saturday 02 December 2023 14:06:41 +0000 (0:00:00.012) 0:00:01.981 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tests_states.yml:11 Saturday 02 December 2023 14:06:42 +0000 (0:00:00.793) 0:00:02.775 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tests_states.yml:22 Saturday 02 December 2023 14:06:42 +0000 (0:00:00.017) 0:00:02.792 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:06:42 +0000 (0:00:00.023) 0:00:02.815 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:06:42 +0000 (0:00:00.014) 0:00:02.830 ***** 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-cip6tycndo/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:06:42 +0000 (0:00:00.045) 0:00:02.876 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:06:42 +0000 (0:00:00.019) 0:00:02.895 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:06:42 +0000 (0:00:00.018) 0:00:02.914 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005052", "end": "2023-12-02 14:06:43.588585", "rc": 0, "start": "2023-12-02 14:06:42.583533" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:06:43 +0000 (0:00:01.300) 0:00:04.214 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:06:43 +0000 (0:00:00.020) 0:00:04.235 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:06:43 +0000 (0:00:00.016) 0:00:04.251 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/delete_interface.yml:3 Saturday 02 December 2023 14:06:43 +0000 (0:00:00.030) 0:00:04.282 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008841", "end": "2023-12-02 14:06:43.872984", "rc": 1, "start": "2023-12-02 14:06:43.864143" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 December 2023 14:06:43 +0000 (0:00:00.219) 0:00:04.501 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:06:43 +0000 (0:00:00.026) 0:00:04.527 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 December 2023 14:06:44 +0000 (0:00:00.216) 0:00:04.744 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:06:44 +0000 (0:00:00.021) 0:00:04.765 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:06:44 +0000 (0:00:00.033) 0:00:04.798 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:06:44 +0000 (0:00:00.050) 0:00:04.848 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:06:44 +0000 (0:00:00.095) 0:00:04.944 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:06:44 +0000 (0:00:00.016) 0:00:04.961 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:06:44 +0000 (0:00:00.015) 0:00:04.977 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:06:44 +0000 (0:00:00.017) 0:00:04.994 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:06:46 +0000 (0:00:02.136) 0:00:07.130 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:06:47 +0000 (0:00:01.064) 0:00:08.195 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:06:47 +0000 (0:00:00.029) 0:00:08.224 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:06:47 +0000 (0:00:00.027) 0:00:08.251 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:06:47 +0000 (0:00:00.029) 0:00:08.281 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:06:47 +0000 (0:00:00.070) 0:00:08.352 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:06:47 +0000 (0:00:00.037) 0:00:08.389 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:06:47 +0000 (0:00:00.029) 0:00:08.419 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:06:47 +0000 (0:00:00.034) 0:00:08.453 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:06:48 +0000 (0:00:00.785) 0:00:09.238 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:06:48 +0000 (0:00:00.034) 0:00:09.273 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:06:48 +0000 (0:00:00.028) 0:00:09.301 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:06:48 +0000 (0:00:00.026) 0:00:09.328 ***** 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, c558b0df-1c57-4001-8d57-c99a939a3846 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:06:49 +0000 (0:00:00.584) 0:00:09.912 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:06:49 +0000 (0:00:00.029) 0:00:09.942 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c558b0df-1c57-4001-8d57-c99a939a3846" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:06:49 +0000 (0:00:00.030) 0:00:09.972 ***** 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, c558b0df-1c57-4001-8d57-c99a939a3846\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c558b0df-1c57-4001-8d57-c99a939a3846" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:06:49 +0000 (0:00:00.031) 0:00:10.003 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:06:49 +0000 (0:00:00.026) 0:00:10.030 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:06:49 +0000 (0:00:00.313) 0:00:10.343 ***** 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, c558b0df-1c57-4001-8d57-c99a939a3846\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c558b0df-1c57-4001-8d57-c99a939a3846" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:06:49 +0000 (0:00:00.029) 0:00:10.372 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 December 2023 14:06:49 +0000 (0:00:00.083) 0:00:10.456 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:06:49 +0000 (0:00:00.054) 0:00:10.510 ***** 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:06:49 +0000 (0:00:00.029) 0:00:10.539 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:06:50 +0000 (0:00:00.220) 0:00:10.760 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:06:50 +0000 (0:00:00.028) 0:00:10.788 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022512", "end": "2023-12-02 14:06:50.394433", "rc": 0, "start": "2023-12-02 14:06:50.371921" } 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:06:50 +0000 (0:00:00.247) 0:00:11.035 ***** 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:06:50 +0000 (0:00:00.031) 0:00:11.067 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:06:50 +0000 (0:00:00.027) 0:00:11.095 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:06:50 +0000 (0:00:00.032) 0:00:11.128 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:06:50 +0000 (0:00:00.029) 0:00:11.157 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 December 2023 14:06:50 +0000 (0:00:00.037) 0:00:11.195 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 December 2023 14:06:50 +0000 (0:00:00.033) 0:00:11.228 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 December 2023 14:06:50 +0000 (0:00:00.033) 0:00:11.261 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:06:50 +0000 (0:00:00.064) 0:00:11.326 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 02 December 2023 14:06:50 +0000 (0:00:00.059) 0:00:11.385 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:06:50 +0000 (0:00:00.047) 0:00:11.433 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701526009.2194633, "block_size": 4096, "blocks": 0, "ctime": 1701526009.2194633, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 31902, "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": 1701526009.2194633, "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-cip6tycndo/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 02 December 2023 14:06:51 +0000 (0:00:00.224) 0:00:11.658 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:06:51 +0000 (0:00:00.035) 0:00:11.693 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:06:51 +0000 (0:00:00.036) 0:00:11.730 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:06:51 +0000 (0:00:00.066) 0:00:11.796 ***** 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.064606", "end": "2023-12-02 14:06:51.444751", "rc": 1, "start": "2023-12-02 14:06:51.380145" } STDOUT: Connection 'statebr' (c558b0df-1c57-4001-8d57-c99a939a3846) 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-cip6tycndo/tests/playbooks/tests_states.yml:45 Saturday 02 December 2023 14:06:51 +0000 (0:00:00.291) 0:00:12.088 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:06:51 +0000 (0:00:00.055) 0:00:12.144 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:06:51 +0000 (0:00:00.030) 0:00:12.174 ***** 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-cip6tycndo/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:06:51 +0000 (0:00:00.091) 0:00:12.265 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:06:51 +0000 (0:00:00.051) 0:00:12.316 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:06:51 +0000 (0:00:00.052) 0:00:12.369 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003821", "end": "2023-12-02 14:06:51.961399", "rc": 0, "start": "2023-12-02 14:06:51.957578" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:06:52 +0000 (0:00:00.241) 0:00:12.610 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:06:52 +0000 (0:00:00.029) 0:00:12.640 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:06:52 +0000 (0:00:00.030) 0:00:12.670 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/delete_interface.yml:3 Saturday 02 December 2023 14:06:52 +0000 (0:00:00.063) 0:00:12.734 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006780", "end": "2023-12-02 14:06:52.325199", "rc": 1, "start": "2023-12-02 14:06:52.318419" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 December 2023 14:06:52 +0000 (0:00:00.229) 0:00:12.963 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:06:52 +0000 (0:00:00.047) 0:00:13.010 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 December 2023 14:06:52 +0000 (0:00:00.221) 0:00:13.232 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:06:52 +0000 (0:00:00.057) 0:00:13.290 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 02 December 2023 14:06:52 +0000 (0:00:00.056) 0:00:13.346 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:06:52 +0000 (0:00:00.055) 0:00:13.402 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:06:52 +0000 (0:00:00.059) 0:00:13.461 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:06:52 +0000 (0:00:00.034) 0:00:13.496 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:06:52 +0000 (0:00:00.027) 0:00:13.523 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:06:52 +0000 (0:00:00.027) 0:00:13.550 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:06:55 +0000 (0:00:02.058) 0:00:15.608 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:06:55 +0000 (0:00:00.871) 0:00:16.480 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:06:55 +0000 (0:00:00.039) 0:00:16.519 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:06:55 +0000 (0:00:00.035) 0:00:16.555 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:06:55 +0000 (0:00:00.033) 0:00:16.588 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:06:56 +0000 (0:00:00.061) 0:00:16.650 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:06:56 +0000 (0:00:00.029) 0:00:16.680 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:06:56 +0000 (0:00:00.063) 0:00:16.743 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:06:56 +0000 (0:00:00.039) 0:00:16.782 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:06:56 +0000 (0:00:00.598) 0:00:17.381 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:06:56 +0000 (0:00:00.034) 0:00:17.415 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:06:56 +0000 (0:00:00.026) 0:00:17.442 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:06:56 +0000 (0:00:00.026) 0:00:17.469 ***** 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, 2d9bbc6d-1b7a-4e98-a717-1e7771c37726 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:06:57 +0000 (0:00:00.406) 0:00:17.875 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:06:57 +0000 (0:00:00.031) 0:00:17.906 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2d9bbc6d-1b7a-4e98-a717-1e7771c37726" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:06:57 +0000 (0:00:00.038) 0:00:17.945 ***** 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, 2d9bbc6d-1b7a-4e98-a717-1e7771c37726\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2d9bbc6d-1b7a-4e98-a717-1e7771c37726" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:06:57 +0000 (0:00:00.030) 0:00:17.975 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:06:57 +0000 (0:00:00.028) 0:00:18.004 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 02 December 2023 14:06:57 +0000 (0:00:00.212) 0:00:18.217 ***** 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, 2d9bbc6d-1b7a-4e98-a717-1e7771c37726\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2d9bbc6d-1b7a-4e98-a717-1e7771c37726" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:06:57 +0000 (0:00:00.054) 0:00:18.271 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 December 2023 14:06:57 +0000 (0:00:00.056) 0:00:18.328 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:06:57 +0000 (0:00:00.049) 0:00:18.378 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.223) 0:00:18.601 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.029) 0:00:18.631 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.053) 0:00:18.684 ***** 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.032) 0:00:18.717 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.223) 0:00:18.941 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.039) 0:00:18.980 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022325", "end": "2023-12-02 14:06:58.588848", "rc": 0, "start": "2023-12-02 14:06:58.566523" } 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.250) 0:00:19.231 ***** 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.031) 0:00:19.263 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.064) 0:00:19.327 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.032) 0:00:19.359 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.030) 0:00:19.390 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.029) 0:00:19.419 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.031) 0:00:19.451 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.030) 0:00:19.481 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.029) 0:00:19.511 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.027) 0:00:19.538 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:06:58 +0000 (0:00:00.027) 0:00:19.566 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:06:59 +0000 (0:00:00.051) 0:00:19.618 ***** 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.045193", "end": "2023-12-02 14:06:59.244805", "rc": 1, "start": "2023-12-02 14:06:59.199612" } STDOUT: Connection 'statebr' (2d9bbc6d-1b7a-4e98-a717-1e7771c37726) 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-cip6tycndo/tests/playbooks/tests_states.yml:65 Saturday 02 December 2023 14:06:59 +0000 (0:00:00.265) 0:00:19.883 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:06:59 +0000 (0:00:00.046) 0:00:19.930 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:06:59 +0000 (0:00:00.028) 0:00:19.959 ***** 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-cip6tycndo/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:06:59 +0000 (0:00:00.082) 0:00:20.041 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:06:59 +0000 (0:00:00.047) 0:00:20.089 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:06:59 +0000 (0:00:00.045) 0:00:20.135 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003864", "end": "2023-12-02 14:06:59.723039", "rc": 0, "start": "2023-12-02 14:06:59.719175" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:06:59 +0000 (0:00:00.228) 0:00:20.363 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:06:59 +0000 (0:00:00.029) 0:00:20.393 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:06:59 +0000 (0:00:00.028) 0:00:20.421 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:06:59 +0000 (0:00:00.051) 0:00:20.473 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:06:59 +0000 (0:00:00.049) 0:00:20.523 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:06:59 +0000 (0:00:00.054) 0:00:20.577 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:07:00 +0000 (0:00:00.033) 0:00:20.610 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:07:00 +0000 (0:00:00.050) 0:00:20.661 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:07:00 +0000 (0:00:00.028) 0:00:20.689 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:07:02 +0000 (0:00:02.128) 0:00:22.818 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:07:03 +0000 (0:00:00.872) 0:00:23.690 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:07:03 +0000 (0:00:00.029) 0:00:23.720 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:07:03 +0000 (0:00:00.028) 0:00:23.748 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:07:03 +0000 (0:00:00.028) 0:00:23.776 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:07:03 +0000 (0:00:00.055) 0:00:23.832 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:07:03 +0000 (0:00:00.027) 0:00:23.860 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:07:03 +0000 (0:00:00.027) 0:00:23.887 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:07:03 +0000 (0:00:00.032) 0:00:23.919 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:07:03 +0000 (0:00:00.614) 0:00:24.534 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:07:03 +0000 (0:00:00.031) 0:00:24.565 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:07:03 +0000 (0:00:00.027) 0:00:24.593 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:07:04 +0000 (0:00:00.027) 0:00:24.620 ***** 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, adbd7b7a-782d-4f28-abd2-5b762f2255fa TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:07:04 +0000 (0:00:00.474) 0:00:25.095 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:07:04 +0000 (0:00:00.027) 0:00:25.122 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, adbd7b7a-782d-4f28-abd2-5b762f2255fa" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:07:04 +0000 (0:00:00.030) 0:00:25.152 ***** 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, adbd7b7a-782d-4f28-abd2-5b762f2255fa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, adbd7b7a-782d-4f28-abd2-5b762f2255fa" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:07:04 +0000 (0:00:00.029) 0:00:25.182 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:07:04 +0000 (0:00:00.025) 0:00:25.208 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:07:04 +0000 (0:00:00.222) 0:00:25.431 ***** 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, adbd7b7a-782d-4f28-abd2-5b762f2255fa\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, adbd7b7a-782d-4f28-abd2-5b762f2255fa" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:07:04 +0000 (0:00:00.029) 0:00:25.460 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/activate_profile.yml:3 Saturday 02 December 2023 14:07:04 +0000 (0:00:00.050) 0:00:25.511 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:07:04 +0000 (0:00:00.052) 0:00:25.564 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:07:05 +0000 (0:00:00.051) 0:00:25.616 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:07:05 +0000 (0:00:00.032) 0:00:25.648 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:07:05 +0000 (0:00:00.052) 0:00:25.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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:07:05 +0000 (0:00:00.028) 0:00:25.730 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:07:07 +0000 (0:00:02.115) 0:00:27.846 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:07:08 +0000 (0:00:00.883) 0:00:28.729 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:07:08 +0000 (0:00:00.031) 0:00:28.761 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:07:08 +0000 (0:00:00.029) 0:00:28.790 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:07:08 +0000 (0:00:00.029) 0:00:28.820 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:07:08 +0000 (0:00:00.060) 0:00:28.881 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:07:08 +0000 (0:00:00.030) 0:00:28.912 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:07:08 +0000 (0:00:00.030) 0:00:28.942 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:07:08 +0000 (0:00:00.037) 0:00:28.980 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:07:08 +0000 (0:00:00.610) 0:00:29.590 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:07:09 +0000 (0:00:00.033) 0:00:29.624 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:07:09 +0000 (0:00:00.029) 0:00:29.653 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:07:09 +0000 (0:00:00.030) 0:00:29.684 ***** 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, adbd7b7a-782d-4f28-abd2-5b762f2255fa skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:07:09 +0000 (0:00:00.393) 0:00:30.078 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:07:09 +0000 (0:00:00.059) 0:00:30.138 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, adbd7b7a-782d-4f28-abd2-5b762f2255fa skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:07:09 +0000 (0:00:00.043) 0:00:30.181 ***** 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, adbd7b7a-782d-4f28-abd2-5b762f2255fa skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, adbd7b7a-782d-4f28-abd2-5b762f2255fa skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:07:09 +0000 (0:00:00.041) 0:00:30.222 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:07:09 +0000 (0:00:00.027) 0:00:30.250 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:07:09 +0000 (0:00:00.218) 0:00:30.468 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 02 December 2023 14:07:09 +0000 (0:00:00.060) 0:00:30.529 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:07:09 +0000 (0:00:00.047) 0:00:30.576 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701526024.3984997, "block_size": 4096, "blocks": 0, "ctime": 1701526024.3984997, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32033, "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": 1701526024.3984997, "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-cip6tycndo/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 02 December 2023 14:07:10 +0000 (0:00:00.221) 0:00:30.797 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 02 December 2023 14:07:10 +0000 (0:00:00.031) 0:00:30.829 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:07:10 +0000 (0:00:00.050) 0:00:30.880 ***** 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:07:10 +0000 (0:00:00.028) 0:00:30.908 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:07:10 +0000 (0:00:00.250) 0:00:31.158 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:07:10 +0000 (0:00:00.029) 0:00:31.188 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023647", "end": "2023-12-02 14:07:10.796425", "rc": 0, "start": "2023-12-02 14:07:10.772778" } 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:07:10 +0000 (0:00:00.248) 0:00:31.436 ***** 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:07:10 +0000 (0:00:00.031) 0:00:31.468 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:07:10 +0000 (0:00:00.027) 0:00:31.495 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:07:10 +0000 (0:00:00.027) 0:00:31.523 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:07:10 +0000 (0:00:00.027) 0:00:31.550 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 02 December 2023 14:07:10 +0000 (0:00:00.028) 0:00:31.578 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 02 December 2023 14:07:11 +0000 (0:00:00.030) 0:00:31.608 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 02 December 2023 14:07:11 +0000 (0:00:00.029) 0:00:31.638 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:07:11 +0000 (0:00:00.028) 0:00:31.667 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:07:11 +0000 (0:00:00.024) 0:00:31.691 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:07:11 +0000 (0:00:00.028) 0:00:31.720 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:07:11 +0000 (0:00:00.053) 0:00:31.773 ***** 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.066356", "end": "2023-12-02 14:07:11.425766", "rc": 1, "start": "2023-12-02 14:07:11.359410" } STDOUT: Connection 'statebr' (adbd7b7a-782d-4f28-abd2-5b762f2255fa) 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-cip6tycndo/tests/playbooks/tests_states.yml:83 Saturday 02 December 2023 14:07:11 +0000 (0:00:00.290) 0:00:32.064 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:07:11 +0000 (0:00:00.050) 0:00:32.114 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:07:11 +0000 (0:00:00.036) 0:00:32.150 ***** 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-cip6tycndo/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:07:11 +0000 (0:00:00.061) 0:00:32.212 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:07:11 +0000 (0:00:00.056) 0:00:32.269 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:07:11 +0000 (0:00:00.052) 0:00:32.321 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004027", "end": "2023-12-02 14:07:11.912728", "rc": 0, "start": "2023-12-02 14:07:11.908701" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:07:11 +0000 (0:00:00.242) 0:00:32.564 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:07:12 +0000 (0:00:00.043) 0:00:32.607 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:07:12 +0000 (0:00:00.031) 0:00:32.639 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:07:12 +0000 (0:00:00.059) 0:00:32.698 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:07:12 +0000 (0:00:00.086) 0:00:32.784 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:07:12 +0000 (0:00:00.067) 0:00:32.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 : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:07:12 +0000 (0:00:00.050) 0:00:32.902 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:07:12 +0000 (0:00:00.045) 0:00:32.948 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:07:12 +0000 (0:00:00.033) 0:00:32.982 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:07:14 +0000 (0:00:02.081) 0:00:35.064 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:07:15 +0000 (0:00:00.858) 0:00:35.922 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:07:15 +0000 (0:00:00.031) 0:00:35.954 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:07:15 +0000 (0:00:00.032) 0:00:35.987 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:07:15 +0000 (0:00:00.029) 0:00:36.016 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:07:15 +0000 (0:00:00.071) 0:00:36.088 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:07:15 +0000 (0:00:00.031) 0:00:36.119 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:07:15 +0000 (0:00:00.032) 0:00:36.152 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:07:15 +0000 (0:00:00.039) 0:00:36.192 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:07:16 +0000 (0:00:00.624) 0:00:36.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:07:16 +0000 (0:00:00.049) 0:00:36.865 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:07:16 +0000 (0:00:00.044) 0:00:36.910 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:07:16 +0000 (0:00:00.031) 0:00:36.942 ***** 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, d15ca368-51a2-4c59-b2b7-1c7b2574d26b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:07:16 +0000 (0:00:00.441) 0:00:37.384 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:07:16 +0000 (0:00:00.041) 0:00:37.425 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d15ca368-51a2-4c59-b2b7-1c7b2574d26b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:07:16 +0000 (0:00:00.044) 0:00:37.470 ***** 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, d15ca368-51a2-4c59-b2b7-1c7b2574d26b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d15ca368-51a2-4c59-b2b7-1c7b2574d26b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:07:16 +0000 (0:00:00.033) 0:00:37.504 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:07:16 +0000 (0:00:00.030) 0:00:37.534 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:07:17 +0000 (0:00:00.220) 0:00:37.755 ***** 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, d15ca368-51a2-4c59-b2b7-1c7b2574d26b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d15ca368-51a2-4c59-b2b7-1c7b2574d26b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/activate_profile.yml:3 Saturday 02 December 2023 14:07:17 +0000 (0:00:00.032) 0:00:37.787 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:07:17 +0000 (0:00:00.049) 0:00:37.836 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:07:17 +0000 (0:00:00.083) 0:00:37.920 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:07:17 +0000 (0:00:00.036) 0:00:37.956 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:07:17 +0000 (0:00:00.029) 0:00:37.986 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:07:17 +0000 (0:00:00.032) 0:00:38.018 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:07:19 +0000 (0:00:02.110) 0:00:40.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:07:20 +0000 (0:00:00.871) 0:00:41.001 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:07:20 +0000 (0:00:00.040) 0:00:41.041 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:07:20 +0000 (0:00:00.030) 0:00:41.072 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:07:20 +0000 (0:00:00.029) 0:00:41.102 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:07:20 +0000 (0:00:00.056) 0:00:41.158 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:07:20 +0000 (0:00:00.026) 0:00:41.185 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:07:20 +0000 (0:00:00.027) 0:00:41.212 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:07:20 +0000 (0:00:00.032) 0:00:41.245 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:07:21 +0000 (0:00:00.600) 0:00:41.846 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:07:21 +0000 (0:00:00.034) 0:00:41.880 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:07:21 +0000 (0:00:00.057) 0:00:41.938 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:07:21 +0000 (0:00:00.029) 0:00:41.967 ***** 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, d15ca368-51a2-4c59-b2b7-1c7b2574d26b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:07:21 +0000 (0:00:00.386) 0:00:42.354 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:07:21 +0000 (0:00:00.030) 0:00:42.384 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d15ca368-51a2-4c59-b2b7-1c7b2574d26b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:07:21 +0000 (0:00:00.032) 0:00:42.416 ***** 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, d15ca368-51a2-4c59-b2b7-1c7b2574d26b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d15ca368-51a2-4c59-b2b7-1c7b2574d26b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:07:21 +0000 (0:00:00.030) 0:00:42.447 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:07:21 +0000 (0:00:00.028) 0:00:42.476 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:07:22 +0000 (0:00:00.216) 0:00:42.693 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/remove_profile.yml:3 Saturday 02 December 2023 14:07:22 +0000 (0:00:00.055) 0:00:42.748 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:07:22 +0000 (0:00:00.059) 0:00:42.807 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:07:22 +0000 (0:00:00.084) 0:00:42.892 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:07:22 +0000 (0:00:00.037) 0:00:42.929 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:07:22 +0000 (0:00:00.029) 0:00:42.959 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:07:22 +0000 (0:00:00.027) 0:00:42.987 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:07:24 +0000 (0:00:02.052) 0:00:45.039 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:07:25 +0000 (0:00:00.913) 0:00:45.953 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:07:25 +0000 (0:00:00.036) 0:00:45.989 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:07:25 +0000 (0:00:00.032) 0:00:46.021 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:07:25 +0000 (0:00:00.029) 0:00:46.051 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:07:25 +0000 (0:00:00.072) 0:00:46.123 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:07:25 +0000 (0:00:00.034) 0:00:46.158 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:07:25 +0000 (0:00:00.034) 0:00:46.193 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:07:25 +0000 (0:00:00.047) 0:00:46.240 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:07:26 +0000 (0:00:00.609) 0:00:46.850 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:07:26 +0000 (0:00:00.035) 0:00:46.885 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:07:26 +0000 (0:00:00.030) 0:00:46.915 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:07:26 +0000 (0:00:00.030) 0:00:46.946 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:07:26 +0000 (0:00:00.459) 0:00:47.406 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:07:26 +0000 (0:00:00.028) 0:00:47.435 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:07:26 +0000 (0:00:00.029) 0:00:47.464 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:07:26 +0000 (0:00:00.029) 0:00:47.494 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:07:26 +0000 (0:00:00.030) 0:00:47.524 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:07:27 +0000 (0:00:00.216) 0:00:47.741 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 02 December 2023 14:07:27 +0000 (0:00:00.063) 0:00:47.804 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:07:27 +0000 (0:00:00.053) 0:00:47.858 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1701526036.6957812, "block_size": 4096, "blocks": 0, "ctime": 1701526036.6957812, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 32164, "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": 1701526036.6957812, "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-cip6tycndo/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 02 December 2023 14:07:27 +0000 (0:00:00.221) 0:00:48.079 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 December 2023 14:07:27 +0000 (0:00:00.029) 0:00:48.109 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:07:27 +0000 (0:00:00.047) 0:00:48.156 ***** 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:07:27 +0000 (0:00:00.054) 0:00:48.210 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:07:27 +0000 (0:00:00.225) 0:00:48.436 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:07:27 +0000 (0:00:00.030) 0:00:48.467 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022623", "end": "2023-12-02 14:07:28.071826", "rc": 1, "start": "2023-12-02 14:07:28.049203" } 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.247) 0:00:48.714 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.034) 0:00:48.749 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.046) 0:00:48.795 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.044) 0:00:48.840 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.042) 0:00:48.882 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.044) 0:00:48.927 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.031) 0:00:48.959 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.029) 0:00:48.989 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.036) 0:00:49.025 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.066) 0:00:49.091 ***** 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.068632", "end": "2023-12-02 14:07:28.743525", "rc": 1, "start": "2023-12-02 14:07:28.674893" } STDOUT: Connection 'statebr' (d15ca368-51a2-4c59-b2b7-1c7b2574d26b) 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-cip6tycndo/tests/playbooks/tests_states.yml:103 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.289) 0:00:49.381 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.052) 0:00:49.434 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.033) 0:00:49.467 ***** 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-cip6tycndo/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.070) 0:00:49.538 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:07:28 +0000 (0:00:00.049) 0:00:49.588 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:07:29 +0000 (0:00:00.044) 0:00:49.632 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.005136", "end": "2023-12-02 14:07:30.222008", "rc": 0, "start": "2023-12-02 14:07:29.216872" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:07:30 +0000 (0:00:01.232) 0:00:50.864 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:07:30 +0000 (0:00:00.066) 0:00:50.931 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:07:30 +0000 (0:00:00.033) 0:00:50.965 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:07:30 +0000 (0:00:00.069) 0:00:51.034 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:07:30 +0000 (0:00:00.049) 0:00:51.084 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:07:30 +0000 (0:00:00.053) 0:00:51.137 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:07:30 +0000 (0:00:00.033) 0:00:51.170 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:07:30 +0000 (0:00:00.028) 0:00:51.198 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:07:30 +0000 (0:00:00.028) 0:00:51.226 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:07:32 +0000 (0:00:02.059) 0:00:53.285 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:07:33 +0000 (0:00:00.851) 0:00:54.137 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:07:33 +0000 (0:00:00.032) 0:00:54.169 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:07:33 +0000 (0:00:00.036) 0:00:54.206 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:07:33 +0000 (0:00:00.033) 0:00:54.240 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:07:33 +0000 (0:00:00.060) 0:00:54.301 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:07:33 +0000 (0:00:00.029) 0:00:54.330 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:07:33 +0000 (0:00:00.060) 0:00:54.390 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:07:33 +0000 (0:00:00.033) 0:00:54.423 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:07:34 +0000 (0:00:00.603) 0:00:55.027 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:07:34 +0000 (0:00:00.041) 0:00:55.068 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:07:34 +0000 (0:00:00.041) 0:00:55.110 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:07:34 +0000 (0:00:00.031) 0:00:55.142 ***** 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, 3113a89e-cf7c-4227-94ef-98458e026560 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:07:35 +0000 (0:00:00.459) 0:00:55.601 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:07:35 +0000 (0:00:00.029) 0:00:55.631 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3113a89e-cf7c-4227-94ef-98458e026560" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:07:35 +0000 (0:00:00.038) 0:00:55.670 ***** 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, 3113a89e-cf7c-4227-94ef-98458e026560\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3113a89e-cf7c-4227-94ef-98458e026560" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:07:35 +0000 (0:00:00.032) 0:00:55.703 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:07:35 +0000 (0:00:00.030) 0:00:55.733 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:07:35 +0000 (0:00:00.220) 0:00:55.953 ***** 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, 3113a89e-cf7c-4227-94ef-98458e026560\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3113a89e-cf7c-4227-94ef-98458e026560" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/activate_profile.yml:3 Saturday 02 December 2023 14:07:35 +0000 (0:00:00.069) 0:00:56.023 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:07:35 +0000 (0:00:00.052) 0:00:56.076 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:07:35 +0000 (0:00:00.057) 0:00:56.133 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:07:35 +0000 (0:00:00.037) 0:00:56.170 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:07:35 +0000 (0:00:00.034) 0:00:56.205 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:07:35 +0000 (0:00:00.039) 0:00:56.245 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:07:37 +0000 (0:00:02.073) 0:00:58.318 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:07:38 +0000 (0:00:00.864) 0:00:59.182 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:07:38 +0000 (0:00:00.030) 0:00:59.213 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:07:38 +0000 (0:00:00.031) 0:00:59.245 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:07:38 +0000 (0:00:00.041) 0:00:59.286 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:07:38 +0000 (0:00:00.066) 0:00:59.353 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:07:38 +0000 (0:00:00.032) 0:00:59.385 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:07:38 +0000 (0:00:00.028) 0:00:59.414 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:07:38 +0000 (0:00:00.032) 0:00:59.447 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:07:39 +0000 (0:00:00.603) 0:01:00.050 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:07:39 +0000 (0:00:00.033) 0:01:00.083 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:07:39 +0000 (0:00:00.027) 0:01:00.111 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:07:39 +0000 (0:00:00.026) 0:01:00.138 ***** 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, 3113a89e-cf7c-4227-94ef-98458e026560 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:07:39 +0000 (0:00:00.395) 0:01:00.533 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:07:39 +0000 (0:00:00.027) 0:01:00.561 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3113a89e-cf7c-4227-94ef-98458e026560 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:07:39 +0000 (0:00:00.028) 0:01:00.589 ***** 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, 3113a89e-cf7c-4227-94ef-98458e026560 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 3113a89e-cf7c-4227-94ef-98458e026560 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:07:40 +0000 (0:00:00.030) 0:01:00.619 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:07:40 +0000 (0:00:00.029) 0:01:00.649 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/remove_profile.yml:3 Saturday 02 December 2023 14:07:40 +0000 (0:00:00.224) 0:01:00.873 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:07:40 +0000 (0:00:00.049) 0:01:00.923 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:07:40 +0000 (0:00:00.083) 0:01:01.006 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:07:40 +0000 (0:00:00.037) 0:01:01.044 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:07:40 +0000 (0:00:00.027) 0:01:01.071 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:07:40 +0000 (0:00:00.026) 0:01:01.098 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:07:42 +0000 (0:00:02.041) 0:01:03.140 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:07:43 +0000 (0:00:00.874) 0:01:04.014 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:07:43 +0000 (0:00:00.032) 0:01:04.047 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:07:43 +0000 (0:00:00.032) 0:01:04.079 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:07:43 +0000 (0:00:00.029) 0:01:04.109 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:07:43 +0000 (0:00:00.057) 0:01:04.166 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:07:43 +0000 (0:00:00.029) 0:01:04.195 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:07:43 +0000 (0:00:00.030) 0:01:04.226 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:07:43 +0000 (0:00:00.035) 0:01:04.262 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:07:44 +0000 (0:00:00.600) 0:01:04.862 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:07:44 +0000 (0:00:00.037) 0:01:04.899 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:07:44 +0000 (0:00:00.027) 0:01:04.927 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:07:44 +0000 (0:00:00.068) 0:01:04.996 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:07:44 +0000 (0:00:00.431) 0:01:05.427 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:07:44 +0000 (0:00:00.027) 0:01:05.454 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:07:44 +0000 (0:00:00.029) 0:01:05.484 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:07:44 +0000 (0:00:00.030) 0:01:05.514 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:07:44 +0000 (0:00:00.025) 0:01:05.540 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:07:45 +0000 (0:00:00.217) 0:01:05.757 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 December 2023 14:07:45 +0000 (0:00:00.060) 0:01:05.818 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:07:45 +0000 (0:00:00.060) 0:01:05.879 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:07:45 +0000 (0:00:00.058) 0:01:05.937 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:07:45 +0000 (0:00:00.065) 0:01:06.002 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:07:45 +0000 (0:00:00.029) 0:01:06.032 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:07:45 +0000 (0:00:00.028) 0:01:06.061 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:07:47 +0000 (0:00:02.061) 0:01:08.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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:07:48 +0000 (0:00:00.877) 0:01:09.000 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:07:48 +0000 (0:00:00.029) 0:01:09.030 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:07:48 +0000 (0:00:00.026) 0:01:09.056 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:07:48 +0000 (0:00:00.026) 0:01:09.083 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:07:48 +0000 (0:00:00.058) 0:01:09.142 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:07:48 +0000 (0:00:00.028) 0:01:09.170 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:07:48 +0000 (0:00:00.033) 0:01:09.204 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:07:48 +0000 (0:00:00.042) 0:01:09.246 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:07:49 +0000 (0:00:00.600) 0:01:09.847 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:07:49 +0000 (0:00:00.033) 0:01:09.880 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:07:49 +0000 (0:00:00.029) 0:01:09.910 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:07:49 +0000 (0:00:00.027) 0:01:09.937 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:07:49 +0000 (0:00:00.511) 0:01:10.449 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:07:49 +0000 (0:00:00.029) 0:01:10.478 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:07:49 +0000 (0:00:00.030) 0:01:10.508 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:07:49 +0000 (0:00:00.031) 0:01:10.540 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:07:49 +0000 (0:00:00.033) 0:01:10.574 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:07:50 +0000 (0:00:00.222) 0:01:10.796 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 December 2023 14:07:50 +0000 (0:00:00.058) 0:01:10.855 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:07:50 +0000 (0:00:00.059) 0:01:10.914 ***** 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:07:50 +0000 (0:00:00.038) 0:01:10.953 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:07:50 +0000 (0:00:00.221) 0:01:11.175 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:07:50 +0000 (0:00:00.029) 0:01:11.204 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021412", "end": "2023-12-02 14:07:50.812906", "rc": 1, "start": "2023-12-02 14:07:50.791494" } 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:07:50 +0000 (0:00:00.277) 0:01:11.481 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:07:50 +0000 (0:00:00.031) 0:01:11.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:07:50 +0000 (0:00:00.029) 0:01:11.542 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:07:50 +0000 (0:00:00.031) 0:01:11.574 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:07:51 +0000 (0:00:00.029) 0:01:11.604 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 December 2023 14:07:51 +0000 (0:00:00.031) 0:01:11.636 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:07:51 +0000 (0:00:00.042) 0:01:11.678 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 December 2023 14:07:51 +0000 (0:00:00.057) 0:01:11.735 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:07:51 +0000 (0:00:00.046) 0:01:11.782 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 December 2023 14:07:51 +0000 (0:00:00.222) 0:01:12.004 ***** 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-cip6tycndo/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:07:51 +0000 (0:00:00.032) 0:01:12.036 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:07:51 +0000 (0:00:00.028) 0:01:12.064 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:07:51 +0000 (0:00:00.082) 0:01:12.147 ***** 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.042946", "end": "2023-12-02 14:07:51.773263", "rc": 1, "start": "2023-12-02 14:07:51.730317" } 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-cip6tycndo/tests/playbooks/tests_states.yml:126 Saturday 02 December 2023 14:07:51 +0000 (0:00:00.265) 0:01:12.412 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/playbooks/tasks/run_test.yml:5 Saturday 02 December 2023 14:07:51 +0000 (0:00:00.049) 0:01:12.462 ***** 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-cip6tycndo/tests/playbooks/tasks/run_test.yml:9 Saturday 02 December 2023 14:07:51 +0000 (0:00:00.028) 0:01:12.490 ***** 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-cip6tycndo/tests/playbooks/tasks/run_test.yml:21 Saturday 02 December 2023 14:07:51 +0000 (0:00:00.058) 0:01:12.549 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 02 December 2023 14:07:51 +0000 (0:00:00.046) 0:01:12.595 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 02 December 2023 14:07:52 +0000 (0:00:00.042) 0:01:12.637 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003979", "end": "2023-12-02 14:07:52.223248", "rc": 0, "start": "2023-12-02 14:07:52.219269" } STDOUT: eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 02 December 2023 14:07:52 +0000 (0:00:00.225) 0:01:12.863 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 02 December 2023 14:07:52 +0000 (0:00:00.031) 0:01:12.895 ***** ok: [sut] => {} MSG: current_interfaces: ['eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:24 Saturday 02 December 2023 14:07:52 +0000 (0:00:00.031) 0:01:12.927 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 02 December 2023 14:07:52 +0000 (0:00:00.091) 0:01:13.018 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:07:52 +0000 (0:00:00.052) 0:01:13.071 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:07:52 +0000 (0:00:00.067) 0:01:13.138 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:07:52 +0000 (0:00:00.036) 0:01:13.175 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:07:52 +0000 (0:00:00.032) 0:01:13.207 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:07:52 +0000 (0:00:00.032) 0:01:13.240 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:07:54 +0000 (0:00:02.081) 0:01:15.322 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:07:55 +0000 (0:00:00.845) 0:01:16.167 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:07:55 +0000 (0:00:00.031) 0:01:16.198 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:07:55 +0000 (0:00:00.029) 0:01:16.227 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:07:55 +0000 (0:00:00.031) 0:01:16.259 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:07:55 +0000 (0:00:00.073) 0:01:16.332 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:07:55 +0000 (0:00:00.042) 0:01:16.375 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:07:55 +0000 (0:00:00.034) 0:01:16.409 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:07:55 +0000 (0:00:00.036) 0:01:16.446 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:07:56 +0000 (0:00:00.613) 0:01:17.059 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:07:56 +0000 (0:00:00.038) 0:01:17.098 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:07:56 +0000 (0:00:00.041) 0:01:17.139 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:07:56 +0000 (0:00:00.031) 0:01:17.171 ***** 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, ff7839ce-31fe-4498-ba33-adb3577e43e5 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:07:57 +0000 (0:00:00.448) 0:01:17.619 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:07:57 +0000 (0:00:00.030) 0:01:17.650 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ff7839ce-31fe-4498-ba33-adb3577e43e5" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:07:57 +0000 (0:00:00.034) 0:01:17.685 ***** 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, ff7839ce-31fe-4498-ba33-adb3577e43e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ff7839ce-31fe-4498-ba33-adb3577e43e5" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:07:57 +0000 (0:00:00.033) 0:01:17.718 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:07:57 +0000 (0:00:00.027) 0:01:17.746 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 02 December 2023 14:07:57 +0000 (0:00:00.216) 0:01:17.963 ***** 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, ff7839ce-31fe-4498-ba33-adb3577e43e5\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ff7839ce-31fe-4498-ba33-adb3577e43e5" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/activate_profile.yml:3 Saturday 02 December 2023 14:07:57 +0000 (0:00:00.029) 0:01:17.992 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:07:57 +0000 (0:00:00.073) 0:01:18.066 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:07:57 +0000 (0:00:00.054) 0:01:18.120 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:07:57 +0000 (0:00:00.033) 0:01:18.154 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:07:57 +0000 (0:00:00.026) 0:01:18.181 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:07:57 +0000 (0:00:00.027) 0:01:18.208 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:07:59 +0000 (0:00:02.070) 0:01:20.278 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:08:00 +0000 (0:00:00.893) 0:01:21.172 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:08:00 +0000 (0:00:00.030) 0:01:21.202 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:08:00 +0000 (0:00:00.030) 0:01:21.233 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:08:00 +0000 (0:00:00.029) 0:01:21.262 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:08:00 +0000 (0:00:00.073) 0:01:21.335 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:08:00 +0000 (0:00:00.031) 0:01:21.367 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:08:00 +0000 (0:00:00.035) 0:01:21.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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:08:00 +0000 (0:00:00.035) 0:01:21.438 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:08:01 +0000 (0:00:00.618) 0:01:22.057 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:08:01 +0000 (0:00:00.086) 0:01:22.143 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:08:01 +0000 (0:00:00.032) 0:01:22.176 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:08:01 +0000 (0:00:00.029) 0:01:22.205 ***** 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, ff7839ce-31fe-4498-ba33-adb3577e43e5 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:08:02 +0000 (0:00:00.403) 0:01:22.608 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:08:02 +0000 (0:00:00.028) 0:01:22.636 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ff7839ce-31fe-4498-ba33-adb3577e43e5 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:08:02 +0000 (0:00:00.028) 0:01:22.665 ***** 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, ff7839ce-31fe-4498-ba33-adb3577e43e5 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, ff7839ce-31fe-4498-ba33-adb3577e43e5 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:08:02 +0000 (0:00:00.031) 0:01:22.696 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:08:02 +0000 (0:00:00.040) 0:01:22.736 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 December 2023 14:08:02 +0000 (0:00:00.226) 0:01:22.963 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:08:02 +0000 (0:00:00.062) 0:01:23.026 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:08:02 +0000 (0:00:00.063) 0:01:23.089 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:08:02 +0000 (0:00:00.067) 0:01:23.157 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:08:02 +0000 (0:00:00.029) 0:01:23.187 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:08:02 +0000 (0:00:00.029) 0:01:23.216 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:08:04 +0000 (0:00:02.129) 0:01:25.346 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:08:05 +0000 (0:00:00.869) 0:01:26.215 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:08:05 +0000 (0:00:00.030) 0:01:26.245 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:08:05 +0000 (0:00:00.027) 0:01:26.273 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:08:05 +0000 (0:00:00.028) 0:01:26.301 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:08:05 +0000 (0:00:00.057) 0:01:26.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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:08:05 +0000 (0:00:00.027) 0:01:26.387 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:08:05 +0000 (0:00:00.027) 0:01:26.414 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:08:05 +0000 (0:00:00.032) 0:01:26.447 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:08:06 +0000 (0:00:00.596) 0:01:27.043 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:08:06 +0000 (0:00:00.043) 0:01:27.087 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:08:06 +0000 (0:00:00.033) 0:01:27.120 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:08:06 +0000 (0:00:00.029) 0:01:27.149 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:08:07 +0000 (0:00:00.538) 0:01:27.687 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:08:07 +0000 (0:00:00.028) 0:01:27.715 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:08:07 +0000 (0:00:00.029) 0:01:27.745 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:08:07 +0000 (0:00:00.030) 0:01:27.775 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:08:07 +0000 (0:00:00.028) 0:01:27.803 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:30 Saturday 02 December 2023 14:08:07 +0000 (0:00:00.216) 0:01:28.019 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 02 December 2023 14:08:07 +0000 (0:00:00.057) 0:01:28.077 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 02 December 2023 14:08:07 +0000 (0:00:00.047) 0:01:28.124 ***** included: /WORKDIR/git-weekly-cip6tycndo/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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 02 December 2023 14:08:07 +0000 (0:00:00.052) 0:01:28.176 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 02 December 2023 14:08:07 +0000 (0:00:00.039) 0:01:28.216 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 02 December 2023 14:08:07 +0000 (0:00:00.030) 0:01:28.246 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 02 December 2023 14:08:07 +0000 (0:00:00.043) 0:01:28.290 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 02 December 2023 14:08:09 +0000 (0:00:02.113) 0:01:30.403 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 02 December 2023 14:08:10 +0000 (0:00:00.847) 0:01:31.251 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 02 December 2023 14:08:10 +0000 (0:00:00.058) 0:01:31.309 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 02 December 2023 14:08:10 +0000 (0:00:00.030) 0:01:31.339 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 02 December 2023 14:08:10 +0000 (0:00:00.031) 0:01:31.371 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 02 December 2023 14:08:10 +0000 (0:00:00.067) 0:01:31.439 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 02 December 2023 14:08:10 +0000 (0:00:00.030) 0:01:31.469 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 02 December 2023 14:08:10 +0000 (0:00:00.029) 0:01:31.498 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 02 December 2023 14:08:10 +0000 (0:00:00.037) 0:01:31.535 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 02 December 2023 14:08:11 +0000 (0:00:00.614) 0:01:32.149 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 02 December 2023 14:08:11 +0000 (0:00:00.041) 0:01:32.191 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 02 December 2023 14:08:11 +0000 (0:00:00.028) 0:01:32.219 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 02 December 2023 14:08:11 +0000 (0:00:00.027) 0:01:32.247 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 02 December 2023 14:08:12 +0000 (0:00:00.417) 0:01:32.665 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 02 December 2023 14:08:12 +0000 (0:00:00.076) 0:01:32.742 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 02 December 2023 14:08:12 +0000 (0:00:00.036) 0:01:32.778 ***** 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-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 02 December 2023 14:08:12 +0000 (0:00:00.033) 0:01:32.812 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 02 December 2023 14:08:12 +0000 (0:00:00.035) 0:01:32.847 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:36 Saturday 02 December 2023 14:08:12 +0000 (0:00:00.224) 0:01:33.072 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 02 December 2023 14:08:12 +0000 (0:00:00.074) 0:01:33.146 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 02 December 2023 14:08:12 +0000 (0:00:00.055) 0:01:33.202 ***** 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 02 December 2023 14:08:12 +0000 (0:00:00.030) 0:01:33.232 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 02 December 2023 14:08:12 +0000 (0:00:00.220) 0:01:33.453 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 02 December 2023 14:08:12 +0000 (0:00:00.027) 0:01:33.481 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021293", "end": "2023-12-02 14:08:13.084576", "rc": 1, "start": "2023-12-02 14:08:13.063283" } 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-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 02 December 2023 14:08:13 +0000 (0:00:00.243) 0:01:33.724 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 02 December 2023 14:08:13 +0000 (0:00:00.030) 0:01:33.755 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 02 December 2023 14:08:13 +0000 (0:00:00.060) 0:01:33.816 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 02 December 2023 14:08:13 +0000 (0:00:00.032) 0:01:33.848 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 02 December 2023 14:08:13 +0000 (0:00:00.032) 0:01:33.881 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 02 December 2023 14:08:13 +0000 (0:00:00.032) 0:01:33.913 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 02 December 2023 14:08:13 +0000 (0:00:00.032) 0:01:33.946 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.260639", "end": "2023-12-02 14:08:13.791891", "rc": 0, "start": "2023-12-02 14:08:13.531252" } STDOUT: NetworkManager-1.40.18-1.fc37 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 02 December 2023 14:08:13 +0000 (0:00:00.486) 0:01:34.432 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.18-1.fc37" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 02 December 2023 14:08:13 +0000 (0:00:00.028) 0:01:34.461 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.18-1.fc37" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/run_test.yml:42 Saturday 02 December 2023 14:08:13 +0000 (0:00:00.039) 0:01:34.500 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 02 December 2023 14:08:13 +0000 (0:00:00.065) 0:01:34.566 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 02 December 2023 14:08:14 +0000 (0:00:00.048) 0:01:34.615 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 02 December 2023 14:08:14 +0000 (0:00:00.224) 0:01:34.839 ***** 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-cip6tycndo/tests/playbooks/tasks/run_test.yml:47 Saturday 02 December 2023 14:08:14 +0000 (0:00:00.064) 0:01:34.903 ***** 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-cip6tycndo/tests/playbooks/tasks/run_test.yml:66 Saturday 02 December 2023 14:08:14 +0000 (0:00:00.028) 0:01:34.932 ***** included: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-cip6tycndo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 02 December 2023 14:08:14 +0000 (0:00:00.057) 0:01:34.990 ***** 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.044026", "end": "2023-12-02 14:08:14.618380", "rc": 1, "start": "2023-12-02 14:08:14.574354" } 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 02 December 2023 14:08:14 +0000 (0:00:00.250) 0:01:35.240 ***** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.24s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Enable and start NetworkManager ------------ 2.43s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 2.41s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Check which services are running ----------- 2.14s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.13s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.13s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.12s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.11s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.11s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.08s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.08s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.07s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.07s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.06s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.06s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.06s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.05s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.04s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.81s /WORKDIR/git-weekly-cip6tycndo/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Configure networking connection profiles --- 1.58s /WORKDIR/git-weekly-cip6tycndo/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. ---^---^---^---^---^---