# 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-bond_options_rewriteu4bx3glo/tests/tests_states_nm.yml PLAY [Run playbook 'playbooks/tests_states.yml' with nm as provider] *********** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/tests_states_nm.yml:6 Wednesday 14 February 2024 17:17:19 +0000 (0:00:00.032) 0:00:00.032 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/tests_states_nm.yml:9 Wednesday 14 February 2024 17:17:20 +0000 (0:00:00.753) 0:00:00.785 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:17:20 +0000 (0:00:00.038) 0:00:00.824 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 17:17:21 +0000 (0:00:00.347) 0:00:01.171 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 17:17:21 +0000 (0:00:00.331) 0:00:01.502 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 17:17:21 +0000 (0:00:00.021) 0:00:01.524 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 17:17:21 +0000 (0:00:00.018) 0:00:01.543 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:17:21 +0000 (0:00:00.032) 0:00:01.576 **** 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-bond_options_rewriteu4bx3glo/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:17:21 +0000 (0:00:00.306) 0:00:01.883 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:17:21 +0000 (0:00:00.011) 0:00:01.894 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:17:21 +0000 (0:00:00.014) 0:00:01.908 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.244051", "end": "2024-02-14 17:17:22.284257", "rc": 0, "start": "2024-02-14 17:17:22.040206" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:17:22 +0000 (0:00:00.436) 0:00:02.344 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/tests_states_nm.yml:11 Wednesday 14 February 2024 17:17:22 +0000 (0:00:00.011) 0:00:02.355 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 17:17:22 +0000 (0:00:00.011) 0:00:02.367 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 17:17:22 +0000 (0:00:00.485) 0:00:02.853 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 17:17:22 +0000 (0:00:00.012) 0:00:02.866 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:17:22 +0000 (0:00:00.017) 0:00:02.883 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:17:22 +0000 (0:00:00.015) 0:00:02.898 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:17:22 +0000 (0:00:00.036) 0:00:02.934 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:17:22 +0000 (0:00:00.016) 0:00:02.951 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:17:22 +0000 (0:00:00.018) 0:00:02.969 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003370", "end": "2024-02-14 17:17:23.095588", "rc": 0, "start": "2024-02-14 17:17:23.092218" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:17:23 +0000 (0:00:00.185) 0:00:03.155 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:17:23 +0000 (0:00:00.012) 0:00:03.167 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:17:23 +0000 (0:00:00.012) 0:00:03.180 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:17:23 +0000 (0:00:00.020) 0:00:03.201 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008317", "end": "2024-02-14 17:17:23.350765", "rc": 1, "start": "2024-02-14 17:17:23.342448" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:17:23 +0000 (0:00:00.212) 0:00:03.414 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:17:23 +0000 (0:00:00.016) 0:00:03.430 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:17:23 +0000 (0:00:00.189) 0:00:03.619 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:17:23 +0000 (0:00:00.016) 0:00:03.636 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:17:23 +0000 (0:00:00.019) 0:00:03.655 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:17:23 +0000 (0:00:00.034) 0:00:03.690 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:17:23 +0000 (0:00:00.069) 0:00:03.760 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:17:23 +0000 (0:00:00.012) 0:00:03.772 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:17:23 +0000 (0:00:00.009) 0:00:03.782 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:17:23 +0000 (0:00:00.010) 0:00:03.793 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:17:25 +0000 (0:00:01.593) 0:00:05.387 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:17:26 +0000 (0:00:01.602) 0:00:06.989 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:17:26 +0000 (0:00:00.033) 0:00:07.023 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:17:27 +0000 (0:00:00.075) 0:00:07.099 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:17:27 +0000 (0:00:00.104) 0:00:07.203 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:17:27 +0000 (0:00:00.163) 0:00:07.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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:17:27 +0000 (0:00:00.048) 0:00:07.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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:17:27 +0000 (0:00:00.025) 0:00:07.440 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:17:27 +0000 (0:00:00.047) 0:00:07.488 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:17:28 +0000 (0:00:00.565) 0:00:08.054 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:17:28 +0000 (0:00:00.036) 0:00:08.090 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:17:28 +0000 (0:00:00.026) 0:00:08.116 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:17:28 +0000 (0:00:00.033) 0:00:08.150 **** 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, a3de1bd7-8591-48d6-ad1b-4a32fc608319 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:17:28 +0000 (0:00:00.627) 0:00:08.777 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:17:28 +0000 (0:00:00.023) 0:00:08.801 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a3de1bd7-8591-48d6-ad1b-4a32fc608319" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:17:28 +0000 (0:00:00.023) 0:00:08.824 **** 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, a3de1bd7-8591-48d6-ad1b-4a32fc608319\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a3de1bd7-8591-48d6-ad1b-4a32fc608319" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:17:28 +0000 (0:00:00.024) 0:00:08.849 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:17:28 +0000 (0:00:00.022) 0:00:08.872 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.249) 0:00:09.121 **** 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, a3de1bd7-8591-48d6-ad1b-4a32fc608319\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a3de1bd7-8591-48d6-ad1b-4a32fc608319" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.027) 0:00:09.149 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.043) 0:00:09.193 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.040) 0:00:09.233 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.023) 0:00:09.257 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931048.6732268, "block_size": 4096, "blocks": 8, "ctime": 1707931048.621228, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976925, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707931048.621228, "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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.220) 0:00:09.477 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.024) 0:00:09.501 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021027", "end": "2024-02-14 17:17:29.646957", "rc": 0, "start": "2024-02-14 17:17:29.625930" } 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.249) 0:00:09.751 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.027) 0:00:09.778 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.026) 0:00:09.805 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.026) 0:00:09.831 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.034) 0:00:09.865 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.026) 0:00:09.892 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.030) 0:00:09.922 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.026) 0:00:09.948 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.024) 0:00:09.972 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:17:29 +0000 (0:00:00.045) 0:00:10.018 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:17:30 +0000 (0:00:00.039) 0:00:10.057 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931048.622876, "block_size": 4096, "blocks": 0, "ctime": 1707931048.622876, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36636, "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": 1707931048.622876, "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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:17:30 +0000 (0:00:00.237) 0:00:10.295 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:17:30 +0000 (0:00:00.029) 0:00:10.324 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:17:30 +0000 (0:00:00.024) 0:00:10.349 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:17:30 +0000 (0:00:00.069) 0:00:10.419 **** 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.062622", "end": "2024-02-14 17:17:30.604921", "rc": 1, "start": "2024-02-14 17:17:30.542299" } STDOUT: Connection 'statebr' (a3de1bd7-8591-48d6-ad1b-4a32fc608319) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 17:17:30 +0000 (0:00:00.257) 0:00:10.677 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:17:30 +0000 (0:00:00.039) 0:00:10.717 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:17:30 +0000 (0:00:00.028) 0:00:10.745 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:17:30 +0000 (0:00:00.045) 0:00:10.791 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:17:30 +0000 (0:00:00.037) 0:00:10.828 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:17:30 +0000 (0:00:00.050) 0:00:10.878 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003420", "end": "2024-02-14 17:17:31.027522", "rc": 0, "start": "2024-02-14 17:17:31.024102" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:17:31 +0000 (0:00:00.220) 0:00:11.099 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:17:31 +0000 (0:00:00.024) 0:00:11.124 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:17:31 +0000 (0:00:00.026) 0:00:11.150 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:17:31 +0000 (0:00:00.077) 0:00:11.228 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006410", "end": "2024-02-14 17:17:31.357257", "rc": 1, "start": "2024-02-14 17:17:31.350847" } STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:17:31 +0000 (0:00:00.205) 0:00:11.433 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:17:31 +0000 (0:00:00.042) 0:00:11.475 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:17:31 +0000 (0:00:00.218) 0:00:11.694 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:17:31 +0000 (0:00:00.031) 0:00:11.725 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 17:17:31 +0000 (0:00:00.076) 0:00:11.802 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:17:31 +0000 (0:00:00.043) 0:00:11.845 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:17:31 +0000 (0:00:00.044) 0:00:11.890 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:17:31 +0000 (0:00:00.037) 0:00:11.928 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:17:31 +0000 (0:00:00.028) 0:00:11.956 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:17:31 +0000 (0:00:00.040) 0:00:11.996 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:17:33 +0000 (0:00:01.559) 0:00:13.556 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:17:34 +0000 (0:00:01.329) 0:00:14.885 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:17:34 +0000 (0:00:00.035) 0:00:14.920 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:17:34 +0000 (0:00:00.033) 0:00:14.954 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:17:34 +0000 (0:00:00.031) 0:00:14.985 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:17:35 +0000 (0:00:00.134) 0:00:15.119 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:17:35 +0000 (0:00:00.099) 0:00:15.219 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:17:35 +0000 (0:00:00.063) 0:00:15.283 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:17:35 +0000 (0:00:00.048) 0:00:15.331 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:17:35 +0000 (0:00:00.377) 0:00:15.708 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:17:35 +0000 (0:00:00.027) 0:00:15.735 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:17:35 +0000 (0:00:00.022) 0:00:15.758 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:17:35 +0000 (0:00:00.023) 0:00:15.781 **** 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, 0a905c77-0aa0-405d-90bc-1703c06a02db TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:17:36 +0000 (0:00:00.342) 0:00:16.123 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:17:36 +0000 (0:00:00.024) 0:00:16.148 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a905c77-0aa0-405d-90bc-1703c06a02db" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:17:36 +0000 (0:00:00.040) 0:00:16.188 **** 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, 0a905c77-0aa0-405d-90bc-1703c06a02db\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a905c77-0aa0-405d-90bc-1703c06a02db" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:17:36 +0000 (0:00:00.036) 0:00:16.225 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:17:36 +0000 (0:00:00.025) 0:00:16.251 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 17:17:36 +0000 (0:00:00.196) 0:00:16.447 **** 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, 0a905c77-0aa0-405d-90bc-1703c06a02db\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0a905c77-0aa0-405d-90bc-1703c06a02db" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:17:36 +0000 (0:00:00.028) 0:00:16.475 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:17:36 +0000 (0:00:00.128) 0:00:16.603 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:17:36 +0000 (0:00:00.046) 0:00:16.649 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:17:36 +0000 (0:00:00.258) 0:00:16.908 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:17:36 +0000 (0:00:00.043) 0:00:16.951 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:17:36 +0000 (0:00:00.046) 0:00:16.998 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:17:36 +0000 (0:00:00.022) 0:00:17.020 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931056.0350456, "block_size": 4096, "blocks": 8, "ctime": 1707931056.0350456, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976925, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707931056.0350456, "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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:17:37 +0000 (0:00:00.199) 0:00:17.219 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:17:37 +0000 (0:00:00.025) 0:00:17.245 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020743", "end": "2024-02-14 17:17:37.389267", "rc": 0, "start": "2024-02-14 17:17:37.368524" } 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:17:37 +0000 (0:00:00.217) 0:00:17.462 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:17:37 +0000 (0:00:00.026) 0:00:17.489 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:17:37 +0000 (0:00:00.025) 0:00:17.515 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:17:37 +0000 (0:00:00.057) 0:00:17.573 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:17:37 +0000 (0:00:00.028) 0:00:17.602 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:17:37 +0000 (0:00:00.029) 0:00:17.631 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:17:37 +0000 (0:00:00.030) 0:00:17.661 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:17:37 +0000 (0:00:00.027) 0:00:17.689 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:17:37 +0000 (0:00:00.024) 0:00:17.713 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:17:37 +0000 (0:00:00.024) 0:00:17.738 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:17:37 +0000 (0:00:00.038) 0:00:17.776 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:17:37 +0000 (0:00:00.041) 0:00:17.818 **** 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.039225", "end": "2024-02-14 17:17:37.982554", "rc": 1, "start": "2024-02-14 17:17:37.943329" } STDOUT: Connection 'statebr' (0a905c77-0aa0-405d-90bc-1703c06a02db) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.278) 0:00:18.097 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.065) 0:00:18.162 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.024) 0:00:18.186 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.075) 0:00:18.262 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.089) 0:00:18.351 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.036) 0:00:18.388 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003276", "end": "2024-02-14 17:17:38.515180", "rc": 0, "start": "2024-02-14 17:17:38.511904" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.199) 0:00:18.588 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.032) 0:00:18.621 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.039) 0:00:18.660 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.041) 0:00:18.702 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.039) 0:00:18.742 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.051) 0:00:18.794 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.031) 0:00:18.826 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.024) 0:00:18.850 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:17:38 +0000 (0:00:00.052) 0:00:18.903 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:17:40 +0000 (0:00:01.518) 0:00:20.422 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:17:41 +0000 (0:00:01.311) 0:00:21.733 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:17:41 +0000 (0:00:00.024) 0:00:21.757 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:17:41 +0000 (0:00:00.023) 0:00:21.780 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:17:41 +0000 (0:00:00.057) 0:00:21.838 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:17:41 +0000 (0:00:00.073) 0:00:21.911 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:17:41 +0000 (0:00:00.031) 0:00:21.943 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:17:41 +0000 (0:00:00.024) 0:00:21.967 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:17:41 +0000 (0:00:00.043) 0:00:22.010 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:17:42 +0000 (0:00:00.350) 0:00:22.361 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:17:42 +0000 (0:00:00.029) 0:00:22.391 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:17:42 +0000 (0:00:00.023) 0:00:22.415 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:17:42 +0000 (0:00:00.024) 0:00:22.439 **** 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, 6fb09d27-1aab-4fe2-9052-56e603e90d83 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:17:42 +0000 (0:00:00.370) 0:00:22.810 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:17:42 +0000 (0:00:00.023) 0:00:22.833 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6fb09d27-1aab-4fe2-9052-56e603e90d83" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:17:42 +0000 (0:00:00.025) 0:00:22.859 **** 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, 6fb09d27-1aab-4fe2-9052-56e603e90d83\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6fb09d27-1aab-4fe2-9052-56e603e90d83" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:17:42 +0000 (0:00:00.029) 0:00:22.888 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:17:42 +0000 (0:00:00.029) 0:00:22.917 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:17:43 +0000 (0:00:00.276) 0:00:23.193 **** 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, 6fb09d27-1aab-4fe2-9052-56e603e90d83\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 6fb09d27-1aab-4fe2-9052-56e603e90d83" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:17:43 +0000 (0:00:00.031) 0:00:23.224 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:17:43 +0000 (0:00:00.048) 0:00:23.272 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:17:43 +0000 (0:00:00.054) 0:00:23.326 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:17:43 +0000 (0:00:00.052) 0:00:23.378 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:17:43 +0000 (0:00:00.071) 0:00:23.450 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:17:43 +0000 (0:00:00.042) 0:00:23.492 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:17:43 +0000 (0:00:00.032) 0:00:23.524 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:17:45 +0000 (0:00:01.539) 0:00:25.064 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:17:46 +0000 (0:00:01.291) 0:00:26.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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:17:46 +0000 (0:00:00.033) 0:00:26.389 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:17:46 +0000 (0:00:00.026) 0:00:26.415 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:17:46 +0000 (0:00:00.046) 0:00:26.462 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:17:46 +0000 (0:00:00.046) 0:00:26.508 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:17:46 +0000 (0:00:00.023) 0:00:26.532 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:17:46 +0000 (0:00:00.023) 0:00:26.556 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:17:46 +0000 (0:00:00.026) 0:00:26.582 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:17:46 +0000 (0:00:00.342) 0:00:26.925 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:17:46 +0000 (0:00:00.064) 0:00:26.989 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:17:46 +0000 (0:00:00.024) 0:00:27.014 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:17:46 +0000 (0:00:00.027) 0:00:27.041 **** 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, 6fb09d27-1aab-4fe2-9052-56e603e90d83 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:17:47 +0000 (0:00:00.334) 0:00:27.376 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:17:47 +0000 (0:00:00.026) 0:00:27.402 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6fb09d27-1aab-4fe2-9052-56e603e90d83 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:17:47 +0000 (0:00:00.026) 0:00:27.428 **** 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, 6fb09d27-1aab-4fe2-9052-56e603e90d83 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 6fb09d27-1aab-4fe2-9052-56e603e90d83 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:17:47 +0000 (0:00:00.024) 0:00:27.453 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:17:47 +0000 (0:00:00.024) 0:00:27.477 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:17:47 +0000 (0:00:00.190) 0:00:27.668 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:17:47 +0000 (0:00:00.049) 0:00:27.717 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:17:47 +0000 (0:00:00.039) 0:00:27.756 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931062.6941059, "block_size": 4096, "blocks": 0, "ctime": 1707931062.6941059, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36767, "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": 1707931062.6941059, "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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:17:47 +0000 (0:00:00.198) 0:00:27.955 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:17:47 +0000 (0:00:00.051) 0:00:28.006 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.039) 0:00:28.046 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.025) 0:00:28.071 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931062.6928816, "block_size": 4096, "blocks": 8, "ctime": 1707931062.6918817, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5976925, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707931062.6918817, "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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.198) 0:00:28.270 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.023) 0:00:28.294 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020398", "end": "2024-02-14 17:17:48.438013", "rc": 0, "start": "2024-02-14 17:17:48.417615" } 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.216) 0:00:28.510 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.026) 0:00:28.536 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.025) 0:00:28.562 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.025) 0:00:28.588 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.024) 0:00:28.612 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.026) 0:00:28.638 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the ansible managed comment is present in 'statebr'] ********* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.025) 0:00:28.664 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.025) 0:00:28.689 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.024) 0:00:28.713 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.054) 0:00:28.767 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.026) 0:00:28.794 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:17:48 +0000 (0:00:00.045) 0:00:28.840 **** 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.062202", "end": "2024-02-14 17:17:49.028415", "rc": 1, "start": "2024-02-14 17:17:48.966213" } STDOUT: Connection 'statebr' (6fb09d27-1aab-4fe2-9052-56e603e90d83) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.262) 0:00:29.102 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can remove an existing profile without taking it down] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.051) 0:00:29.153 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.027) 0:00:29.181 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.047) 0:00:29.228 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.036) 0:00:29.265 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.036) 0:00:29.302 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003319", "end": "2024-02-14 17:17:49.431606", "rc": 0, "start": "2024-02-14 17:17:49.428287" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.202) 0:00:29.505 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.031) 0:00:29.537 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.093) 0:00:29.630 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.079) 0:00:29.710 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.039) 0:00:29.749 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.049) 0:00:29.799 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.029) 0:00:29.828 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.025) 0:00:29.854 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:17:49 +0000 (0:00:00.024) 0:00:29.878 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:17:51 +0000 (0:00:01.513) 0:00:31.391 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:17:52 +0000 (0:00:01.388) 0:00:32.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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:17:52 +0000 (0:00:00.028) 0:00:32.809 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:17:52 +0000 (0:00:00.025) 0:00:32.834 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:17:52 +0000 (0:00:00.025) 0:00:32.859 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:17:52 +0000 (0:00:00.047) 0:00:32.907 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:17:52 +0000 (0:00:00.027) 0:00:32.935 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:17:52 +0000 (0:00:00.025) 0:00:32.960 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:17:52 +0000 (0:00:00.029) 0:00:32.990 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:17:53 +0000 (0:00:00.346) 0:00:33.337 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:17:53 +0000 (0:00:00.028) 0:00:33.365 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:17:53 +0000 (0:00:00.103) 0:00:33.469 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:17:53 +0000 (0:00:00.044) 0:00:33.513 **** 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, 59b15e71-1cec-4936-8567-24d6704f58e9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:17:53 +0000 (0:00:00.399) 0:00:33.913 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:17:53 +0000 (0:00:00.024) 0:00:33.937 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59b15e71-1cec-4936-8567-24d6704f58e9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:17:53 +0000 (0:00:00.024) 0:00:33.962 **** 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, 59b15e71-1cec-4936-8567-24d6704f58e9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59b15e71-1cec-4936-8567-24d6704f58e9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:17:53 +0000 (0:00:00.031) 0:00:33.993 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:17:53 +0000 (0:00:00.024) 0:00:34.018 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:17:54 +0000 (0:00:00.193) 0:00:34.212 **** 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, 59b15e71-1cec-4936-8567-24d6704f58e9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 59b15e71-1cec-4936-8567-24d6704f58e9" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:17:54 +0000 (0:00:00.024) 0:00:34.236 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:17:54 +0000 (0:00:00.038) 0:00:34.275 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:17:54 +0000 (0:00:00.041) 0:00:34.317 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:17:54 +0000 (0:00:00.032) 0:00:34.349 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:17:54 +0000 (0:00:00.022) 0:00:34.372 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:17:54 +0000 (0:00:00.061) 0:00:34.433 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:17:55 +0000 (0:00:01.524) 0:00:35.958 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:17:57 +0000 (0:00:01.291) 0:00:37.249 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:17:57 +0000 (0:00:00.025) 0:00:37.275 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:17:57 +0000 (0:00:00.025) 0:00:37.300 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:17:57 +0000 (0:00:00.064) 0:00:37.364 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:17:57 +0000 (0:00:00.064) 0:00:37.429 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:17:57 +0000 (0:00:00.033) 0:00:37.463 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:17:57 +0000 (0:00:00.039) 0:00:37.503 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:17:57 +0000 (0:00:00.027) 0:00:37.530 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:17:57 +0000 (0:00:00.346) 0:00:37.877 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:17:57 +0000 (0:00:00.063) 0:00:37.940 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:17:57 +0000 (0:00:00.042) 0:00:37.983 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:17:58 +0000 (0:00:00.061) 0:00:38.045 **** 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, 59b15e71-1cec-4936-8567-24d6704f58e9 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:17:58 +0000 (0:00:00.351) 0:00:38.396 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:17:58 +0000 (0:00:00.027) 0:00:38.423 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 59b15e71-1cec-4936-8567-24d6704f58e9 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:17:58 +0000 (0:00:00.027) 0:00:38.451 **** 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, 59b15e71-1cec-4936-8567-24d6704f58e9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 59b15e71-1cec-4936-8567-24d6704f58e9 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:17:58 +0000 (0:00:00.038) 0:00:38.490 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:17:58 +0000 (0:00:00.031) 0:00:38.521 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:17:58 +0000 (0:00:00.255) 0:00:38.777 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:17:58 +0000 (0:00:00.066) 0:00:38.844 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:17:58 +0000 (0:00:00.049) 0:00:38.893 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:17:58 +0000 (0:00:00.061) 0:00:38.954 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:17:58 +0000 (0:00:00.059) 0:00:39.014 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:17:59 +0000 (0:00:00.069) 0:00:39.083 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:17:59 +0000 (0:00:00.026) 0:00:39.110 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:00 +0000 (0:00:01.563) 0:00:40.674 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:02 +0000 (0:00:01.404) 0:00:42.078 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:02 +0000 (0:00:00.037) 0:00:42.115 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:02 +0000 (0:00:00.027) 0:00:42.143 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:02 +0000 (0:00:00.031) 0:00:42.175 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:02 +0000 (0:00:00.138) 0:00:42.313 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:02 +0000 (0:00:00.026) 0:00:42.339 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:02 +0000 (0:00:00.034) 0:00:42.374 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:02 +0000 (0:00:00.036) 0:00:42.410 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:02 +0000 (0:00:00.347) 0:00:42.758 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:02 +0000 (0:00:00.030) 0:00:42.788 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:02 +0000 (0:00:00.080) 0:00:42.868 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:02 +0000 (0:00:00.026) 0:00:42.895 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.363) 0:00:43.258 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.025) 0:00:43.284 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.026) 0:00:43.311 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.028) 0:00:43.339 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.025) 0:00:43.365 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.201) 0:00:43.567 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.046) 0:00:43.613 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.041) 0:00:43.655 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707931073.7778084, "block_size": 4096, "blocks": 0, "ctime": 1707931073.7778084, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36898, "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": 1707931073.7778084, "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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.203) 0:00:43.859 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.024) 0:00:43.884 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.065) 0:00:43.949 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:18:03 +0000 (0:00:00.023) 0:00:43.973 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.196) 0:00:44.169 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.026) 0:00:44.196 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020533", "end": "2024-02-14 17:18:04.341012", "rc": 1, "start": "2024-02-14 17:18:04.320479" } 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.220) 0:00:44.416 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.035) 0:00:44.452 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.027) 0:00:44.479 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.038) 0:00:44.517 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.029) 0:00:44.547 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.025) 0:00:44.572 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.034) 0:00:44.606 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.024) 0:00:44.631 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.024) 0:00:44.655 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.073) 0:00:44.728 **** ok: [sut] => { "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.070583", "end": "2024-02-14 17:18:04.923993", "rc": 0, "start": "2024-02-14 17:18:04.853410" } STDOUT: Connection 'statebr' (59b15e71-1cec-4936-8567-24d6704f58e9) successfully deleted. TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 17:18:04 +0000 (0:00:00.275) 0:00:45.003 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can take a profile down that is absent] ************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.045) 0:00:45.049 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.030) 0:00:45.079 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.065) 0:00:45.145 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.053) 0:00:45.199 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.039) 0:00:45.239 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003849", "end": "2024-02-14 17:18:05.368572", "rc": 0, "start": "2024-02-14 17:18:05.364723" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.201) 0:00:45.440 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.026) 0:00:45.466 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.024) 0:00:45.491 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.047) 0:00:45.538 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.150) 0:00:45.688 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.066) 0:00:45.754 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.055) 0:00:45.810 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.071) 0:00:45.881 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:05 +0000 (0:00:00.027) 0:00:45.909 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:07 +0000 (0:00:01.526) 0:00:47.435 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:08 +0000 (0:00:01.342) 0:00:48.777 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.030) 0:00:48.808 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.024) 0:00:48.832 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.033) 0:00:48.866 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.066) 0:00:48.932 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.047) 0:00:48.979 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:08 +0000 (0:00:00.039) 0:00:49.019 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.053) 0:00:49.073 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.412) 0:00:49.486 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.038) 0:00:49.524 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.036) 0:00:49.561 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:09 +0000 (0:00:00.024) 0:00:49.585 **** 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, 4b47f062-1fc2-4e0a-9845-b48c28f9066a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.469) 0:00:50.055 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.082) 0:00:50.137 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4b47f062-1fc2-4e0a-9845-b48c28f9066a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.026) 0:00:50.163 **** 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, 4b47f062-1fc2-4e0a-9845-b48c28f9066a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4b47f062-1fc2-4e0a-9845-b48c28f9066a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.027) 0:00:50.190 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.032) 0:00:50.223 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.193) 0:00:50.417 **** 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, 4b47f062-1fc2-4e0a-9845-b48c28f9066a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 4b47f062-1fc2-4e0a-9845-b48c28f9066a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.027) 0:00:50.444 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.041) 0:00:50.486 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.043) 0:00:50.529 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.029) 0:00:50.558 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.023) 0:00:50.581 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:10 +0000 (0:00:00.022) 0:00:50.604 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:12 +0000 (0:00:01.504) 0:00:52.109 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:13 +0000 (0:00:01.290) 0:00:53.399 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.030) 0:00:53.429 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.022) 0:00:53.452 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.023) 0:00:53.475 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.045) 0:00:53.521 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.029) 0:00:53.551 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.053) 0:00:53.604 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.027) 0:00:53.631 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.342) 0:00:53.973 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.027) 0:00:54.001 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:13 +0000 (0:00:00.025) 0:00:54.026 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.033) 0:00:54.059 **** 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, 4b47f062-1fc2-4e0a-9845-b48c28f9066a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.334) 0:00:54.393 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.024) 0:00:54.417 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4b47f062-1fc2-4e0a-9845-b48c28f9066a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.037) 0:00:54.454 **** 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, 4b47f062-1fc2-4e0a-9845-b48c28f9066a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 4b47f062-1fc2-4e0a-9845-b48c28f9066a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.027) 0:00:54.482 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.026) 0:00:54.508 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.203) 0:00:54.712 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.057) 0:00:54.769 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.118) 0:00:54.888 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.054) 0:00:54.943 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.033) 0:00:54.976 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:14 +0000 (0:00:00.029) 0:00:55.006 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:16 +0000 (0:00:01.502) 0:00:56.508 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:17 +0000 (0:00:01.417) 0:00:57.925 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:17 +0000 (0:00:00.031) 0:00:57.956 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:17 +0000 (0:00:00.038) 0:00:57.994 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:17 +0000 (0:00:00.025) 0:00:58.020 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.046) 0:00:58.067 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.026) 0:00:58.093 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.043) 0:00:58.137 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.041) 0:00:58.178 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.357) 0:00:58.536 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.028) 0:00:58.565 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.024) 0:00:58.589 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:18 +0000 (0:00:00.026) 0:00:58.616 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:19 +0000 (0:00:00.472) 0:00:59.088 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:19 +0000 (0:00:00.034) 0:00:59.123 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:19 +0000 (0:00:00.033) 0:00:59.157 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:19 +0000 (0:00:00.027) 0:00:59.184 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:19 +0000 (0:00:00.023) 0:00:59.208 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:18:19 +0000 (0:00:00.196) 0:00:59.404 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:18:19 +0000 (0:00:00.046) 0:00:59.451 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:19 +0000 (0:00:00.045) 0:00:59.496 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:19 +0000 (0:00:00.040) 0:00:59.537 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:19 +0000 (0:00:00.028) 0:00:59.566 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:19 +0000 (0:00:00.022) 0:00:59.589 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:19 +0000 (0:00:00.022) 0:00:59.612 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:21 +0000 (0:00:01.507) 0:01:01.119 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:22 +0000 (0:00:01.292) 0:01:02.411 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.025) 0:01:02.437 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.023) 0:01:02.460 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.024) 0:01:02.485 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.058) 0:01:02.543 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.081) 0:01:02.624 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.025) 0:01:02.650 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.028) 0:01:02.678 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:22 +0000 (0:00:00.346) 0:01:03.025 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.031) 0:01:03.056 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.030) 0:01:03.087 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.025) 0:01:03.112 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.401) 0:01:03.513 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.031) 0:01:03.545 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.025) 0:01:03.570 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.039) 0:01:03.609 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.027) 0:01:03.637 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.205) 0:01:03.843 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.110) 0:01:03.954 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:18:23 +0000 (0:00:00.053) 0:01:04.007 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:18:24 +0000 (0:00:00.038) 0:01:04.045 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:18:24 +0000 (0:00:00.210) 0:01:04.256 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:18:24 +0000 (0:00:00.044) 0:01:04.301 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019906", "end": "2024-02-14 17:18:24.457670", "rc": 1, "start": "2024-02-14 17:18:24.437764" } 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:18:24 +0000 (0:00:00.235) 0:01:04.537 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:18:24 +0000 (0:00:00.040) 0:01:04.577 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:18:24 +0000 (0:00:00.046) 0:01:04.624 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:18:24 +0000 (0:00:00.049) 0:01:04.673 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:18:24 +0000 (0:00:00.067) 0:01:04.740 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:18:24 +0000 (0:00:00.036) 0:01:04.777 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:18:24 +0000 (0:00:00.046) 0:01:04.824 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:18:24 +0000 (0:00:00.053) 0:01:04.877 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:18:24 +0000 (0:00:00.107) 0:01:04.985 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.208) 0:01:05.193 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.041) 0:01:05.235 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.039) 0:01:05.274 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.072) 0:01:05.347 **** 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.038874", "end": "2024-02-14 17:18:25.523551", "rc": 1, "start": "2024-02-14 17:18:25.484677" } 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-bond_options_rewriteu4bx3glo/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.253) 0:01:05.601 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.060) 0:01:05.661 **** ok: [sut] => {} MSG: ########## I will not get an error when I try to remove an absent profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.028) 0:01:05.689 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.065) 0:01:05.754 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.045) 0:01:05.800 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:18:25 +0000 (0:00:00.043) 0:01:05.843 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003286", "end": "2024-02-14 17:18:25.970264", "rc": 0, "start": "2024-02-14 17:18:25.966978" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.205) 0:01:06.049 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.025) 0:01:06.074 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.024) 0:01:06.099 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.050) 0:01:06.149 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.039) 0:01:06.189 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.042) 0:01:06.231 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.030) 0:01:06.261 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.030) 0:01:06.292 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:26 +0000 (0:00:00.025) 0:01:06.318 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:27 +0000 (0:00:01.551) 0:01:07.869 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:29 +0000 (0:00:01.324) 0:01:09.194 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.024) 0:01:09.218 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.024) 0:01:09.242 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.027) 0:01:09.270 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.081) 0:01:09.351 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.025) 0:01:09.376 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.037) 0:01:09.414 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.032) 0:01:09.446 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.367) 0:01:09.813 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.037) 0:01:09.851 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.088) 0:01:09.939 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:29 +0000 (0:00:00.043) 0:01:09.982 **** 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, 023b4954-fb4f-4c32-90dc-891b27b9d239 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.393) 0:01:10.375 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.024) 0:01:10.400 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 023b4954-fb4f-4c32-90dc-891b27b9d239" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.040) 0:01:10.440 **** 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, 023b4954-fb4f-4c32-90dc-891b27b9d239\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 023b4954-fb4f-4c32-90dc-891b27b9d239" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.031) 0:01:10.472 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.023) 0:01:10.495 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.199) 0:01:10.695 **** 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, 023b4954-fb4f-4c32-90dc-891b27b9d239\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 023b4954-fb4f-4c32-90dc-891b27b9d239" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.026) 0:01:10.722 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.040) 0:01:10.763 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.098) 0:01:10.862 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.030) 0:01:10.892 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.026) 0:01:10.919 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:30 +0000 (0:00:00.026) 0:01:10.945 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:32 +0000 (0:00:01.505) 0:01:12.450 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:33 +0000 (0:00:01.325) 0:01:13.776 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.027) 0:01:13.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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.024) 0:01:13.829 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.024) 0:01:13.853 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.059) 0:01:13.913 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.042) 0:01:13.955 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:33 +0000 (0:00:00.041) 0:01:13.996 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:34 +0000 (0:00:00.048) 0:01:14.045 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:34 +0000 (0:00:00.344) 0:01:14.389 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:34 +0000 (0:00:00.030) 0:01:14.420 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:34 +0000 (0:00:00.023) 0:01:14.444 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:34 +0000 (0:00:00.026) 0:01:14.470 **** 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, 023b4954-fb4f-4c32-90dc-891b27b9d239 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:34 +0000 (0:00:00.330) 0:01:14.800 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:34 +0000 (0:00:00.027) 0:01:14.828 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 023b4954-fb4f-4c32-90dc-891b27b9d239 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:34 +0000 (0:00:00.078) 0:01:14.906 **** 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, 023b4954-fb4f-4c32-90dc-891b27b9d239 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 023b4954-fb4f-4c32-90dc-891b27b9d239 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:34 +0000 (0:00:00.026) 0:01:14.933 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:34 +0000 (0:00:00.038) 0:01:14.971 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.232) 0:01:15.204 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.042) 0:01:15.247 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.069) 0:01:15.316 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.039) 0:01:15.356 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.026) 0:01:15.383 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:35 +0000 (0:00:00.034) 0:01:15.417 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:36 +0000 (0:00:01.546) 0:01:16.963 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:38 +0000 (0:00:01.297) 0:01:18.261 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.025) 0:01:18.286 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.027) 0:01:18.313 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.023) 0:01:18.337 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.053) 0:01:18.390 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.027) 0:01:18.418 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.039) 0:01:18.457 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.052) 0:01:18.510 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.430) 0:01:18.940 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:38 +0000 (0:00:00.065) 0:01:19.005 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.040) 0:01:19.046 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.026) 0:01:19.072 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.410) 0:01:19.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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.024) 0:01:19.508 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.035) 0:01:19.543 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.028) 0:01:19.571 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.029) 0:01:19.601 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.201) 0:01:19.802 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.056) 0:01:19.858 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.045) 0:01:19.904 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.079) 0:01:19.983 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:18:39 +0000 (0:00:00.038) 0:01:20.022 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:18:40 +0000 (0:00:00.037) 0:01:20.059 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:18:40 +0000 (0:00:00.037) 0:01:20.097 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:18:41 +0000 (0:00:01.506) 0:01:21.604 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:18:42 +0000 (0:00:01.318) 0:01:22.922 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:18:42 +0000 (0:00:00.024) 0:01:22.946 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:18:42 +0000 (0:00:00.024) 0:01:22.971 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:18:42 +0000 (0:00:00.024) 0:01:22.995 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:18:43 +0000 (0:00:00.051) 0:01:23.047 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:18:43 +0000 (0:00:00.075) 0:01:23.122 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:18:43 +0000 (0:00:00.051) 0:01:23.173 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:18:43 +0000 (0:00:00.036) 0:01:23.210 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:18:43 +0000 (0:00:00.361) 0:01:23.571 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:18:43 +0000 (0:00:00.030) 0:01:23.602 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:18:43 +0000 (0:00:00.034) 0:01:23.637 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:18:43 +0000 (0:00:00.028) 0:01:23.665 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:18:43 +0000 (0:00:00.374) 0:01:24.040 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.041) 0:01:24.081 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.030) 0:01:24.112 **** 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-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.068) 0:01:24.181 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.023) 0:01:24.204 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.217) 0:01:24.421 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.054) 0:01:24.476 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml for sut TASK [Initialize NM profile exist and ansible_managed comment flag] ************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.043) 0:01:24.520 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.023) 0:01:24.543 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.193) 0:01:24.736 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.023) 0:01:24.760 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.018950", "end": "2024-02-14 17:18:44.902452", "rc": 1, "start": "2024-02-14 17:18:44.883502" } 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.213) 0:01:24.973 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.024) 0:01:24.997 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:18:44 +0000 (0:00:00.023) 0:01:25.021 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.023) 0:01:25.045 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.056) 0:01:25.101 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.024) 0:01:25.126 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 17:18:45 +0000 (0:00:00.028) 0:01:25.154 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.933620", "end": "2024-02-14 17:18:46.212839", "rc": 0, "start": "2024-02-14 17:18:45.279219" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 17:18:46 +0000 (0:00:01.132) 0:01:26.287 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.026) 0:01:26.313 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.025) 0:01:26.339 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.050) 0:01:26.389 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.050) 0:01:26.439 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.211) 0:01:26.651 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.027) 0:01:26.678 **** 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.029) 0:01:26.707 **** included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:18:46 +0000 (0:00:00.131) 0:01:26.839 **** 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.038607", "end": "2024-02-14 17:18:47.005501", "rc": 1, "start": "2024-02-14 17:18:46.966894" } 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-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 17:18:47 +0000 (0:00:00.238) 0:01:27.077 **** 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.009929", "end": "2024-02-14 17:18:47.209661", "rc": 0, "start": "2024-02-14 17:18:47.199732" } 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 02:cf:f7:30:7e:47 brd ff:ff:ff:ff:ff:ff inet 10.31.46.166/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 2171sec preferred_lft 2171sec inet6 fe80::cf:f7ff:fe30:7e47/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.166 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.166 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 ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 17:18:47 +0000 (0:00:00.205) 0:01:27.282 **** 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.158755", "end": "2024-02-14 17:18:47.571436", "rc": 0, "start": "2024-02-14 17:18:47.412681" } STDOUT: CHECK DNS AND CONNECTIVITY 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2600:2701:4000:5211:dead:beef:fe:fed3 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:fed7 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 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 5545 0 --:--:-- --:--:-- --:--:-- 5545 % 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 3730 0 --:--:-- --:--:-- --:--:-- 3730 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=10 Wednesday 14 February 2024 17:18:47 +0000 (0:00:00.348) 0:01:27.630 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.26s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 2.04s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which packages are installed --------- 1.60s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.53s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.51s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.42s /WORKDIR/git-bond_options_rewriteu4bx3glo/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which packages are installed --------- 1.40s /WORKDIR/git-bond_options_rewriteu4bx3glo/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. ---^---^---^---^---^---