# 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-ciy2wmq9r9/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tests_states_nm.yml:6 Saturday 17 February 2024 20:35:28 +0000 (0:00:00.011) 0:00:00.011 ***** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tests_states_nm.yml:9 Saturday 17 February 2024 20:35:29 +0000 (0:00:00.714) 0:00:00.726 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/tasks/el_repo_setup.yml:3 Saturday 17 February 2024 20:35:29 +0000 (0:00:00.022) 0:00:00.749 ***** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/el_repo_setup.yml:19 Saturday 17 February 2024 20:35:29 +0000 (0:00:00.306) 0:00:01.056 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/el_repo_setup.yml:24 Saturday 17 February 2024 20:35:29 +0000 (0:00:00.248) 0:00:01.304 ***** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/el_repo_setup.yml:28 Saturday 17 February 2024 20:35:29 +0000 (0:00:00.020) 0:00:01.325 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/el_repo_setup.yml:53 Saturday 17 February 2024 20:35:29 +0000 (0:00:00.018) 0:00:01.343 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/enable_epel.yml:8 Saturday 17 February 2024 20:35:30 +0000 (0:00:00.043) 0:00:01.387 ***** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/enable_epel.yml:24 Saturday 17 February 2024 20:35:30 +0000 (0:00:00.226) 0:00:01.613 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/enable_epel.yml:30 Saturday 17 February 2024 20:35:30 +0000 (0:00:00.010) 0:00:01.624 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/enable_epel.yml:35 Saturday 17 February 2024 20:35:30 +0000 (0:00:00.010) 0:00:01.634 ***** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.236798", "end": "2024-02-17 20:35:30.648982", "rc": 0, "start": "2024-02-17 20:35:30.412184" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tasks/enable_epel.yml:40 Saturday 17 February 2024 20:35:30 +0000 (0:00:00.416) 0:00:02.051 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/tests_states_nm.yml:11 Saturday 17 February 2024 20:35:30 +0000 (0:00:00.011) 0:00:02.062 ***** 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-ciy2wmq9r9/tests/playbooks/tests_states.yml:3 Saturday 17 February 2024 20:35:30 +0000 (0:00:00.011) 0:00:02.074 ***** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tests_states.yml:11 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.451) 0:00:02.525 ***** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tests_states.yml:22 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.011) 0:00:02.536 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:5 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.015) 0:00:02.552 ***** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:9 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.012) 0:00:02.564 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:21 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.033) 0:00:02.597 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.013) 0:00:02.611 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.012) 0:00:02.624 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002804", "end": "2024-02-17 20:35:31.403172", "rc": 0, "start": "2024-02-17 20:35:31.400368" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.179) 0:00:02.803 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.012) 0:00:02.816 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:24 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.010) 0:00:02.826 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/delete_interface.yml:3 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.021) 0:00:02.847 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007293", "end": "2024-02-17 20:35:31.630830", "rc": 1, "start": "2024-02-17 20:35:31.623537" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.182) 0:00:03.030 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.015) 0:00:03.045 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.176) 0:00:03.222 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:30 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.013) 0:00:03.235 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.018) 0:00:03.254 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.034) 0:00:03.288 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.068) 0:00:03.357 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.012) 0:00:03.369 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:35:31 +0000 (0:00:00.009) 0:00:03.379 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:35:32 +0000 (0:00:00.010) 0:00:03.390 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:35:33 +0000 (0:00:01.527) 0:00:04.917 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:35:34 +0000 (0:00:01.438) 0:00:06.356 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:35:34 +0000 (0:00:00.022) 0:00:06.378 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:35:35 +0000 (0:00:00.021) 0:00:06.400 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:35:35 +0000 (0:00:00.021) 0:00:06.421 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:35:35 +0000 (0:00:00.043) 0:00:06.464 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:35:35 +0000 (0:00:00.022) 0:00:06.487 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:35:35 +0000 (0:00:00.021) 0:00:06.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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:35:35 +0000 (0:00:00.025) 0:00:06.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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:35:35 +0000 (0:00:00.462) 0:00:06.996 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:35:35 +0000 (0:00:00.026) 0:00:07.023 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:35:35 +0000 (0:00:00.022) 0:00:07.045 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:35:35 +0000 (0:00:00.020) 0:00:07.066 ***** 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, afe72567-ee00-4185-87f7-3b5ac321660f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:35:36 +0000 (0:00:00.522) 0:00:07.589 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:35:36 +0000 (0:00:00.023) 0:00:07.612 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, afe72567-ee00-4185-87f7-3b5ac321660f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:35:36 +0000 (0:00:00.022) 0:00:07.635 ***** 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, afe72567-ee00-4185-87f7-3b5ac321660f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, afe72567-ee00-4185-87f7-3b5ac321660f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:35:36 +0000 (0:00:00.023) 0:00:07.658 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:35:36 +0000 (0:00:00.021) 0:00:07.679 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 February 2024 20:35:36 +0000 (0:00:00.234) 0:00:07.914 ***** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, afe72567-ee00-4185-87f7-3b5ac321660f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, afe72567-ee00-4185-87f7-3b5ac321660f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:36 Saturday 17 February 2024 20:35:36 +0000 (0:00:00.024) 0:00:07.939 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 February 2024 20:35:36 +0000 (0:00:00.040) 0:00:07.979 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 20:35:36 +0000 (0:00:00.039) 0:00:08.019 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 20:35:36 +0000 (0:00:00.021) 0:00:08.041 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708202136.1617057, "block_size": 4096, "blocks": 8, "ctime": 1708202136.1047077, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180946, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708202136.1047077, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 20:35:36 +0000 (0:00:00.188) 0:00:08.230 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 20:35:36 +0000 (0:00:00.023) 0:00:08.253 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020646", "end": "2024-02-17 20:35:37.051470", "rc": 0, "start": "2024-02-17 20:35:37.030824" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.236) 0:00:08.489 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.025) 0:00:08.515 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.023) 0:00:08.538 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.025) 0:00:08.563 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.023) 0:00:08.587 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.023) 0:00:08.611 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.024) 0:00:08.636 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.024) 0:00:08.661 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:42 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.022) 0:00:08.683 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.043) 0:00:08.727 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.036) 0:00:08.764 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708202136.1068034, "block_size": 4096, "blocks": 0, "ctime": 1708202136.1068034, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33918, "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": 1708202136.1068034, "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-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.192) 0:00:08.956 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:47 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.025) 0:00:08.982 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:66 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.049) 0:00:09.031 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.041) 0:00:09.073 ***** 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.059254", "end": "2024-02-17 20:35:37.909678", "rc": 1, "start": "2024-02-17 20:35:37.850424" } STDOUT: Connection 'statebr' (afe72567-ee00-4185-87f7-3b5ac321660f) 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-ciy2wmq9r9/tests/playbooks/tests_states.yml:45 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.248) 0:00:09.321 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:5 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.038) 0:00:09.360 ***** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:9 Saturday 17 February 2024 20:35:37 +0000 (0:00:00.022) 0:00:09.383 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:21 Saturday 17 February 2024 20:35:38 +0000 (0:00:00.045) 0:00:09.429 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 20:35:38 +0000 (0:00:00.036) 0:00:09.465 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 20:35:38 +0000 (0:00:00.035) 0:00:09.500 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002822", "end": "2024-02-17 20:35:38.282488", "rc": 0, "start": "2024-02-17 20:35:38.279666" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 20:35:38 +0000 (0:00:00.194) 0:00:09.694 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 20:35:38 +0000 (0:00:00.023) 0:00:09.718 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:24 Saturday 17 February 2024 20:35:38 +0000 (0:00:00.022) 0:00:09.740 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/delete_interface.yml:3 Saturday 17 February 2024 20:35:38 +0000 (0:00:00.068) 0:00:09.809 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005714", "end": "2024-02-17 20:35:38.594781", "rc": 1, "start": "2024-02-17 20:35:38.589067" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 February 2024 20:35:38 +0000 (0:00:00.197) 0:00:10.006 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 20:35:38 +0000 (0:00:00.036) 0:00:10.043 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 February 2024 20:35:38 +0000 (0:00:00.190) 0:00:10.234 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:30 Saturday 17 February 2024 20:35:38 +0000 (0:00:00.025) 0:00:10.259 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Saturday 17 February 2024 20:35:38 +0000 (0:00:00.039) 0:00:10.299 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:35:38 +0000 (0:00:00.041) 0:00:10.340 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:35:38 +0000 (0:00:00.040) 0:00:10.380 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:35:39 +0000 (0:00:00.027) 0:00:10.408 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:35:39 +0000 (0:00:00.021) 0:00:10.429 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:35:39 +0000 (0:00:00.048) 0:00:10.478 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:35:40 +0000 (0:00:01.466) 0:00:11.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 : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:35:41 +0000 (0:00:01.282) 0:00:13.227 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:35:41 +0000 (0:00:00.049) 0:00:13.276 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:35:41 +0000 (0:00:00.023) 0:00:13.300 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:35:41 +0000 (0:00:00.021) 0:00:13.321 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:35:41 +0000 (0:00:00.045) 0:00:13.367 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:35:42 +0000 (0:00:00.022) 0:00:13.390 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:35:42 +0000 (0:00:00.022) 0:00:13.412 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:35:42 +0000 (0:00:00.028) 0:00:13.440 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:35:42 +0000 (0:00:00.336) 0:00:13.777 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:35:42 +0000 (0:00:00.025) 0:00:13.802 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:35:42 +0000 (0:00:00.021) 0:00:13.824 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:35:42 +0000 (0:00:00.022) 0:00:13.846 ***** 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, 13e38684-0816-482a-b40f-a8d9bf648d4f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:35:42 +0000 (0:00:00.334) 0:00:14.180 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:35:42 +0000 (0:00:00.022) 0:00:14.203 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 13e38684-0816-482a-b40f-a8d9bf648d4f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:35:42 +0000 (0:00:00.023) 0:00:14.226 ***** 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, 13e38684-0816-482a-b40f-a8d9bf648d4f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 13e38684-0816-482a-b40f-a8d9bf648d4f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:35:42 +0000 (0:00:00.050) 0:00:14.276 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:35:42 +0000 (0:00:00.022) 0:00:14.299 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Saturday 17 February 2024 20:35:43 +0000 (0:00:00.184) 0:00:14.484 ***** 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, 13e38684-0816-482a-b40f-a8d9bf648d4f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 13e38684-0816-482a-b40f-a8d9bf648d4f" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:36 Saturday 17 February 2024 20:35:43 +0000 (0:00:00.023) 0:00:14.508 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 February 2024 20:35:43 +0000 (0:00:00.045) 0:00:14.553 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 20:35:43 +0000 (0:00:00.037) 0:00:14.591 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 February 2024 20:35:43 +0000 (0:00:00.192) 0:00:14.783 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 February 2024 20:35:43 +0000 (0:00:00.024) 0:00:14.807 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 20:35:43 +0000 (0:00:00.038) 0:00:14.846 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 20:35:43 +0000 (0:00:00.022) 0:00:14.868 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708202142.754481, "block_size": 4096, "blocks": 8, "ctime": 1708202142.754481, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180946, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708202142.754481, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 20:35:43 +0000 (0:00:00.191) 0:00:15.060 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 20:35:43 +0000 (0:00:00.051) 0:00:15.111 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020294", "end": "2024-02-17 20:35:43.911744", "rc": 0, "start": "2024-02-17 20:35:43.891450" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 20:35:43 +0000 (0:00:00.213) 0:00:15.325 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 20:35:43 +0000 (0:00:00.024) 0:00:15.350 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 20:35:43 +0000 (0:00:00.026) 0:00:15.376 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.025) 0:00:15.401 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.024) 0:00:15.426 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.026) 0:00:15.453 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.025) 0:00:15.478 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.024) 0:00:15.503 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:42 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.025) 0:00:15.528 ***** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:47 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.021) 0:00:15.549 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:66 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.023) 0:00:15.572 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.043) 0:00:15.615 ***** 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.039905", "end": "2024-02-17 20:35:44.435682", "rc": 1, "start": "2024-02-17 20:35:44.395777" } STDOUT: Connection 'statebr' (13e38684-0816-482a-b40f-a8d9bf648d4f) 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-ciy2wmq9r9/tests/playbooks/tests_states.yml:65 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.233) 0:00:15.848 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:5 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.066) 0:00:15.915 ***** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:9 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.023) 0:00:15.939 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:21 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.045) 0:00:15.984 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.036) 0:00:16.020 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.035) 0:00:16.056 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002806", "end": "2024-02-17 20:35:44.837472", "rc": 0, "start": "2024-02-17 20:35:44.834666" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.194) 0:00:16.250 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.023) 0:00:16.273 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:24 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.022) 0:00:16.296 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.039) 0:00:16.335 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:35:44 +0000 (0:00:00.037) 0:00:16.372 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:35:45 +0000 (0:00:00.067) 0:00:16.440 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:35:45 +0000 (0:00:00.029) 0:00:16.469 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:35:45 +0000 (0:00:00.022) 0:00:16.491 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:35:45 +0000 (0:00:00.021) 0:00:16.513 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:35:46 +0000 (0:00:01.465) 0:00:17.979 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:35:47 +0000 (0:00:01.299) 0:00:19.278 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:35:47 +0000 (0:00:00.023) 0:00:19.302 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:35:47 +0000 (0:00:00.023) 0:00:19.325 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:35:47 +0000 (0:00:00.022) 0:00:19.347 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:35:48 +0000 (0:00:00.045) 0:00:19.392 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:35:48 +0000 (0:00:00.022) 0:00:19.415 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:35:48 +0000 (0:00:00.022) 0:00:19.437 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:35:48 +0000 (0:00:00.026) 0:00:19.464 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:35:48 +0000 (0:00:00.332) 0:00:19.796 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:35:48 +0000 (0:00:00.027) 0:00:19.823 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:35:48 +0000 (0:00:00.021) 0:00:19.845 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:35:48 +0000 (0:00:00.021) 0:00:19.866 ***** 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, 627c1713-f64a-4e1f-b9cb-4d26d18b84e0 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:35:48 +0000 (0:00:00.409) 0:00:20.276 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:35:48 +0000 (0:00:00.023) 0:00:20.299 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 627c1713-f64a-4e1f-b9cb-4d26d18b84e0" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:35:48 +0000 (0:00:00.023) 0:00:20.322 ***** 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, 627c1713-f64a-4e1f-b9cb-4d26d18b84e0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 627c1713-f64a-4e1f-b9cb-4d26d18b84e0" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:35:48 +0000 (0:00:00.023) 0:00:20.346 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:35:48 +0000 (0:00:00.022) 0:00:20.368 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 February 2024 20:35:49 +0000 (0:00:00.186) 0:00:20.555 ***** 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, 627c1713-f64a-4e1f-b9cb-4d26d18b84e0\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 627c1713-f64a-4e1f-b9cb-4d26d18b84e0" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:30 Saturday 17 February 2024 20:35:49 +0000 (0:00:00.024) 0:00:20.579 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 17 February 2024 20:35:49 +0000 (0:00:00.040) 0:00:20.619 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:35:49 +0000 (0:00:00.041) 0:00:20.660 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:35:49 +0000 (0:00:00.040) 0:00:20.701 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:35:49 +0000 (0:00:00.027) 0:00:20.729 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:35:49 +0000 (0:00:00.022) 0:00:20.752 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:35:49 +0000 (0:00:00.049) 0:00:20.801 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:35:50 +0000 (0:00:01.464) 0:00:22.266 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:35:52 +0000 (0:00:01.279) 0:00:23.546 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:35:52 +0000 (0:00:00.044) 0:00:23.591 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:35:52 +0000 (0:00:00.022) 0:00:23.613 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:35:52 +0000 (0:00:00.022) 0:00:23.635 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:35:52 +0000 (0:00:00.044) 0:00:23.680 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:35:52 +0000 (0:00:00.022) 0:00:23.703 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:35:52 +0000 (0:00:00.028) 0:00:23.731 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:35:52 +0000 (0:00:00.026) 0:00:23.758 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:35:52 +0000 (0:00:00.332) 0:00:24.090 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:35:52 +0000 (0:00:00.026) 0:00:24.116 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:35:52 +0000 (0:00:00.022) 0:00:24.139 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:35:52 +0000 (0:00:00.022) 0:00:24.162 ***** 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, 627c1713-f64a-4e1f-b9cb-4d26d18b84e0 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:35:53 +0000 (0:00:00.321) 0:00:24.483 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:35:53 +0000 (0:00:00.022) 0:00:24.506 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 627c1713-f64a-4e1f-b9cb-4d26d18b84e0 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:35:53 +0000 (0:00:00.025) 0:00:24.532 ***** 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, 627c1713-f64a-4e1f-b9cb-4d26d18b84e0 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 627c1713-f64a-4e1f-b9cb-4d26d18b84e0 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:35:53 +0000 (0:00:00.023) 0:00:24.556 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:35:53 +0000 (0:00:00.049) 0:00:24.606 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:36 Saturday 17 February 2024 20:35:53 +0000 (0:00:00.185) 0:00:24.792 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 17 February 2024 20:35:53 +0000 (0:00:00.044) 0:00:24.836 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 20:35:53 +0000 (0:00:00.037) 0:00:24.874 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708202148.8013692, "block_size": 4096, "blocks": 0, "ctime": 1708202148.8013692, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34049, "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": 1708202148.8013692, "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-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 17 February 2024 20:35:53 +0000 (0:00:00.191) 0:00:25.065 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:3 Saturday 17 February 2024 20:35:53 +0000 (0:00:00.027) 0:00:25.092 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 20:35:53 +0000 (0:00:00.041) 0:00:25.134 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 20:35:53 +0000 (0:00:00.025) 0:00:25.160 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708202148.857273, "block_size": 4096, "blocks": 8, "ctime": 1708202148.8002748, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 6180946, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1708202148.8002748, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 20:35:53 +0000 (0:00:00.191) 0:00:25.351 ***** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 20:35:53 +0000 (0:00:00.023) 0:00:25.375 ***** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021012", "end": "2024-02-17 20:35:54.173231", "rc": 0, "start": "2024-02-17 20:35:54.152219" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.211) 0:00:25.586 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.053) 0:00:25.640 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.025) 0:00:25.665 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.023) 0:00:25.688 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.025) 0:00:25.714 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:5 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.024) 0:00:25.738 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:10 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.024) 0:00:25.763 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_present.yml:15 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.026) 0:00:25.789 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:42 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.023) 0:00:25.813 ***** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:47 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.023) 0:00:25.836 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:66 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.025) 0:00:25.861 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.042) 0:00:25.903 ***** 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.062954", "end": "2024-02-17 20:35:54.744179", "rc": 1, "start": "2024-02-17 20:35:54.681225" } STDOUT: Connection 'statebr' (627c1713-f64a-4e1f-b9cb-4d26d18b84e0) 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-ciy2wmq9r9/tests/playbooks/tests_states.yml:83 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.253) 0:00:26.157 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:5 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.037) 0:00:26.195 ***** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:9 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.051) 0:00:26.246 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:21 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.045) 0:00:26.292 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.036) 0:00:26.328 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 20:35:54 +0000 (0:00:00.035) 0:00:26.363 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002757", "end": "2024-02-17 20:35:55.143992", "rc": 0, "start": "2024-02-17 20:35:55.141235" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 20:35:55 +0000 (0:00:00.191) 0:00:26.555 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 20:35:55 +0000 (0:00:00.023) 0:00:26.579 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:24 Saturday 17 February 2024 20:35:55 +0000 (0:00:00.022) 0:00:26.602 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 February 2024 20:35:55 +0000 (0:00:00.042) 0:00:26.644 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:35:55 +0000 (0:00:00.037) 0:00:26.682 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:35:55 +0000 (0:00:00.041) 0:00:26.723 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:35:55 +0000 (0:00:00.027) 0:00:26.750 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:35:55 +0000 (0:00:00.051) 0:00:26.801 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:35:55 +0000 (0:00:00.022) 0:00:26.824 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:35:56 +0000 (0:00:01.455) 0:00:28.280 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:35:58 +0000 (0:00:01.300) 0:00:29.581 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:35:58 +0000 (0:00:00.024) 0:00:29.605 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:35:58 +0000 (0:00:00.021) 0:00:29.626 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:35:58 +0000 (0:00:00.022) 0:00:29.649 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:35:58 +0000 (0:00:00.044) 0:00:29.694 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:35:58 +0000 (0:00:00.022) 0:00:29.716 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:35:58 +0000 (0:00:00.022) 0:00:29.739 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:35:58 +0000 (0:00:00.026) 0:00:29.765 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:35:58 +0000 (0:00:00.330) 0:00:30.096 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:35:58 +0000 (0:00:00.026) 0:00:30.122 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:35:58 +0000 (0:00:00.021) 0:00:30.143 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:35:58 +0000 (0:00:00.022) 0:00:30.166 ***** 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, 1fc01515-bcd5-4ef2-a3c3-aa959b98b70b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:35:59 +0000 (0:00:00.373) 0:00:30.540 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:35:59 +0000 (0:00:00.022) 0:00:30.562 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1fc01515-bcd5-4ef2-a3c3-aa959b98b70b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:35:59 +0000 (0:00:00.052) 0:00:30.615 ***** 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, 1fc01515-bcd5-4ef2-a3c3-aa959b98b70b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1fc01515-bcd5-4ef2-a3c3-aa959b98b70b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:35:59 +0000 (0:00:00.024) 0:00:30.640 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:35:59 +0000 (0:00:00.022) 0:00:30.662 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 February 2024 20:35:59 +0000 (0:00:00.189) 0:00:30.852 ***** 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, 1fc01515-bcd5-4ef2-a3c3-aa959b98b70b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1fc01515-bcd5-4ef2-a3c3-aa959b98b70b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 17 February 2024 20:35:59 +0000 (0:00:00.023) 0:00:30.876 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:35:59 +0000 (0:00:00.039) 0:00:30.915 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:35:59 +0000 (0:00:00.043) 0:00:30.958 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:35:59 +0000 (0:00:00.029) 0:00:30.988 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:35:59 +0000 (0:00:00.021) 0:00:31.009 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:35:59 +0000 (0:00:00.022) 0:00:31.032 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:36:01 +0000 (0:00:01.456) 0:00:32.489 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:36:02 +0000 (0:00:01.290) 0:00:33.780 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:36:02 +0000 (0:00:00.024) 0:00:33.804 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:36:02 +0000 (0:00:00.022) 0:00:33.827 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:36:02 +0000 (0:00:00.022) 0:00:33.849 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:36:02 +0000 (0:00:00.044) 0:00:33.894 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:36:02 +0000 (0:00:00.023) 0:00:33.917 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:36:02 +0000 (0:00:00.047) 0:00:33.964 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:36:02 +0000 (0:00:00.028) 0:00:33.992 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:36:02 +0000 (0:00:00.332) 0:00:34.325 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:36:02 +0000 (0:00:00.029) 0:00:34.355 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:36:02 +0000 (0:00:00.024) 0:00:34.379 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:36:03 +0000 (0:00:00.023) 0:00:34.402 ***** 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, 1fc01515-bcd5-4ef2-a3c3-aa959b98b70b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:36:03 +0000 (0:00:00.332) 0:00:34.734 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:36:03 +0000 (0:00:00.022) 0:00:34.756 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1fc01515-bcd5-4ef2-a3c3-aa959b98b70b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:36:03 +0000 (0:00:00.023) 0:00:34.780 ***** 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, 1fc01515-bcd5-4ef2-a3c3-aa959b98b70b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1fc01515-bcd5-4ef2-a3c3-aa959b98b70b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:36:03 +0000 (0:00:00.023) 0:00:34.804 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:36:03 +0000 (0:00:00.021) 0:00:34.826 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:30 Saturday 17 February 2024 20:36:03 +0000 (0:00:00.188) 0:00:35.015 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove_profile.yml:3 Saturday 17 February 2024 20:36:03 +0000 (0:00:00.072) 0:00:35.088 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:36:03 +0000 (0:00:00.042) 0:00:35.130 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:36:03 +0000 (0:00:00.042) 0:00:35.172 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:36:03 +0000 (0:00:00.028) 0:00:35.201 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:36:03 +0000 (0:00:00.022) 0:00:35.223 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:36:03 +0000 (0:00:00.022) 0:00:35.246 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:36:05 +0000 (0:00:01.459) 0:00:36.706 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:36:06 +0000 (0:00:01.306) 0:00:38.012 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:36:06 +0000 (0:00:00.024) 0:00:38.037 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:36:06 +0000 (0:00:00.023) 0:00:38.060 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:36:06 +0000 (0:00:00.023) 0:00:38.083 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:36:06 +0000 (0:00:00.050) 0:00:38.134 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:36:06 +0000 (0:00:00.024) 0:00:38.158 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:36:06 +0000 (0:00:00.022) 0:00:38.180 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:36:06 +0000 (0:00:00.026) 0:00:38.207 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:36:07 +0000 (0:00:00.336) 0:00:38.544 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:36:07 +0000 (0:00:00.072) 0:00:38.616 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:36:07 +0000 (0:00:00.022) 0:00:38.639 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:36:07 +0000 (0:00:00.020) 0:00:38.660 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:36:07 +0000 (0:00:00.347) 0:00:39.008 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:36:07 +0000 (0:00:00.023) 0:00:39.031 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:36:07 +0000 (0:00:00.023) 0:00:39.055 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:36:07 +0000 (0:00:00.024) 0:00:39.079 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:36:07 +0000 (0:00:00.023) 0:00:39.102 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:36 Saturday 17 February 2024 20:36:07 +0000 (0:00:00.187) 0:00:39.290 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml:3 Saturday 17 February 2024 20:36:07 +0000 (0:00:00.044) 0:00:39.334 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 20:36:07 +0000 (0:00:00.036) 0:00:39.371 ***** ok: [sut] => { "changed": false, "stat": { "atime": 1708202159.0771258, "block_size": 4096, "blocks": 0, "ctime": 1708202159.0771258, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34180, "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": 1708202159.0771258, "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-ciy2wmq9r9/tests/playbooks/tasks/assert_device_present.yml:5 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.193) 0:00:39.564 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.076) 0:00:39.640 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.039) 0:00:39.680 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.022) 0:00:39.703 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.190) 0:00:39.893 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.024) 0:00:39.918 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020174", "end": "2024-02-17 20:36:08.715455", "rc": 1, "start": "2024-02-17 20:36:08.695281" } 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-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.212) 0:00:40.130 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.026) 0:00:40.157 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.025) 0:00:40.182 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.024) 0:00:40.207 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.023) 0:00:40.230 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.024) 0:00:40.254 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:42 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.024) 0:00:40.279 ***** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:47 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.021) 0:00:40.300 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:66 Saturday 17 February 2024 20:36:08 +0000 (0:00:00.023) 0:00:40.324 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 February 2024 20:36:09 +0000 (0:00:00.071) 0:00:40.395 ***** 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.071599", "end": "2024-02-17 20:36:09.250587", "rc": 1, "start": "2024-02-17 20:36:09.178988" } STDOUT: Connection 'statebr' (1fc01515-bcd5-4ef2-a3c3-aa959b98b70b) 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-ciy2wmq9r9/tests/playbooks/tests_states.yml:103 Saturday 17 February 2024 20:36:09 +0000 (0:00:00.268) 0:00:40.663 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:5 Saturday 17 February 2024 20:36:09 +0000 (0:00:00.038) 0:00:40.702 ***** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:9 Saturday 17 February 2024 20:36:09 +0000 (0:00:00.023) 0:00:40.726 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:21 Saturday 17 February 2024 20:36:09 +0000 (0:00:00.045) 0:00:40.772 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 20:36:09 +0000 (0:00:00.037) 0:00:40.809 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 20:36:09 +0000 (0:00:00.035) 0:00:40.845 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003146", "end": "2024-02-17 20:36:09.627725", "rc": 0, "start": "2024-02-17 20:36:09.624579" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 20:36:09 +0000 (0:00:00.208) 0:00:41.053 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 20:36:09 +0000 (0:00:00.051) 0:00:41.105 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:24 Saturday 17 February 2024 20:36:09 +0000 (0:00:00.031) 0:00:41.137 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 February 2024 20:36:09 +0000 (0:00:00.104) 0:00:41.241 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:36:09 +0000 (0:00:00.048) 0:00:41.290 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:36:09 +0000 (0:00:00.047) 0:00:41.337 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:36:09 +0000 (0:00:00.030) 0:00:41.367 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:36:10 +0000 (0:00:00.023) 0:00:41.390 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:36:10 +0000 (0:00:00.022) 0:00:41.413 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:36:11 +0000 (0:00:01.464) 0:00:42.877 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:36:12 +0000 (0:00:01.329) 0:00:44.207 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:36:12 +0000 (0:00:00.032) 0:00:44.239 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:36:12 +0000 (0:00:00.032) 0:00:44.272 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:36:12 +0000 (0:00:00.025) 0:00:44.298 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:36:12 +0000 (0:00:00.046) 0:00:44.344 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:36:12 +0000 (0:00:00.027) 0:00:44.372 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:36:13 +0000 (0:00:00.034) 0:00:44.406 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:36:13 +0000 (0:00:00.036) 0:00:44.443 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:36:13 +0000 (0:00:00.374) 0:00:44.818 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:36:13 +0000 (0:00:00.027) 0:00:44.846 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:36:13 +0000 (0:00:00.022) 0:00:44.868 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:36:13 +0000 (0:00:00.023) 0:00:44.892 ***** 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, 85314423-a8df-4595-aa82-044dfee81921 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:36:13 +0000 (0:00:00.387) 0:00:45.279 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:36:13 +0000 (0:00:00.026) 0:00:45.306 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85314423-a8df-4595-aa82-044dfee81921" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:36:13 +0000 (0:00:00.023) 0:00:45.330 ***** 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, 85314423-a8df-4595-aa82-044dfee81921\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85314423-a8df-4595-aa82-044dfee81921" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:36:13 +0000 (0:00:00.024) 0:00:45.354 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:36:13 +0000 (0:00:00.022) 0:00:45.377 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 February 2024 20:36:14 +0000 (0:00:00.186) 0:00:45.564 ***** 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, 85314423-a8df-4595-aa82-044dfee81921\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 85314423-a8df-4595-aa82-044dfee81921" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 17 February 2024 20:36:14 +0000 (0:00:00.023) 0:00:45.587 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:36:14 +0000 (0:00:00.037) 0:00:45.624 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:36:14 +0000 (0:00:00.040) 0:00:45.665 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:36:14 +0000 (0:00:00.056) 0:00:45.722 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:36:14 +0000 (0:00:00.023) 0:00:45.746 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:36:14 +0000 (0:00:00.022) 0:00:45.768 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:36:15 +0000 (0:00:01.466) 0:00:47.235 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:36:17 +0000 (0:00:01.317) 0:00:48.552 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:36:17 +0000 (0:00:00.025) 0:00:48.578 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:36:17 +0000 (0:00:00.023) 0:00:48.601 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:36:17 +0000 (0:00:00.020) 0:00:48.622 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:36:17 +0000 (0:00:00.044) 0:00:48.667 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:36:17 +0000 (0:00:00.022) 0:00:48.690 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:36:17 +0000 (0:00:00.021) 0:00:48.712 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:36:17 +0000 (0:00:00.026) 0:00:48.738 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:36:17 +0000 (0:00:00.333) 0:00:49.072 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:36:17 +0000 (0:00:00.031) 0:00:49.103 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:36:17 +0000 (0:00:00.024) 0:00:49.127 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:36:17 +0000 (0:00:00.035) 0:00:49.162 ***** 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, 85314423-a8df-4595-aa82-044dfee81921 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:36:18 +0000 (0:00:00.324) 0:00:49.487 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:36:18 +0000 (0:00:00.022) 0:00:49.510 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 85314423-a8df-4595-aa82-044dfee81921 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:36:18 +0000 (0:00:00.059) 0:00:49.570 ***** 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, 85314423-a8df-4595-aa82-044dfee81921 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 85314423-a8df-4595-aa82-044dfee81921 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:36:18 +0000 (0:00:00.026) 0:00:49.596 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:36:18 +0000 (0:00:00.024) 0:00:49.621 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove_profile.yml:3 Saturday 17 February 2024 20:36:18 +0000 (0:00:00.185) 0:00:49.807 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:36:18 +0000 (0:00:00.040) 0:00:49.847 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:36:18 +0000 (0:00:00.043) 0:00:49.891 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:36:18 +0000 (0:00:00.034) 0:00:49.925 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:36:18 +0000 (0:00:00.023) 0:00:49.949 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:36:18 +0000 (0:00:00.022) 0:00:49.972 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:36:20 +0000 (0:00:01.460) 0:00:51.432 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:36:21 +0000 (0:00:01.284) 0:00:52.717 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:36:21 +0000 (0:00:00.024) 0:00:52.742 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:36:21 +0000 (0:00:00.024) 0:00:52.766 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:36:21 +0000 (0:00:00.023) 0:00:52.790 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:36:21 +0000 (0:00:00.045) 0:00:52.836 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:36:21 +0000 (0:00:00.023) 0:00:52.859 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:36:21 +0000 (0:00:00.023) 0:00:52.883 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:36:21 +0000 (0:00:00.056) 0:00:52.940 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:36:21 +0000 (0:00:00.339) 0:00:53.279 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:36:21 +0000 (0:00:00.027) 0:00:53.307 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:36:21 +0000 (0:00:00.025) 0:00:53.333 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:36:21 +0000 (0:00:00.023) 0:00:53.356 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:36:22 +0000 (0:00:00.348) 0:00:53.705 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:36:22 +0000 (0:00:00.025) 0:00:53.730 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:36:22 +0000 (0:00:00.023) 0:00:53.754 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:36:22 +0000 (0:00:00.024) 0:00:53.778 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:36:22 +0000 (0:00:00.022) 0:00:53.801 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:30 Saturday 17 February 2024 20:36:22 +0000 (0:00:00.185) 0:00:53.987 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 February 2024 20:36:22 +0000 (0:00:00.042) 0:00:54.029 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:36:22 +0000 (0:00:00.075) 0:00:54.105 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:36:22 +0000 (0:00:00.041) 0:00:54.146 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:36:22 +0000 (0:00:00.027) 0:00:54.173 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:36:22 +0000 (0:00:00.022) 0:00:54.196 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:36:22 +0000 (0:00:00.022) 0:00:54.219 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:36:24 +0000 (0:00:01.467) 0:00:55.687 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:36:25 +0000 (0:00:01.310) 0:00:56.997 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:36:25 +0000 (0:00:00.023) 0:00:57.021 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:36:25 +0000 (0:00:00.021) 0:00:57.043 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:36:25 +0000 (0:00:00.021) 0:00:57.064 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:36:25 +0000 (0:00:00.043) 0:00:57.108 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:36:25 +0000 (0:00:00.022) 0:00:57.131 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:36:25 +0000 (0:00:00.022) 0:00:57.154 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:36:25 +0000 (0:00:00.025) 0:00:57.180 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:36:26 +0000 (0:00:00.332) 0:00:57.512 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:36:26 +0000 (0:00:00.027) 0:00:57.540 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:36:26 +0000 (0:00:00.053) 0:00:57.594 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:36:26 +0000 (0:00:00.023) 0:00:57.617 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:36:26 +0000 (0:00:00.390) 0:00:58.008 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:36:26 +0000 (0:00:00.023) 0:00:58.031 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:36:26 +0000 (0:00:00.024) 0:00:58.055 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:36:26 +0000 (0:00:00.023) 0:00:58.079 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:36:26 +0000 (0:00:00.025) 0:00:58.105 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:36 Saturday 17 February 2024 20:36:26 +0000 (0:00:00.193) 0:00:58.298 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 February 2024 20:36:26 +0000 (0:00:00.041) 0:00:58.340 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 20:36:26 +0000 (0:00:00.037) 0:00:58.377 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.022) 0:00:58.400 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.223) 0:00:58.624 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.027) 0:00:58.651 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020345", "end": "2024-02-17 20:36:27.451751", "rc": 1, "start": "2024-02-17 20:36:27.431406" } 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-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.212) 0:00:58.864 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.025) 0:00:58.889 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.025) 0:00:58.914 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.024) 0:00:58.938 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.027) 0:00:58.965 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.024) 0:00:58.990 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:42 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.024) 0:00:59.014 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.044) 0:00:59.059 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.037) 0:00:59.097 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.200) 0:00:59.298 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:47 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.028) 0:00:59.326 ***** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:66 Saturday 17 February 2024 20:36:27 +0000 (0:00:00.058) 0:00:59.384 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.041) 0:00:59.425 ***** 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.039398", "end": "2024-02-17 20:36:28.242526", "rc": 1, "start": "2024-02-17 20:36:28.203128" } 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-ciy2wmq9r9/tests/playbooks/tests_states.yml:126 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.228) 0:00:59.654 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:5 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.039) 0:00:59.693 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:9 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.023) 0:00:59.717 ***** 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", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:21 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.047) 0:00:59.765 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:3 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.036) 0:00:59.802 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:3 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.035) 0:00:59.838 ***** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.002742", "end": "2024-02-17 20:36:28.618430", "rc": 0, "start": "2024-02-17 20:36:28.615688" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_current_interfaces.yml:9 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.192) 0:01:00.031 ***** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/show_interfaces.yml:5 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.023) 0:01:00.054 ***** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:24 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.022) 0:01:00.077 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:3 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.075) 0:01:00.153 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.038) 0:01:00.191 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.041) 0:01:00.232 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.027) 0:01:00.260 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.022) 0:01:00.283 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:36:28 +0000 (0:00:00.021) 0:01:00.305 ***** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:36:30 +0000 (0:00:01.465) 0:01:01.771 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:36:31 +0000 (0:00:01.305) 0:01:03.076 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:36:31 +0000 (0:00:00.024) 0:01:03.100 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:36:31 +0000 (0:00:00.022) 0:01:03.122 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:36:31 +0000 (0:00:00.024) 0:01:03.147 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:36:31 +0000 (0:00:00.049) 0:01:03.196 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:36:31 +0000 (0:00:00.023) 0:01:03.220 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:36:31 +0000 (0:00:00.024) 0:01:03.244 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:36:31 +0000 (0:00:00.030) 0:01:03.274 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:36:32 +0000 (0:00:00.363) 0:01:03.638 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:36:32 +0000 (0:00:00.026) 0:01:03.665 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:36:32 +0000 (0:00:00.021) 0:01:03.687 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:36:32 +0000 (0:00:00.023) 0:01:03.710 ***** 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, 006b72be-57de-4eaa-8b00-071105b4cbe6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:36:32 +0000 (0:00:00.375) 0:01:04.086 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:36:32 +0000 (0:00:00.024) 0:01:04.110 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 006b72be-57de-4eaa-8b00-071105b4cbe6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:36:32 +0000 (0:00:00.027) 0:01:04.137 ***** 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, 006b72be-57de-4eaa-8b00-071105b4cbe6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 006b72be-57de-4eaa-8b00-071105b4cbe6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:36:32 +0000 (0:00:00.023) 0:01:04.161 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:36:32 +0000 (0:00:00.023) 0:01:04.184 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/create_bridge_profile.yml:14 Saturday 17 February 2024 20:36:32 +0000 (0:00:00.187) 0:01:04.372 ***** 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, 006b72be-57de-4eaa-8b00-071105b4cbe6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 006b72be-57de-4eaa-8b00-071105b4cbe6" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/activate_profile.yml:3 Saturday 17 February 2024 20:36:33 +0000 (0:00:00.026) 0:01:04.398 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:36:33 +0000 (0:00:00.037) 0:01:04.435 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:36:33 +0000 (0:00:00.071) 0:01:04.507 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:36:33 +0000 (0:00:00.028) 0:01:04.535 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:36:33 +0000 (0:00:00.023) 0:01:04.558 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:36:33 +0000 (0:00:00.022) 0:01:04.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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:36:34 +0000 (0:00:01.465) 0:01:06.046 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:36:35 +0000 (0:00:01.301) 0:01:07.347 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:36:35 +0000 (0:00:00.023) 0:01:07.371 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:36:36 +0000 (0:00:00.023) 0:01:07.394 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:36:36 +0000 (0:00:00.021) 0:01:07.416 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:36:36 +0000 (0:00:00.043) 0:01:07.459 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:36:36 +0000 (0:00:00.022) 0:01:07.482 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:36:36 +0000 (0:00:00.021) 0:01:07.504 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:36:36 +0000 (0:00:00.025) 0:01:07.529 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:36:36 +0000 (0:00:00.333) 0:01:07.863 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:36:36 +0000 (0:00:00.028) 0:01:07.892 ***** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:36:36 +0000 (0:00:00.022) 0:01:07.914 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:36:36 +0000 (0:00:00.022) 0:01:07.937 ***** 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, 006b72be-57de-4eaa-8b00-071105b4cbe6 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:36:36 +0000 (0:00:00.321) 0:01:08.259 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:36:36 +0000 (0:00:00.023) 0:01:08.282 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 006b72be-57de-4eaa-8b00-071105b4cbe6 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:36:36 +0000 (0:00:00.055) 0:01:08.338 ***** 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, 006b72be-57de-4eaa-8b00-071105b4cbe6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 006b72be-57de-4eaa-8b00-071105b4cbe6 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:36:36 +0000 (0:00:00.024) 0:01:08.362 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:36:37 +0000 (0:00:00.022) 0:01:08.385 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 February 2024 20:36:37 +0000 (0:00:00.187) 0:01:08.572 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:36:37 +0000 (0:00:00.039) 0:01:08.612 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:36:37 +0000 (0:00:00.042) 0:01:08.654 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:36:37 +0000 (0:00:00.027) 0:01:08.681 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:36:37 +0000 (0:00:00.022) 0:01:08.704 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:36:37 +0000 (0:00:00.022) 0:01:08.727 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:36:38 +0000 (0:00:01.474) 0:01:10.202 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:36:40 +0000 (0:00:01.277) 0:01:11.480 ***** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:36:40 +0000 (0:00:00.024) 0:01:11.504 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:36:40 +0000 (0:00:00.022) 0:01:11.526 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:36:40 +0000 (0:00:00.023) 0:01:11.550 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:36:40 +0000 (0:00:00.044) 0:01:11.594 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:36:40 +0000 (0:00:00.022) 0:01:11.617 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:36:40 +0000 (0:00:00.022) 0:01:11.639 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:36:40 +0000 (0:00:00.053) 0:01:11.692 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:36:40 +0000 (0:00:00.333) 0:01:12.025 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:36:40 +0000 (0:00:00.026) 0:01:12.052 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:36:40 +0000 (0:00:00.022) 0:01:12.074 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:36:40 +0000 (0:00:00.021) 0:01:12.096 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:36:41 +0000 (0:00:00.390) 0:01:12.487 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:36:41 +0000 (0:00:00.022) 0:01:12.510 ***** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:36:41 +0000 (0:00:00.024) 0:01:12.534 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:36:41 +0000 (0:00:00.024) 0:01:12.558 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:36:41 +0000 (0:00:00.022) 0:01:12.580 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:30 Saturday 17 February 2024 20:36:41 +0000 (0:00:00.186) 0:01:12.767 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/remove+down_profile.yml:3 Saturday 17 February 2024 20:36:41 +0000 (0:00:00.040) 0:01:12.808 ***** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:4 Saturday 17 February 2024 20:36:41 +0000 (0:00:00.067) 0:01:12.875 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Saturday 17 February 2024 20:36:41 +0000 (0:00:00.042) 0:01:12.917 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Saturday 17 February 2024 20:36:41 +0000 (0:00:00.027) 0:01:12.944 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Saturday 17 February 2024 20:36:41 +0000 (0:00:00.021) 0:01:12.966 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Saturday 17 February 2024 20:36:41 +0000 (0:00:00.021) 0:01:12.988 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Saturday 17 February 2024 20:36:43 +0000 (0:00:01.460) 0:01:14.448 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:7 Saturday 17 February 2024 20:36:44 +0000 (0:00:01.307) 0:01:15.756 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:11 Saturday 17 February 2024 20:36:44 +0000 (0:00:00.024) 0:01:15.780 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:19 Saturday 17 February 2024 20:36:44 +0000 (0:00:00.023) 0:01:15.803 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:30 Saturday 17 February 2024 20:36:44 +0000 (0:00:00.022) 0:01:15.826 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:43 Saturday 17 February 2024 20:36:44 +0000 (0:00:00.048) 0:01:15.874 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:58 Saturday 17 February 2024 20:36:44 +0000 (0:00:00.024) 0:01:15.899 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:74 Saturday 17 February 2024 20:36:44 +0000 (0:00:00.023) 0:01:15.923 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 Saturday 17 February 2024 20:36:44 +0000 (0:00:00.028) 0:01:15.951 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:99 Saturday 17 February 2024 20:36:44 +0000 (0:00:00.333) 0:01:16.284 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:108 Saturday 17 February 2024 20:36:44 +0000 (0:00:00.029) 0:01:16.313 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:116 Saturday 17 February 2024 20:36:44 +0000 (0:00:00.053) 0:01:16.367 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 Saturday 17 February 2024 20:36:45 +0000 (0:00:00.025) 0:01:16.393 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:137 Saturday 17 February 2024 20:36:45 +0000 (0:00:00.343) 0:01:16.736 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:143 Saturday 17 February 2024 20:36:45 +0000 (0:00:00.023) 0:01:16.760 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:147 Saturday 17 February 2024 20:36:45 +0000 (0:00:00.024) 0:01:16.784 ***** 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-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:152 Saturday 17 February 2024 20:36:45 +0000 (0:00:00.024) 0:01:16.808 ***** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:158 Saturday 17 February 2024 20:36:45 +0000 (0:00:00.022) 0:01:16.831 ***** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:36 Saturday 17 February 2024 20:36:45 +0000 (0:00:00.186) 0:01:17.017 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml:3 Saturday 17 February 2024 20:36:45 +0000 (0:00:00.047) 0:01:17.064 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:3 Saturday 17 February 2024 20:36:45 +0000 (0:00:00.041) 0:01:17.106 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:9 Saturday 17 February 2024 20:36:45 +0000 (0:00:00.024) 0:01:17.131 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:17 Saturday 17 February 2024 20:36:45 +0000 (0:00:00.189) 0:01:17.320 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:25 Saturday 17 February 2024 20:36:45 +0000 (0:00:00.052) 0:01:17.373 ***** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019565", "end": "2024-02-17 20:36:46.172271", "rc": 1, "start": "2024-02-17 20:36:46.152706" } 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-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:35 Saturday 17 February 2024 20:36:46 +0000 (0:00:00.212) 0:01:17.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-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:49 Saturday 17 February 2024 20:36:46 +0000 (0:00:00.028) 0:01:17.614 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:56 Saturday 17 February 2024 20:36:46 +0000 (0:00:00.024) 0:01:17.638 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:62 Saturday 17 February 2024 20:36:46 +0000 (0:00:00.024) 0:01:17.662 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_profile_stat.yml:69 Saturday 17 February 2024 20:36:46 +0000 (0:00:00.022) 0:01:17.685 ***** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_profile_absent.yml:5 Saturday 17 February 2024 20:36:46 +0000 (0:00:00.023) 0:01:17.709 ***** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Saturday 17 February 2024 20:36:46 +0000 (0:00:00.025) 0:01:17.734 ***** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.929134", "end": "2024-02-17 20:36:47.440227", "rc": 0, "start": "2024-02-17 20:36:46.511093" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Saturday 17 February 2024 20:36:47 +0000 (0:00:01.120) 0:01:18.855 ***** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Saturday 17 February 2024 20:36:47 +0000 (0:00:00.023) 0:01:18.878 ***** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:42 Saturday 17 February 2024 20:36:47 +0000 (0:00:00.023) 0:01:18.901 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:3 Saturday 17 February 2024 20:36:47 +0000 (0:00:00.072) 0:01:18.974 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/get_interface_stat.yml:3 Saturday 17 February 2024 20:36:47 +0000 (0:00:00.038) 0:01:19.013 ***** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/assert_device_absent.yml:5 Saturday 17 February 2024 20:36:47 +0000 (0:00:00.192) 0:01:19.205 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:47 Saturday 17 February 2024 20:36:47 +0000 (0:00:00.026) 0:01:19.231 ***** 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-ciy2wmq9r9/tests/playbooks/tasks/run_test.yml:66 Saturday 17 February 2024 20:36:47 +0000 (0:00:00.025) 0:01:19.257 ***** included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/cleanup_profile+device.yml:3 Saturday 17 February 2024 20:36:47 +0000 (0:00:00.048) 0:01:19.305 ***** 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.039349", "end": "2024-02-17 20:36:48.123452", "rc": 1, "start": "2024-02-17 20:36:48.084103" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/check_network_dns.yml:6 Saturday 17 February 2024 20:36:48 +0000 (0:00:00.231) 0:01:19.536 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.008752", "end": "2024-02-17 20:36:48.323272", "rc": 0, "start": "2024-02-17 20:36:48.314520" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:dc:76:4d:c8:e9 brd ff:ff:ff:ff:ff:ff inet 10.31.43.215/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2199sec preferred_lft 2199sec inet6 fe80::cdc:76ff:fe4d:c8e9/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.215 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.215 metric 100 IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and network connectivity] ************************************* task path: /WORKDIR/git-weekly-ciy2wmq9r9/tests/playbooks/tasks/check_network_dns.yml:24 Saturday 17 February 2024 20:36:48 +0000 (0:00:00.198) 0:01:19.735 ***** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.177433", "end": "2024-02-17 20:36:48.695853", "rc": 0, "start": "2024-02-17 20:36:48.518420" } STDOUT: CHECK DNS AND CONNECTIVITY 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 5648 0 --:--:-- --:--:-- --:--:-- 5648 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 2881 0 --:--:-- --:--:-- --:--:-- 2881 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Saturday 17 February 2024 20:36:48 +0000 (0:00:00.360) 0:01:20.096 ***** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.07s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.86s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.46s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.44s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Enable and start NetworkManager ------------ 1.33s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 1.33s /WORKDIR/git-weekly-ciy2wmq9r9/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---