# 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-ciohd_qeou/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/tests_states_nm.yml:6 Saturday 06 January 2024 13:46:17 +0000 (0:00:00.012) 0:00:00.012 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/tests_states_nm.yml:9 Saturday 06 January 2024 13:46:18 +0000 (0:00:00.608) 0:00:00.621 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/tasks/el_repo_setup.yml:3 Saturday 06 January 2024 13:46:18 +0000 (0:00:00.021) 0:00:00.643 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/tasks/el_repo_setup.yml:19 Saturday 06 January 2024 13:46:18 +0000 (0:00:00.340) 0:00:00.983 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/tasks/el_repo_setup.yml:24 Saturday 06 January 2024 13:46:18 +0000 (0:00:00.250) 0:00:01.234 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/tasks/el_repo_setup.yml:28 Saturday 06 January 2024 13:46:18 +0000 (0:00:00.031) 0:00:01.265 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/tasks/el_repo_setup.yml:53 Saturday 06 January 2024 13:46:18 +0000 (0:00:00.023) 0:00:01.288 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/tasks/enable_epel.yml:8 Saturday 06 January 2024 13:46:18 +0000 (0:00:00.049) 0:00:01.337 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/tasks/enable_epel.yml:24 Saturday 06 January 2024 13:46:18 +0000 (0:00:00.028) 0:00:01.366 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/tasks/enable_epel.yml:30 Saturday 06 January 2024 13:46:18 +0000 (0:00:00.015) 0:00:01.382 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/tasks/enable_epel.yml:35 Saturday 06 January 2024 13:46:18 +0000 (0:00:00.019) 0:00:01.401 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/tasks/enable_epel.yml:40 Saturday 06 January 2024 13:46:18 +0000 (0:00:00.015) 0:00:01.417 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/tests_states_nm.yml:11 Saturday 06 January 2024 13:46:18 +0000 (0:00:00.018) 0:00:01.436 ****** 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-ciohd_qeou/tests/playbooks/tests_states.yml:3 Saturday 06 January 2024 13:46:18 +0000 (0:00:00.046) 0:00:01.482 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tests_states.yml:11 Saturday 06 January 2024 13:46:19 +0000 (0:00:00.470) 0:00:01.953 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tests_states.yml:22 Saturday 06 January 2024 13:46:19 +0000 (0:00:00.010) 0:00:01.964 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:46:19 +0000 (0:00:00.020) 0:00:01.985 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:46:19 +0000 (0:00:00.017) 0:00:02.002 ****** 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-ciohd_qeou/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:46:19 +0000 (0:00:00.049) 0:00:02.052 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:19 +0000 (0:00:00.013) 0:00:02.066 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:19 +0000 (0:00:00.013) 0:00:02.080 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003237", "end": "2024-01-06 13:46:19.778338", "rc": 0, "start": "2024-01-06 13:46:19.775101" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:19 +0000 (0:00:00.230) 0:00:02.310 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:19 +0000 (0:00:00.012) 0:00:02.322 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:46:19 +0000 (0:00:00.032) 0:00:02.355 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/delete_interface.yml:3 Saturday 06 January 2024 13:46:19 +0000 (0:00:00.031) 0:00:02.387 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007725", "end": "2024-01-06 13:46:20.070096", "rc": 1, "start": "2024-01-06 13:46:20.062371" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:46:20 +0000 (0:00:00.253) 0:00:02.641 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:46:20 +0000 (0:00:00.023) 0:00:02.664 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:46:20 +0000 (0:00:00.184) 0:00:02.848 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:46:20 +0000 (0:00:00.015) 0:00:02.864 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:46:20 +0000 (0:00:00.019) 0:00:02.883 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:46:20 +0000 (0:00:00.035) 0:00:02.919 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:46:20 +0000 (0:00:00.071) 0:00:02.990 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:46:20 +0000 (0:00:00.027) 0:00:03.018 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:46:20 +0000 (0:00:00.011) 0:00:03.029 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:46:20 +0000 (0:00:00.010) 0:00:03.040 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:46:22 +0000 (0:00:01.498) 0:00:04.538 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:46:23 +0000 (0:00:01.075) 0:00:05.613 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:46:23 +0000 (0:00:00.021) 0:00:05.635 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:46:23 +0000 (0:00:00.019) 0:00:05.655 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:46:23 +0000 (0:00:00.020) 0:00:05.675 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:46:23 +0000 (0:00:00.044) 0:00:05.720 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:46:23 +0000 (0:00:00.022) 0:00:05.742 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:46:23 +0000 (0:00:00.033) 0:00:05.776 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:46:23 +0000 (0:00:00.038) 0:00:05.814 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:46:23 +0000 (0:00:00.568) 0:00:06.383 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:46:23 +0000 (0:00:00.024) 0:00:06.408 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:46:23 +0000 (0:00:00.019) 0:00:06.427 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:46:23 +0000 (0:00:00.020) 0:00:06.447 ****** 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, 582e0dc0-bc3e-48eb-b693-24ff50a19f88 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:46:24 +0000 (0:00:00.513) 0:00:06.961 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:46:24 +0000 (0:00:00.022) 0:00:06.983 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 582e0dc0-bc3e-48eb-b693-24ff50a19f88" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:46:24 +0000 (0:00:00.050) 0:00:07.033 ****** 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, 582e0dc0-bc3e-48eb-b693-24ff50a19f88\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 582e0dc0-bc3e-48eb-b693-24ff50a19f88" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:46:24 +0000 (0:00:00.024) 0:00:07.058 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:46:24 +0000 (0:00:00.028) 0:00:07.087 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:46:24 +0000 (0:00:00.254) 0:00:07.342 ****** 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, 582e0dc0-bc3e-48eb-b693-24ff50a19f88\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 582e0dc0-bc3e-48eb-b693-24ff50a19f88" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:46:24 +0000 (0:00:00.028) 0:00:07.371 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 January 2024 13:46:24 +0000 (0:00:00.043) 0:00:07.414 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:46:24 +0000 (0:00:00.038) 0:00:07.453 ****** 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:46:24 +0000 (0:00:00.021) 0:00:07.474 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.205) 0:00:07.680 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.023) 0:00:07.704 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020053", "end": "2024-01-06 13:46:25.381088", "rc": 0, "start": "2024-01-06 13:46:25.361035" } 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.220) 0:00:07.924 ****** 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.023) 0:00:07.948 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.021) 0:00:07.969 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.020) 0:00:07.990 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.042) 0:00:08.032 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.022) 0:00:08.054 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.025) 0:00:08.080 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.024) 0:00:08.104 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.022) 0:00:08.127 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.043) 0:00:08.171 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.037) 0:00:08.208 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704548784.345454, "block_size": 4096, "blocks": 0, "ctime": 1704548784.345454, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29465, "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": 1704548784.345454, "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-ciohd_qeou/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.192) 0:00:08.400 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.026) 0:00:08.427 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.021) 0:00:08.448 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:46:25 +0000 (0:00:00.042) 0:00:08.491 ****** 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.059410", "end": "2024-01-06 13:46:26.209764", "rc": 1, "start": "2024-01-06 13:46:26.150354" } STDOUT: Connection 'statebr' (582e0dc0-bc3e-48eb-b693-24ff50a19f88) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tests_states.yml:45 Saturday 06 January 2024 13:46:26 +0000 (0:00:00.261) 0:00:08.752 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:46:26 +0000 (0:00:00.063) 0:00:08.816 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:46:26 +0000 (0:00:00.023) 0:00:08.839 ****** 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-ciohd_qeou/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:46:26 +0000 (0:00:00.042) 0:00:08.882 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:26 +0000 (0:00:00.036) 0:00:08.918 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:26 +0000 (0:00:00.034) 0:00:08.952 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003185", "end": "2024-01-06 13:46:26.611447", "rc": 0, "start": "2024-01-06 13:46:26.608262" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:26 +0000 (0:00:00.209) 0:00:09.161 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:26 +0000 (0:00:00.021) 0:00:09.183 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:46:26 +0000 (0:00:00.021) 0:00:09.205 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/delete_interface.yml:3 Saturday 06 January 2024 13:46:26 +0000 (0:00:00.040) 0:00:09.245 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005954", "end": "2024-01-06 13:46:26.901022", "rc": 1, "start": "2024-01-06 13:46:26.895068" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:46:26 +0000 (0:00:00.202) 0:00:09.448 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:46:26 +0000 (0:00:00.055) 0:00:09.503 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:46:27 +0000 (0:00:00.208) 0:00:09.712 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:46:27 +0000 (0:00:00.055) 0:00:09.768 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 06 January 2024 13:46:27 +0000 (0:00:00.051) 0:00:09.820 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:46:27 +0000 (0:00:00.050) 0:00:09.870 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:46:27 +0000 (0:00:00.039) 0:00:09.910 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:46:27 +0000 (0:00:00.026) 0:00:09.936 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:46:27 +0000 (0:00:00.021) 0:00:09.958 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:46:27 +0000 (0:00:00.024) 0:00:09.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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:46:28 +0000 (0:00:01.421) 0:00:11.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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:46:29 +0000 (0:00:00.938) 0:00:12.341 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:46:29 +0000 (0:00:00.028) 0:00:12.369 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:46:29 +0000 (0:00:00.022) 0:00:12.392 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:46:29 +0000 (0:00:00.029) 0:00:12.422 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:46:29 +0000 (0:00:00.043) 0:00:12.466 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:46:29 +0000 (0:00:00.020) 0:00:12.486 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:46:29 +0000 (0:00:00.021) 0:00:12.508 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:46:30 +0000 (0:00:00.024) 0:00:12.533 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:46:30 +0000 (0:00:00.352) 0:00:12.886 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:46:30 +0000 (0:00:00.024) 0:00:12.910 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:46:30 +0000 (0:00:00.020) 0:00:12.930 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:46:30 +0000 (0:00:00.042) 0:00:12.972 ****** 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, 3b45d402-7046-4f2c-9a17-ae80237eb5c3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:46:30 +0000 (0:00:00.347) 0:00:13.320 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:46:30 +0000 (0:00:00.022) 0:00:13.343 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b45d402-7046-4f2c-9a17-ae80237eb5c3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:46:30 +0000 (0:00:00.022) 0:00:13.366 ****** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "autoconnect": false, "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b45d402-7046-4f2c-9a17-ae80237eb5c3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b45d402-7046-4f2c-9a17-ae80237eb5c3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:46:30 +0000 (0:00:00.023) 0:00:13.389 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:46:30 +0000 (0:00:00.020) 0:00:13.410 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 06 January 2024 13:46:31 +0000 (0:00:00.190) 0:00:13.601 ****** 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, 3b45d402-7046-4f2c-9a17-ae80237eb5c3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 3b45d402-7046-4f2c-9a17-ae80237eb5c3" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:46:31 +0000 (0:00:00.024) 0:00:13.625 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:46:31 +0000 (0:00:00.057) 0:00:13.682 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:46:31 +0000 (0:00:00.060) 0:00:13.743 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:46:31 +0000 (0:00:00.230) 0:00:13.973 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 January 2024 13:46:31 +0000 (0:00:00.030) 0:00:14.004 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:46:31 +0000 (0:00:00.082) 0:00:14.086 ****** 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:46:31 +0000 (0:00:00.021) 0:00:14.108 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:46:31 +0000 (0:00:00.197) 0:00:14.305 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:46:31 +0000 (0:00:00.022) 0:00:14.328 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019869", "end": "2024-01-06 13:46:32.000234", "rc": 0, "start": "2024-01-06 13:46:31.980365" } 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.216) 0:00:14.545 ****** 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.026) 0:00:14.571 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.022) 0:00:14.594 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.022) 0:00:14.616 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.022) 0:00:14.639 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.023) 0:00:14.662 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.023) 0:00:14.685 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.023) 0:00:14.708 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.021) 0:00:14.730 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.019) 0:00:14.749 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.021) 0:00:14.771 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.041) 0:00:14.813 ****** 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.039124", "end": "2024-01-06 13:46:32.507412", "rc": 1, "start": "2024-01-06 13:46:32.468288" } STDOUT: Connection 'statebr' (3b45d402-7046-4f2c-9a17-ae80237eb5c3) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tests_states.yml:65 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.235) 0:00:15.049 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.036) 0:00:15.085 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.020) 0:00:15.106 ****** 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-ciohd_qeou/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.043) 0:00:15.149 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.041) 0:00:15.190 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.036) 0:00:15.227 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003241", "end": "2024-01-06 13:46:32.880076", "rc": 0, "start": "2024-01-06 13:46:32.876835" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.195) 0:00:15.422 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.027) 0:00:15.450 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.023) 0:00:15.473 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:46:32 +0000 (0:00:00.038) 0:00:15.511 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:46:33 +0000 (0:00:00.041) 0:00:15.553 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:46:33 +0000 (0:00:00.078) 0:00:15.631 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:46:33 +0000 (0:00:00.027) 0:00:15.659 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:46:33 +0000 (0:00:00.020) 0:00:15.680 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:46:33 +0000 (0:00:00.022) 0:00:15.702 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:46:34 +0000 (0:00:01.416) 0:00:17.119 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:46:35 +0000 (0:00:00.953) 0:00:18.073 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:46:35 +0000 (0:00:00.023) 0:00:18.096 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:46:35 +0000 (0:00:00.021) 0:00:18.118 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:46:35 +0000 (0:00:00.022) 0:00:18.140 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:46:35 +0000 (0:00:00.045) 0:00:18.185 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:46:35 +0000 (0:00:00.020) 0:00:18.206 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:46:35 +0000 (0:00:00.020) 0:00:18.227 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:46:35 +0000 (0:00:00.026) 0:00:18.253 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:46:36 +0000 (0:00:00.350) 0:00:18.603 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:46:36 +0000 (0:00:00.024) 0:00:18.628 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:46:36 +0000 (0:00:00.021) 0:00:18.649 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:46:36 +0000 (0:00:00.019) 0:00:18.669 ****** 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, 4c626e5b-abb0-423a-bcb0-f13c76c91d21 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:46:36 +0000 (0:00:00.391) 0:00:19.061 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:46:36 +0000 (0:00:00.022) 0:00:19.083 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c626e5b-abb0-423a-bcb0-f13c76c91d21" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:46:36 +0000 (0:00:00.022) 0:00:19.105 ****** 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, 4c626e5b-abb0-423a-bcb0-f13c76c91d21\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c626e5b-abb0-423a-bcb0-f13c76c91d21" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:46:36 +0000 (0:00:00.052) 0:00:19.157 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:46:36 +0000 (0:00:00.021) 0:00:19.179 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:46:36 +0000 (0:00:00.188) 0:00:19.368 ****** 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, 4c626e5b-abb0-423a-bcb0-f13c76c91d21\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4c626e5b-abb0-423a-bcb0-f13c76c91d21" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:46:36 +0000 (0:00:00.023) 0:00:19.391 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 13:46:36 +0000 (0:00:00.037) 0:00:19.428 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:46:36 +0000 (0:00:00.039) 0:00:19.468 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:46:36 +0000 (0:00:00.039) 0:00:19.508 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:46:37 +0000 (0:00:00.026) 0:00:19.534 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:46:37 +0000 (0:00:00.021) 0:00:19.555 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:46:37 +0000 (0:00:00.024) 0:00:19.580 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:46:38 +0000 (0:00:01.420) 0:00:21.000 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:46:39 +0000 (0:00:00.917) 0:00:21.918 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:46:39 +0000 (0:00:00.023) 0:00:21.941 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:46:39 +0000 (0:00:00.021) 0:00:21.963 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:46:39 +0000 (0:00:00.020) 0:00:21.984 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:46:39 +0000 (0:00:00.045) 0:00:22.029 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:46:39 +0000 (0:00:00.034) 0:00:22.064 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:46:39 +0000 (0:00:00.023) 0:00:22.088 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:46:39 +0000 (0:00:00.033) 0:00:22.121 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:46:39 +0000 (0:00:00.382) 0:00:22.503 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:46:40 +0000 (0:00:00.028) 0:00:22.531 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:46:40 +0000 (0:00:00.022) 0:00:22.554 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:46:40 +0000 (0:00:00.023) 0:00:22.577 ****** 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, 4c626e5b-abb0-423a-bcb0-f13c76c91d21 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:46:40 +0000 (0:00:00.402) 0:00:22.979 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:46:40 +0000 (0:00:00.055) 0:00:23.035 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4c626e5b-abb0-423a-bcb0-f13c76c91d21 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:46:40 +0000 (0:00:00.044) 0:00:23.079 ****** 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, 4c626e5b-abb0-423a-bcb0-f13c76c91d21 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4c626e5b-abb0-423a-bcb0-f13c76c91d21 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:46:40 +0000 (0:00:00.060) 0:00:23.140 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:46:40 +0000 (0:00:00.060) 0:00:23.201 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:46:40 +0000 (0:00:00.217) 0:00:23.418 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 January 2024 13:46:40 +0000 (0:00:00.043) 0:00:23.461 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:46:40 +0000 (0:00:00.037) 0:00:23.499 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704548796.4625618, "block_size": 4096, "blocks": 0, "ctime": 1704548796.4625618, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29596, "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": 1704548796.4625618, "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-ciohd_qeou/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.200) 0:00:23.699 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.084) 0:00:23.784 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.037) 0:00:23.821 ****** 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.022) 0:00:23.844 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.196) 0:00:24.040 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.042) 0:00:24.083 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020083", "end": "2024-01-06 13:46:41.764828", "rc": 0, "start": "2024-01-06 13:46:41.744745" } 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.224) 0:00:24.307 ****** 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.024) 0:00:24.332 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.021) 0:00:24.353 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.024) 0:00:24.377 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.024) 0:00:24.401 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.027) 0:00:24.429 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.023) 0:00:24.453 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.022) 0:00:24.475 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:46:41 +0000 (0:00:00.021) 0:00:24.497 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.019) 0:00:24.516 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.021) 0:00:24.538 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.065) 0:00:24.603 ****** 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.062971", "end": "2024-01-06 13:46:42.314604", "rc": 1, "start": "2024-01-06 13:46:42.251633" } STDOUT: Connection 'statebr' (4c626e5b-abb0-423a-bcb0-f13c76c91d21) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tests_states.yml:83 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.254) 0:00:24.857 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.036) 0:00:24.894 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.021) 0:00:24.915 ****** 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-ciohd_qeou/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.044) 0:00:24.960 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.040) 0:00:25.000 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.040) 0:00:25.040 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003216", "end": "2024-01-06 13:46:42.694166", "rc": 0, "start": "2024-01-06 13:46:42.690950" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.202) 0:00:25.242 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.023) 0:00:25.266 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.031) 0:00:25.297 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.044) 0:00:25.341 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.064) 0:00:25.406 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.042) 0:00:25.448 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:46:42 +0000 (0:00:00.037) 0:00:25.486 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:46:43 +0000 (0:00:00.034) 0:00:25.521 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:46:43 +0000 (0:00:00.024) 0:00:25.545 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:46:44 +0000 (0:00:01.416) 0:00:26.961 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:46:45 +0000 (0:00:00.971) 0:00:27.933 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:46:45 +0000 (0:00:00.024) 0:00:27.958 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:46:45 +0000 (0:00:00.024) 0:00:27.983 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:46:45 +0000 (0:00:00.021) 0:00:28.004 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:46:45 +0000 (0:00:00.042) 0:00:28.047 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:46:45 +0000 (0:00:00.020) 0:00:28.067 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:46:45 +0000 (0:00:00.020) 0:00:28.088 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:46:45 +0000 (0:00:00.023) 0:00:28.112 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:46:45 +0000 (0:00:00.349) 0:00:28.461 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:46:45 +0000 (0:00:00.025) 0:00:28.487 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:46:45 +0000 (0:00:00.021) 0:00:28.508 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:46:46 +0000 (0:00:00.021) 0:00:28.530 ****** 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, cfa29eeb-8979-4f30-96f7-223c36bededd TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:46:46 +0000 (0:00:00.392) 0:00:28.923 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:46:46 +0000 (0:00:00.022) 0:00:28.945 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cfa29eeb-8979-4f30-96f7-223c36bededd" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:46:46 +0000 (0:00:00.054) 0:00:28.999 ****** 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, cfa29eeb-8979-4f30-96f7-223c36bededd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cfa29eeb-8979-4f30-96f7-223c36bededd" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:46:46 +0000 (0:00:00.026) 0:00:29.026 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:46:46 +0000 (0:00:00.024) 0:00:29.051 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:46:46 +0000 (0:00:00.211) 0:00:29.262 ****** 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, cfa29eeb-8979-4f30-96f7-223c36bededd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, cfa29eeb-8979-4f30-96f7-223c36bededd" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 13:46:46 +0000 (0:00:00.032) 0:00:29.295 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:46:46 +0000 (0:00:00.068) 0:00:29.364 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:46:46 +0000 (0:00:00.042) 0:00:29.406 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:46:46 +0000 (0:00:00.030) 0:00:29.437 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:46:46 +0000 (0:00:00.031) 0:00:29.468 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:46:47 +0000 (0:00:00.052) 0:00:29.521 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:46:48 +0000 (0:00:01.452) 0:00:30.974 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:46:49 +0000 (0:00:00.947) 0:00:31.921 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:46:49 +0000 (0:00:00.033) 0:00:31.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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:46:49 +0000 (0:00:00.044) 0:00:31.999 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:46:49 +0000 (0:00:00.028) 0:00:32.028 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:46:49 +0000 (0:00:00.046) 0:00:32.074 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:46:49 +0000 (0:00:00.030) 0:00:32.105 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:46:49 +0000 (0:00:00.044) 0:00:32.149 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:46:49 +0000 (0:00:00.031) 0:00:32.181 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:46:50 +0000 (0:00:00.354) 0:00:32.536 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:46:50 +0000 (0:00:00.052) 0:00:32.588 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:46:50 +0000 (0:00:00.022) 0:00:32.611 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:46:50 +0000 (0:00:00.020) 0:00:32.631 ****** 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, cfa29eeb-8979-4f30-96f7-223c36bededd skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:46:50 +0000 (0:00:00.354) 0:00:32.986 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:46:50 +0000 (0:00:00.037) 0:00:33.024 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cfa29eeb-8979-4f30-96f7-223c36bededd skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:46:50 +0000 (0:00:00.024) 0:00:33.048 ****** 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, cfa29eeb-8979-4f30-96f7-223c36bededd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, cfa29eeb-8979-4f30-96f7-223c36bededd skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:46:50 +0000 (0:00:00.024) 0:00:33.073 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:46:50 +0000 (0:00:00.022) 0:00:33.095 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:46:50 +0000 (0:00:00.188) 0:00:33.284 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/remove_profile.yml:3 Saturday 06 January 2024 13:46:50 +0000 (0:00:00.043) 0:00:33.327 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:46:50 +0000 (0:00:00.051) 0:00:33.379 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:46:50 +0000 (0:00:00.053) 0:00:33.432 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:46:50 +0000 (0:00:00.060) 0:00:33.493 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:46:51 +0000 (0:00:00.027) 0:00:33.521 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:46:51 +0000 (0:00:00.023) 0:00:33.544 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:46:52 +0000 (0:00:01.391) 0:00:34.936 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:46:53 +0000 (0:00:00.913) 0:00:35.849 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:46:53 +0000 (0:00:00.027) 0:00:35.876 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:46:53 +0000 (0:00:00.025) 0:00:35.902 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:46:53 +0000 (0:00:00.046) 0:00:35.948 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:46:53 +0000 (0:00:00.071) 0:00:36.020 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:46:53 +0000 (0:00:00.031) 0:00:36.051 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:46:53 +0000 (0:00:00.022) 0:00:36.074 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:46:53 +0000 (0:00:00.066) 0:00:36.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:46:54 +0000 (0:00:00.392) 0:00:36.533 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:46:54 +0000 (0:00:00.027) 0:00:36.560 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:46:54 +0000 (0:00:00.025) 0:00:36.586 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:46:54 +0000 (0:00:00.023) 0:00:36.610 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:46:54 +0000 (0:00:00.388) 0:00:36.998 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:46:54 +0000 (0:00:00.025) 0:00:37.024 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:46:54 +0000 (0:00:00.035) 0:00:37.060 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:46:54 +0000 (0:00:00.042) 0:00:37.103 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:46:54 +0000 (0:00:00.034) 0:00:37.137 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:46:54 +0000 (0:00:00.188) 0:00:37.326 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 06 January 2024 13:46:54 +0000 (0:00:00.090) 0:00:37.417 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:46:54 +0000 (0:00:00.037) 0:00:37.454 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1704548806.3300295, "block_size": 4096, "blocks": 0, "ctime": 1704548806.3300295, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 29727, "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": 1704548806.3300295, "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-ciohd_qeou/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 06 January 2024 13:46:55 +0000 (0:00:00.193) 0:00:37.647 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 January 2024 13:46:55 +0000 (0:00:00.027) 0:00:37.675 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:46:55 +0000 (0:00:00.041) 0:00:37.717 ****** 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:46:55 +0000 (0:00:00.040) 0:00:37.757 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:46:55 +0000 (0:00:00.222) 0:00:37.980 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:46:55 +0000 (0:00:00.030) 0:00:38.010 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020347", "end": "2024-01-06 13:46:55.691466", "rc": 1, "start": "2024-01-06 13:46:55.671119" } 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:46:55 +0000 (0:00:00.243) 0:00:38.254 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:46:55 +0000 (0:00:00.025) 0:00:38.280 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:46:55 +0000 (0:00:00.026) 0:00:38.306 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:46:55 +0000 (0:00:00.039) 0:00:38.345 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:46:55 +0000 (0:00:00.073) 0:00:38.419 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 January 2024 13:46:55 +0000 (0:00:00.029) 0:00:38.448 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:46:55 +0000 (0:00:00.029) 0:00:38.478 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:46:55 +0000 (0:00:00.033) 0:00:38.512 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.023) 0:00:38.536 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.044) 0:00:38.580 ****** 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.060326", "end": "2024-01-06 13:46:56.294105", "rc": 1, "start": "2024-01-06 13:46:56.233779" } STDOUT: Connection 'statebr' (cfa29eeb-8979-4f30-96f7-223c36bededd) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tests_states.yml:103 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.257) 0:00:38.838 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.036) 0:00:38.874 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.025) 0:00:38.900 ****** 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-ciohd_qeou/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.044) 0:00:38.945 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.037) 0:00:38.982 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.033) 0:00:39.015 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003188", "end": "2024-01-06 13:46:56.670636", "rc": 0, "start": "2024-01-06 13:46:56.667448" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.232) 0:00:39.248 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.022) 0:00:39.271 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.021) 0:00:39.292 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.043) 0:00:39.335 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.035) 0:00:39.371 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.041) 0:00:39.412 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.027) 0:00:39.440 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.023) 0:00:39.463 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:46:56 +0000 (0:00:00.022) 0:00:39.485 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:46:58 +0000 (0:00:01.423) 0:00:40.909 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:46:59 +0000 (0:00:00.915) 0:00:41.825 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:46:59 +0000 (0:00:00.023) 0:00:41.848 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:46:59 +0000 (0:00:00.033) 0:00:41.881 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:46:59 +0000 (0:00:00.022) 0:00:41.904 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:46:59 +0000 (0:00:00.050) 0:00:41.954 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:46:59 +0000 (0:00:00.020) 0:00:41.975 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:46:59 +0000 (0:00:00.021) 0:00:41.996 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:46:59 +0000 (0:00:00.030) 0:00:42.027 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:46:59 +0000 (0:00:00.351) 0:00:42.379 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:46:59 +0000 (0:00:00.024) 0:00:42.403 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:46:59 +0000 (0:00:00.050) 0:00:42.454 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:46:59 +0000 (0:00:00.022) 0:00:42.476 ****** 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, 662001b7-9e36-4fbc-8a9b-e6eab7613616 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:47:00 +0000 (0:00:00.406) 0:00:42.883 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:47:00 +0000 (0:00:00.032) 0:00:42.915 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 662001b7-9e36-4fbc-8a9b-e6eab7613616" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:47:00 +0000 (0:00:00.029) 0:00:42.945 ****** 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, 662001b7-9e36-4fbc-8a9b-e6eab7613616\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 662001b7-9e36-4fbc-8a9b-e6eab7613616" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:47:00 +0000 (0:00:00.023) 0:00:42.968 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:47:00 +0000 (0:00:00.020) 0:00:42.988 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:47:00 +0000 (0:00:00.188) 0:00:43.177 ****** 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, 662001b7-9e36-4fbc-8a9b-e6eab7613616\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 662001b7-9e36-4fbc-8a9b-e6eab7613616" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 13:47:00 +0000 (0:00:00.023) 0:00:43.200 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:47:00 +0000 (0:00:00.035) 0:00:43.236 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:47:00 +0000 (0:00:00.038) 0:00:43.274 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:47:00 +0000 (0:00:00.025) 0:00:43.300 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:47:00 +0000 (0:00:00.020) 0:00:43.320 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:47:00 +0000 (0:00:00.019) 0:00:43.340 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:47:02 +0000 (0:00:01.450) 0:00:44.790 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:47:03 +0000 (0:00:00.917) 0:00:45.708 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:47:03 +0000 (0:00:00.021) 0:00:45.729 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:47:03 +0000 (0:00:00.022) 0:00:45.752 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:47:03 +0000 (0:00:00.021) 0:00:45.773 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:47:03 +0000 (0:00:00.089) 0:00:45.863 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:47:03 +0000 (0:00:00.025) 0:00:45.888 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:47:03 +0000 (0:00:00.040) 0:00:45.928 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:47:03 +0000 (0:00:00.035) 0:00:45.963 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:47:03 +0000 (0:00:00.358) 0:00:46.322 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:47:03 +0000 (0:00:00.025) 0:00:46.348 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:47:03 +0000 (0:00:00.023) 0:00:46.371 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:47:03 +0000 (0:00:00.021) 0:00:46.393 ****** 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, 662001b7-9e36-4fbc-8a9b-e6eab7613616 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:47:04 +0000 (0:00:00.365) 0:00:46.758 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:47:04 +0000 (0:00:00.022) 0:00:46.781 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 662001b7-9e36-4fbc-8a9b-e6eab7613616 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:47:04 +0000 (0:00:00.024) 0:00:46.805 ****** 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, 662001b7-9e36-4fbc-8a9b-e6eab7613616 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 662001b7-9e36-4fbc-8a9b-e6eab7613616 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:47:04 +0000 (0:00:00.026) 0:00:46.831 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:47:04 +0000 (0:00:00.037) 0:00:46.869 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/remove_profile.yml:3 Saturday 06 January 2024 13:47:04 +0000 (0:00:00.188) 0:00:47.057 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:47:04 +0000 (0:00:00.065) 0:00:47.123 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:47:04 +0000 (0:00:00.041) 0:00:47.165 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:47:04 +0000 (0:00:00.030) 0:00:47.195 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:47:04 +0000 (0:00:00.024) 0:00:47.220 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:47:04 +0000 (0:00:00.023) 0:00:47.243 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:47:06 +0000 (0:00:01.410) 0:00:48.654 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:47:07 +0000 (0:00:00.951) 0:00:49.605 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:47:07 +0000 (0:00:00.025) 0:00:49.631 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:47:07 +0000 (0:00:00.026) 0:00:49.657 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:47:07 +0000 (0:00:00.021) 0:00:49.679 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:47:07 +0000 (0:00:00.043) 0:00:49.723 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:47:07 +0000 (0:00:00.020) 0:00:49.743 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:47:07 +0000 (0:00:00.022) 0:00:49.765 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:47:07 +0000 (0:00:00.023) 0:00:49.789 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:47:07 +0000 (0:00:00.354) 0:00:50.143 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:47:07 +0000 (0:00:00.026) 0:00:50.170 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:47:07 +0000 (0:00:00.021) 0:00:50.192 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:47:07 +0000 (0:00:00.028) 0:00:50.220 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:47:08 +0000 (0:00:00.387) 0:00:50.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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:47:08 +0000 (0:00:00.053) 0:00:50.661 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:47:08 +0000 (0:00:00.024) 0:00:50.686 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:47:08 +0000 (0:00:00.023) 0:00:50.709 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:47:08 +0000 (0:00:00.021) 0:00:50.731 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:47:08 +0000 (0:00:00.186) 0:00:50.917 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 January 2024 13:47:08 +0000 (0:00:00.065) 0:00:50.983 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:47:08 +0000 (0:00:00.059) 0:00:51.042 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:47:08 +0000 (0:00:00.044) 0:00:51.086 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:47:08 +0000 (0:00:00.030) 0:00:51.117 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:47:08 +0000 (0:00:00.025) 0:00:51.142 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:47:08 +0000 (0:00:00.028) 0:00:51.171 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:47:10 +0000 (0:00:01.394) 0:00:52.565 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:47:11 +0000 (0:00:00.954) 0:00:53.520 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:47:11 +0000 (0:00:00.033) 0:00:53.553 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:47:11 +0000 (0:00:00.040) 0:00:53.593 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:47:11 +0000 (0:00:00.023) 0:00:53.617 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:47:11 +0000 (0:00:00.045) 0:00:53.662 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:47:11 +0000 (0:00:00.022) 0:00:53.685 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:47:11 +0000 (0:00:00.022) 0:00:53.708 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:47:11 +0000 (0:00:00.025) 0:00:53.733 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:47:11 +0000 (0:00:00.357) 0:00:54.091 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:47:11 +0000 (0:00:00.036) 0:00:54.127 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:47:11 +0000 (0:00:00.039) 0:00:54.167 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:47:11 +0000 (0:00:00.029) 0:00:54.196 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:47:12 +0000 (0:00:00.458) 0:00:54.654 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:47:12 +0000 (0:00:00.032) 0:00:54.687 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:47:12 +0000 (0:00:00.034) 0:00:54.722 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:47:12 +0000 (0:00:00.024) 0:00:54.746 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:47:12 +0000 (0:00:00.034) 0:00:54.781 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:47:12 +0000 (0:00:00.203) 0:00:54.985 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 January 2024 13:47:12 +0000 (0:00:00.058) 0:00:55.043 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:47:12 +0000 (0:00:00.052) 0:00:55.095 ****** 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:47:12 +0000 (0:00:00.058) 0:00:55.153 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:47:12 +0000 (0:00:00.194) 0:00:55.347 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:47:12 +0000 (0:00:00.021) 0:00:55.369 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018414", "end": "2024-01-06 13:47:13.036001", "rc": 1, "start": "2024-01-06 13:47:13.017587" } 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.209) 0:00:55.579 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.022) 0:00:55.601 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.024) 0:00:55.625 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.023) 0:00:55.649 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.023) 0:00:55.673 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.024) 0:00:55.697 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.027) 0:00:55.725 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.052) 0:00:55.777 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.036) 0:00:55.814 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.193) 0:00:56.007 ****** 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-ciohd_qeou/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.026) 0:00:56.034 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.054) 0:00:56.089 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.042) 0:00:56.131 ****** 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.036021", "end": "2024-01-06 13:47:13.819786", "rc": 1, "start": "2024-01-06 13:47:13.783765" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tests_states.yml:126 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.242) 0:00:56.374 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/playbooks/tasks/run_test.yml:5 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.044) 0:00:56.419 ****** 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-ciohd_qeou/tests/playbooks/tasks/run_test.yml:9 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.031) 0:00:56.451 ****** 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-ciohd_qeou/tests/playbooks/tasks/run_test.yml:21 Saturday 06 January 2024 13:47:13 +0000 (0:00:00.048) 0:00:56.500 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 06 January 2024 13:47:14 +0000 (0:00:00.036) 0:00:56.536 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 06 January 2024 13:47:14 +0000 (0:00:00.034) 0:00:56.570 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003166", "end": "2024-01-06 13:47:14.222840", "rc": 0, "start": "2024-01-06 13:47:14.219674" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 06 January 2024 13:47:14 +0000 (0:00:00.195) 0:00:56.765 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 06 January 2024 13:47:14 +0000 (0:00:00.023) 0:00:56.789 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:24 Saturday 06 January 2024 13:47:14 +0000 (0:00:00.023) 0:00:56.813 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 06 January 2024 13:47:14 +0000 (0:00:00.072) 0:00:56.885 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:47:14 +0000 (0:00:00.039) 0:00:56.924 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:47:14 +0000 (0:00:00.045) 0:00:56.969 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:47:14 +0000 (0:00:00.026) 0:00:56.996 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:47:14 +0000 (0:00:00.021) 0:00:57.018 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:47:14 +0000 (0:00:00.021) 0:00:57.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 : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:47:15 +0000 (0:00:01.392) 0:00:58.431 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:47:16 +0000 (0:00:00.937) 0:00:59.369 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:47:16 +0000 (0:00:00.023) 0:00:59.392 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:47:16 +0000 (0:00:00.022) 0:00:59.415 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:47:16 +0000 (0:00:00.021) 0:00:59.436 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:47:16 +0000 (0:00:00.050) 0:00:59.486 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:47:16 +0000 (0:00:00.023) 0:00:59.510 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:47:17 +0000 (0:00:00.022) 0:00:59.532 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:47:17 +0000 (0:00:00.028) 0:00:59.561 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:47:17 +0000 (0:00:00.353) 0:00:59.914 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:47:17 +0000 (0:00:00.026) 0:00:59.940 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:47:17 +0000 (0:00:00.021) 0:00:59.962 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:47:17 +0000 (0:00:00.023) 0:00:59.985 ****** 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, 49e07697-b2ae-49af-a32b-1defa7e5af6c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:47:17 +0000 (0:00:00.430) 0:01:00.416 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:47:17 +0000 (0:00:00.022) 0:01:00.438 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49e07697-b2ae-49af-a32b-1defa7e5af6c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:47:17 +0000 (0:00:00.023) 0:01:00.461 ****** 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, 49e07697-b2ae-49af-a32b-1defa7e5af6c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49e07697-b2ae-49af-a32b-1defa7e5af6c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:47:17 +0000 (0:00:00.022) 0:01:00.483 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:47:17 +0000 (0:00:00.022) 0:01:00.505 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 06 January 2024 13:47:18 +0000 (0:00:00.193) 0:01:00.699 ****** 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, 49e07697-b2ae-49af-a32b-1defa7e5af6c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 49e07697-b2ae-49af-a32b-1defa7e5af6c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/activate_profile.yml:3 Saturday 06 January 2024 13:47:18 +0000 (0:00:00.023) 0:01:00.722 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:47:18 +0000 (0:00:00.034) 0:01:00.757 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:47:18 +0000 (0:00:00.039) 0:01:00.796 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:47:18 +0000 (0:00:00.028) 0:01:00.825 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:47:18 +0000 (0:00:00.021) 0:01:00.847 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:47:18 +0000 (0:00:00.023) 0:01:00.870 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:47:19 +0000 (0:00:01.404) 0:01:02.275 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:47:20 +0000 (0:00:00.915) 0:01:03.190 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:47:20 +0000 (0:00:00.023) 0:01:03.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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:47:20 +0000 (0:00:00.021) 0:01:03.235 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:47:20 +0000 (0:00:00.022) 0:01:03.257 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:47:20 +0000 (0:00:00.042) 0:01:03.300 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:47:20 +0000 (0:00:00.021) 0:01:03.321 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:47:20 +0000 (0:00:00.045) 0:01:03.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:47:20 +0000 (0:00:00.024) 0:01:03.392 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:47:21 +0000 (0:00:00.361) 0:01:03.753 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:47:21 +0000 (0:00:00.025) 0:01:03.778 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:47:21 +0000 (0:00:00.021) 0:01:03.800 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:47:21 +0000 (0:00:00.020) 0:01:03.820 ****** 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, 49e07697-b2ae-49af-a32b-1defa7e5af6c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:47:21 +0000 (0:00:00.342) 0:01:04.163 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:47:21 +0000 (0:00:00.022) 0:01:04.186 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 49e07697-b2ae-49af-a32b-1defa7e5af6c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:47:21 +0000 (0:00:00.023) 0:01:04.209 ****** 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, 49e07697-b2ae-49af-a32b-1defa7e5af6c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 49e07697-b2ae-49af-a32b-1defa7e5af6c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:47:21 +0000 (0:00:00.022) 0:01:04.232 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:47:21 +0000 (0:00:00.019) 0:01:04.252 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 January 2024 13:47:21 +0000 (0:00:00.187) 0:01:04.439 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:47:21 +0000 (0:00:00.035) 0:01:04.475 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:47:22 +0000 (0:00:00.069) 0:01:04.545 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:47:22 +0000 (0:00:00.028) 0:01:04.573 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:47:22 +0000 (0:00:00.024) 0:01:04.597 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:47:22 +0000 (0:00:00.024) 0:01:04.621 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:47:23 +0000 (0:00:01.393) 0:01:06.015 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:47:24 +0000 (0:00:00.935) 0:01:06.950 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:47:24 +0000 (0:00:00.022) 0:01:06.973 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:47:24 +0000 (0:00:00.020) 0:01:06.994 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:47:24 +0000 (0:00:00.020) 0:01:07.015 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:47:24 +0000 (0:00:00.042) 0:01:07.057 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:47:24 +0000 (0:00:00.020) 0:01:07.078 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:47:24 +0000 (0:00:00.020) 0:01:07.098 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:47:24 +0000 (0:00:00.026) 0:01:07.124 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:47:24 +0000 (0:00:00.357) 0:01:07.482 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:47:24 +0000 (0:00:00.025) 0:01:07.508 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:47:25 +0000 (0:00:00.024) 0:01:07.532 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:47:25 +0000 (0:00:00.022) 0:01:07.555 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:47:25 +0000 (0:00:00.415) 0:01:07.970 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:47:25 +0000 (0:00:00.021) 0:01:07.992 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:47:25 +0000 (0:00:00.022) 0:01:08.014 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:47:25 +0000 (0:00:00.048) 0:01:08.063 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:47:25 +0000 (0:00:00.021) 0:01:08.085 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:30 Saturday 06 January 2024 13:47:25 +0000 (0:00:00.189) 0:01:08.274 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 06 January 2024 13:47:25 +0000 (0:00:00.038) 0:01:08.313 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 06 January 2024 13:47:25 +0000 (0:00:00.034) 0:01:08.348 ****** included: /WORKDIR/git-weekly-ciohd_qeou/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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 06 January 2024 13:47:25 +0000 (0:00:00.039) 0:01:08.387 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 06 January 2024 13:47:25 +0000 (0:00:00.027) 0:01:08.414 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 06 January 2024 13:47:25 +0000 (0:00:00.020) 0:01:08.435 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 06 January 2024 13:47:25 +0000 (0:00:00.020) 0:01:08.455 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 06 January 2024 13:47:27 +0000 (0:00:01.403) 0:01:09.858 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 06 January 2024 13:47:28 +0000 (0:00:00.914) 0:01:10.773 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 06 January 2024 13:47:28 +0000 (0:00:00.021) 0:01:10.794 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 06 January 2024 13:47:28 +0000 (0:00:00.020) 0:01:10.815 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 06 January 2024 13:47:28 +0000 (0:00:00.021) 0:01:10.837 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:40 Saturday 06 January 2024 13:47:28 +0000 (0:00:00.044) 0:01:10.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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:55 Saturday 06 January 2024 13:47:28 +0000 (0:00:00.020) 0:01:10.901 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:71 Saturday 06 January 2024 13:47:28 +0000 (0:00:00.020) 0:01:10.921 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 Saturday 06 January 2024 13:47:28 +0000 (0:00:00.023) 0:01:10.945 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:96 Saturday 06 January 2024 13:47:28 +0000 (0:00:00.375) 0:01:11.320 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:105 Saturday 06 January 2024 13:47:28 +0000 (0:00:00.024) 0:01:11.345 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:113 Saturday 06 January 2024 13:47:28 +0000 (0:00:00.020) 0:01:11.365 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 Saturday 06 January 2024 13:47:28 +0000 (0:00:00.020) 0:01:11.386 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:134 Saturday 06 January 2024 13:47:29 +0000 (0:00:00.361) 0:01:11.748 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:140 Saturday 06 January 2024 13:47:29 +0000 (0:00:00.021) 0:01:11.769 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:144 Saturday 06 January 2024 13:47:29 +0000 (0:00:00.022) 0:01:11.791 ****** 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-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:149 Saturday 06 January 2024 13:47:29 +0000 (0:00:00.022) 0:01:11.814 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:155 Saturday 06 January 2024 13:47:29 +0000 (0:00:00.019) 0:01:11.834 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:36 Saturday 06 January 2024 13:47:29 +0000 (0:00:00.187) 0:01:12.022 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 06 January 2024 13:47:29 +0000 (0:00:00.042) 0:01:12.064 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 06 January 2024 13:47:29 +0000 (0:00:00.038) 0:01:12.103 ****** 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 06 January 2024 13:47:29 +0000 (0:00:00.023) 0:01:12.127 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 06 January 2024 13:47:29 +0000 (0:00:00.226) 0:01:12.354 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 06 January 2024 13:47:29 +0000 (0:00:00.021) 0:01:12.376 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019003", "end": "2024-01-06 13:47:30.044330", "rc": 1, "start": "2024-01-06 13:47:30.025327" } 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-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 06 January 2024 13:47:30 +0000 (0:00:00.210) 0:01:12.586 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 06 January 2024 13:47:30 +0000 (0:00:00.022) 0:01:12.609 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 06 January 2024 13:47:30 +0000 (0:00:00.023) 0:01:12.633 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 06 January 2024 13:47:30 +0000 (0:00:00.023) 0:01:12.656 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 06 January 2024 13:47:30 +0000 (0:00:00.024) 0:01:12.681 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 06 January 2024 13:47:30 +0000 (0:00:00.021) 0:01:12.703 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 06 January 2024 13:47:30 +0000 (0:00:00.022) 0:01:12.726 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.559223", "end": "2024-01-06 13:47:30.935479", "rc": 0, "start": "2024-01-06 13:47:30.376256" } STDOUT: NetworkManager-1.45.7-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 06 January 2024 13:47:30 +0000 (0:00:00.753) 0:01:13.480 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 06 January 2024 13:47:30 +0000 (0:00:00.024) 0:01:13.504 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.7-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/run_test.yml:42 Saturday 06 January 2024 13:47:31 +0000 (0:00:00.023) 0:01:13.528 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 06 January 2024 13:47:31 +0000 (0:00:00.044) 0:01:13.572 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 06 January 2024 13:47:31 +0000 (0:00:00.060) 0:01:13.633 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 06 January 2024 13:47:31 +0000 (0:00:00.192) 0:01:13.825 ****** 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-ciohd_qeou/tests/playbooks/tasks/run_test.yml:47 Saturday 06 January 2024 13:47:31 +0000 (0:00:00.026) 0:01:13.852 ****** 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-ciohd_qeou/tests/playbooks/tasks/run_test.yml:66 Saturday 06 January 2024 13:47:31 +0000 (0:00:00.024) 0:01:13.877 ****** included: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciohd_qeou/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 06 January 2024 13:47:31 +0000 (0:00:00.040) 0:01:13.918 ****** 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.037246", "end": "2024-01-06 13:47:31.604999", "rc": 1, "start": "2024-01-06 13:47:31.567753" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Saturday 06 January 2024 13:47:31 +0000 (0:00:00.217) 0:01:14.135 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.13s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.97s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.47s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:122 linux-system-roles.network : Enable and start NetworkManager ------------ 1.46s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/main.yml:85 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.39s /WORKDIR/git-weekly-ciohd_qeou/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.24s /WORKDIR/git-weekly-ciohd_qeou/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. ---^---^---^---^---^---