# 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_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/tests_states_nm.yml:6 Wednesday 14 February 2024 02:30:15 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/tests_states_nm.yml:9 Wednesday 14 February 2024 02:30:16 +0000 (0:00:00.998) 0:00:01.010 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 02:30:16 +0000 (0:00:00.024) 0:00:01.034 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.513) 0:00:01.547 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.249) 0:00:01.797 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.021) 0:00:01.818 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.017) 0:00:01.836 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.031) 0:00:01.867 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.008) 0:00:01.876 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.008) 0:00:01.884 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.008) 0:00:01.893 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.008) 0:00:01.901 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/tests_states_nm.yml:11 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.008) 0:00:01.909 **** 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_rewriteka2t5vjm/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 02:30:17 +0000 (0:00:00.010) 0:00:01.920 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 02:30:18 +0000 (0:00:00.781) 0:00:02.701 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 02:30:18 +0000 (0:00:00.010) 0:00:02.712 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:30:18 +0000 (0:00:00.015) 0:00:02.728 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:30:18 +0000 (0:00:00.011) 0:00:02.740 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:30:18 +0000 (0:00:00.034) 0:00:02.774 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:30:18 +0000 (0:00:00.014) 0:00:02.789 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:30:18 +0000 (0:00:00.014) 0:00:02.803 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004823", "end": "2024-02-14 02:30:19.940780", "rc": 0, "start": "2024-02-14 02:30:18.935957" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:30:19 +0000 (0:00:01.273) 0:00:04.077 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:30:19 +0000 (0:00:00.011) 0:00:04.088 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:30:19 +0000 (0:00:00.010) 0:00:04.099 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.021) 0:00:04.120 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008181", "end": "2024-02-14 02:30:20.192940", "rc": 1, "start": "2024-02-14 02:30:20.184759" } 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_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.218) 0:00:04.339 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.015) 0:00:04.354 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.213) 0:00:04.568 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.018) 0:00:04.587 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.020) 0:00:04.608 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.036) 0:00:04.644 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.079) 0:00:04.724 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.011) 0:00:04.735 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.010) 0:00:04.746 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:30:20 +0000 (0:00:00.009) 0:00:04.755 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:30:22 +0000 (0:00:02.312) 0:00:07.068 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:30:24 +0000 (0:00:01.076) 0:00:08.144 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:30:24 +0000 (0:00:00.022) 0:00:08.167 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:30:24 +0000 (0:00:00.021) 0:00:08.188 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:30:24 +0000 (0:00:00.020) 0:00:08.209 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:30:24 +0000 (0:00:00.043) 0:00:08.252 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:30:24 +0000 (0:00:00.021) 0:00:08.274 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:30:24 +0000 (0:00:00.021) 0:00:08.295 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:30:24 +0000 (0:00:00.024) 0:00:08.319 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:30:24 +0000 (0:00:00.683) 0:00:09.002 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:30:24 +0000 (0:00:00.025) 0:00:09.028 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:30:24 +0000 (0:00:00.021) 0:00:09.049 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:30:24 +0000 (0:00:00.020) 0:00:09.070 **** 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, d0e15614-50d4-41af-8deb-f4f19c23b532 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:30:25 +0000 (0:00:00.542) 0:00:09.613 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:30:25 +0000 (0:00:00.021) 0:00:09.634 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0e15614-50d4-41af-8deb-f4f19c23b532" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:30:25 +0000 (0:00:00.022) 0:00:09.656 **** 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, d0e15614-50d4-41af-8deb-f4f19c23b532\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0e15614-50d4-41af-8deb-f4f19c23b532" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:30:25 +0000 (0:00:00.023) 0:00:09.680 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:30:25 +0000 (0:00:00.021) 0:00:09.701 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:30:25 +0000 (0:00:00.261) 0:00:09.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, d0e15614-50d4-41af-8deb-f4f19c23b532\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d0e15614-50d4-41af-8deb-f4f19c23b532" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:30:25 +0000 (0:00:00.024) 0:00:09.986 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:30:25 +0000 (0:00:00.042) 0:00:10.029 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:30:25 +0000 (0:00:00.038) 0:00:10.068 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:30:25 +0000 (0:00:00.023) 0:00:10.091 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.244) 0:00:10.336 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.024) 0:00:10.360 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023024", "end": "2024-02-14 02:30:26.455983", "rc": 0, "start": "2024-02-14 02:30:26.432959" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.244) 0:00:10.604 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.026) 0:00:10.631 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.026) 0:00:10.657 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.024) 0:00:10.682 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.028) 0:00:10.710 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.027) 0:00:10.737 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.025) 0:00:10.763 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.026) 0:00:10.789 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.024) 0:00:10.813 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.044) 0:00:10.858 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:30:26 +0000 (0:00:00.042) 0:00:10.900 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707877825.416085, "block_size": 4096, "blocks": 0, "ctime": 1707877825.416085, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36337, "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": 1707877825.416085, "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_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.236) 0:00:11.137 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.034) 0:00:11.171 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.045) 0:00:11.217 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.053) 0:00:11.270 **** 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.059877", "end": "2024-02-14 02:30:27.397017", "rc": 1, "start": "2024-02-14 02:30:27.337140" } STDOUT: Connection 'statebr' (d0e15614-50d4-41af-8deb-f4f19c23b532) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.274) 0:00:11.545 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.040) 0:00:11.585 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.029) 0:00:11.614 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.048) 0:00:11.663 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.036) 0:00:11.699 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.035) 0:00:11.734 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003437", "end": "2024-02-14 02:30:27.799136", "rc": 0, "start": "2024-02-14 02:30:27.795699" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.232) 0:00:11.966 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.032) 0:00:11.999 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.024) 0:00:12.023 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 02:30:27 +0000 (0:00:00.044) 0:00:12.067 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006572", "end": "2024-02-14 02:30:28.136067", "rc": 1, "start": "2024-02-14 02:30:28.129495" } 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_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:30:28 +0000 (0:00:00.214) 0:00:12.282 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:30:28 +0000 (0:00:00.042) 0:00:12.324 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:30:28 +0000 (0:00:00.206) 0:00:12.531 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:30:28 +0000 (0:00:00.023) 0:00:12.554 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 02:30:28 +0000 (0:00:00.039) 0:00:12.594 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:30:28 +0000 (0:00:00.040) 0:00:12.635 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:30:28 +0000 (0:00:00.061) 0:00:12.697 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:30:28 +0000 (0:00:00.028) 0:00:12.726 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:30:28 +0000 (0:00:00.021) 0:00:12.747 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:30:28 +0000 (0:00:00.020) 0:00:12.768 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:30:30 +0000 (0:00:02.186) 0:00:14.955 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.928) 0:00:15.883 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.023) 0:00:15.907 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.024) 0:00:15.931 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.021) 0:00:15.953 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.044) 0:00:15.997 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.023) 0:00:16.020 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.024) 0:00:16.045 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:30:31 +0000 (0:00:00.037) 0:00:16.083 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:30:32 +0000 (0:00:00.593) 0:00:16.676 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:30:32 +0000 (0:00:00.039) 0:00:16.716 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:30:32 +0000 (0:00:00.045) 0:00:16.761 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:30:32 +0000 (0:00:00.021) 0:00:16.783 **** 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, b6a9f76b-b12a-47a0-b38f-3e5dfda17c6c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:30:33 +0000 (0:00:00.390) 0:00:17.174 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:30:33 +0000 (0:00:00.036) 0:00:17.211 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b6a9f76b-b12a-47a0-b38f-3e5dfda17c6c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:30:33 +0000 (0:00:00.037) 0:00:17.248 **** 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, b6a9f76b-b12a-47a0-b38f-3e5dfda17c6c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b6a9f76b-b12a-47a0-b38f-3e5dfda17c6c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:30:33 +0000 (0:00:00.060) 0:00:17.308 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:30:33 +0000 (0:00:00.023) 0:00:17.332 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 02:30:33 +0000 (0:00:00.222) 0:00:17.555 **** 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, b6a9f76b-b12a-47a0-b38f-3e5dfda17c6c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b6a9f76b-b12a-47a0-b38f-3e5dfda17c6c" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:30:33 +0000 (0:00:00.024) 0:00:17.579 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:30:33 +0000 (0:00:00.045) 0:00:17.625 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:30:33 +0000 (0:00:00.044) 0:00:17.669 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:30:33 +0000 (0:00:00.252) 0:00:17.921 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:30:33 +0000 (0:00:00.025) 0:00:17.947 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:30:33 +0000 (0:00:00.040) 0:00:17.987 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:30:33 +0000 (0:00:00.026) 0:00:18.014 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:30:34 +0000 (0:00:00.219) 0:00:18.234 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:30:34 +0000 (0:00:00.022) 0:00:18.256 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021931", "end": "2024-02-14 02:30:34.347292", "rc": 0, "start": "2024-02-14 02:30:34.325361" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:30:34 +0000 (0:00:00.238) 0:00:18.495 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:30:34 +0000 (0:00:00.025) 0:00:18.520 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:30:34 +0000 (0:00:00.023) 0:00:18.543 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:30:34 +0000 (0:00:00.023) 0:00:18.567 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:30:34 +0000 (0:00:00.021) 0:00:18.589 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:30:34 +0000 (0:00:00.022) 0:00:18.612 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:30:34 +0000 (0:00:00.023) 0:00:18.635 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:30:34 +0000 (0:00:00.024) 0:00:18.660 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:30:34 +0000 (0:00:00.045) 0:00:18.706 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:30:34 +0000 (0:00:00.036) 0:00:18.743 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:30:34 +0000 (0:00:00.037) 0:00:18.780 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:30:34 +0000 (0:00:00.061) 0:00:18.842 **** 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.043937", "end": "2024-02-14 02:30:34.951132", "rc": 1, "start": "2024-02-14 02:30:34.907195" } STDOUT: Connection 'statebr' (b6a9f76b-b12a-47a0-b38f-3e5dfda17c6c) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.275) 0:00:19.118 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.044) 0:00:19.163 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.031) 0:00:19.194 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.045) 0:00:19.240 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.036) 0:00:19.276 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.036) 0:00:19.313 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003528", "end": "2024-02-14 02:30:35.379045", "rc": 0, "start": "2024-02-14 02:30:35.375517" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.237) 0:00:19.550 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.024) 0:00:19.575 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.023) 0:00:19.598 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.040) 0:00:19.638 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.038) 0:00:19.677 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.044) 0:00:19.721 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.027) 0:00:19.749 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.023) 0:00:19.772 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:30:35 +0000 (0:00:00.023) 0:00:19.795 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:30:37 +0000 (0:00:02.205) 0:00:22.001 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:30:38 +0000 (0:00:00.911) 0:00:22.912 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:30:38 +0000 (0:00:00.022) 0:00:22.935 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:30:38 +0000 (0:00:00.021) 0:00:22.957 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:30:38 +0000 (0:00:00.021) 0:00:22.979 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:30:38 +0000 (0:00:00.043) 0:00:23.023 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:30:38 +0000 (0:00:00.021) 0:00:23.045 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:30:38 +0000 (0:00:00.042) 0:00:23.087 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:30:39 +0000 (0:00:00.025) 0:00:23.113 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:30:39 +0000 (0:00:00.559) 0:00:23.673 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:30:39 +0000 (0:00:00.045) 0:00:23.718 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:30:39 +0000 (0:00:00.024) 0:00:23.742 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:30:39 +0000 (0:00:00.037) 0:00:23.779 **** 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, 5554c4ab-6328-4ec4-85c7-917afb7ad565 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:30:40 +0000 (0:00:00.426) 0:00:24.205 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:30:40 +0000 (0:00:00.023) 0:00:24.229 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5554c4ab-6328-4ec4-85c7-917afb7ad565" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:30:40 +0000 (0:00:00.028) 0:00:24.257 **** 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, 5554c4ab-6328-4ec4-85c7-917afb7ad565\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5554c4ab-6328-4ec4-85c7-917afb7ad565" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:30:40 +0000 (0:00:00.023) 0:00:24.281 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:30:40 +0000 (0:00:00.021) 0:00:24.302 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:30:40 +0000 (0:00:00.202) 0:00:24.505 **** 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, 5554c4ab-6328-4ec4-85c7-917afb7ad565\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 5554c4ab-6328-4ec4-85c7-917afb7ad565" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:30:40 +0000 (0:00:00.045) 0:00:24.551 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:30:40 +0000 (0:00:00.041) 0:00:24.592 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:30:40 +0000 (0:00:00.041) 0:00:24.634 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:30:40 +0000 (0:00:00.040) 0:00:24.675 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:30:40 +0000 (0:00:00.027) 0:00:24.702 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:30:40 +0000 (0:00:00.023) 0:00:24.725 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:30:40 +0000 (0:00:00.022) 0:00:24.748 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:30:42 +0000 (0:00:02.176) 0:00:26.925 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:30:43 +0000 (0:00:00.913) 0:00:27.838 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:30:43 +0000 (0:00:00.025) 0:00:27.863 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:30:43 +0000 (0:00:00.021) 0:00:27.885 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:30:43 +0000 (0:00:00.021) 0:00:27.907 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:30:43 +0000 (0:00:00.046) 0:00:27.953 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:30:43 +0000 (0:00:00.025) 0:00:27.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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:30:43 +0000 (0:00:00.021) 0:00:28.000 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:30:43 +0000 (0:00:00.066) 0:00:28.067 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:30:44 +0000 (0:00:00.561) 0:00:28.629 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:30:44 +0000 (0:00:00.030) 0:00:28.659 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:30:44 +0000 (0:00:00.030) 0:00:28.689 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:30:44 +0000 (0:00:00.032) 0:00:28.721 **** 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, 5554c4ab-6328-4ec4-85c7-917afb7ad565 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:30:44 +0000 (0:00:00.378) 0:00:29.100 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:30:45 +0000 (0:00:00.022) 0:00:29.123 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5554c4ab-6328-4ec4-85c7-917afb7ad565 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:30:45 +0000 (0:00:00.024) 0:00:29.148 **** 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, 5554c4ab-6328-4ec4-85c7-917afb7ad565 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 5554c4ab-6328-4ec4-85c7-917afb7ad565 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:30:45 +0000 (0:00:00.024) 0:00:29.172 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:30:45 +0000 (0:00:00.021) 0:00:29.193 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:30:45 +0000 (0:00:00.207) 0:00:29.401 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:30:45 +0000 (0:00:00.068) 0:00:29.469 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:30:45 +0000 (0:00:00.044) 0:00:29.514 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707877839.9989188, "block_size": 4096, "blocks": 0, "ctime": 1707877839.9989188, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36468, "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": 1707877839.9989188, "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_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:30:45 +0000 (0:00:00.209) 0:00:29.724 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 02:30:45 +0000 (0:00:00.023) 0:00:29.747 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:30:45 +0000 (0:00:00.038) 0:00:29.786 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:30:45 +0000 (0:00:00.021) 0:00:29.807 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:30:45 +0000 (0:00:00.203) 0:00:30.011 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:30:45 +0000 (0:00:00.021) 0:00:30.032 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022448", "end": "2024-02-14 02:30:46.115082", "rc": 0, "start": "2024-02-14 02:30:46.092634" } STDOUT: statebr /etc/NetworkManager/system-connections/statebr.nmconnection TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.228) 0:00:30.261 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.024) 0:00:30.286 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.022) 0:00:30.308 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.022) 0:00:30.330 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.048) 0:00:30.378 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.045) 0:00:30.424 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.030) 0:00:30.454 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.025) 0:00:30.480 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.023) 0:00:30.503 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.021) 0:00:30.525 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.022) 0:00:30.547 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.040) 0:00:30.588 **** 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.073515", "end": "2024-02-14 02:30:46.724942", "rc": 1, "start": "2024-02-14 02:30:46.651427" } STDOUT: Connection 'statebr' (5554c4ab-6328-4ec4-85c7-917afb7ad565) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.283) 0:00:30.872 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.036) 0:00:30.909 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.022) 0:00:30.931 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.043) 0:00:30.975 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.073) 0:00:31.048 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:30:46 +0000 (0:00:00.054) 0:00:31.103 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003499", "end": "2024-02-14 02:30:47.168930", "rc": 0, "start": "2024-02-14 02:30:47.165431" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:30:47 +0000 (0:00:00.220) 0:00:31.323 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:30:47 +0000 (0:00:00.025) 0:00:31.348 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:30:47 +0000 (0:00:00.037) 0:00:31.386 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:30:47 +0000 (0:00:00.065) 0:00:31.451 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:30:47 +0000 (0:00:00.053) 0:00:31.505 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:30:47 +0000 (0:00:00.045) 0:00:31.551 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:30:47 +0000 (0:00:00.034) 0:00:31.585 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:30:47 +0000 (0:00:00.023) 0:00:31.609 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:30:47 +0000 (0:00:00.027) 0:00:31.636 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:30:49 +0000 (0:00:02.185) 0:00:33.822 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:30:50 +0000 (0:00:00.909) 0:00:34.732 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:30:50 +0000 (0:00:00.025) 0:00:34.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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:30:50 +0000 (0:00:00.060) 0:00:34.817 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:30:50 +0000 (0:00:00.035) 0:00:34.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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:30:50 +0000 (0:00:00.046) 0:00:34.899 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:30:50 +0000 (0:00:00.024) 0:00:34.924 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:30:50 +0000 (0:00:00.025) 0:00:34.949 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:30:50 +0000 (0:00:00.028) 0:00:34.977 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:30:51 +0000 (0:00:00.556) 0:00:35.534 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:30:51 +0000 (0:00:00.026) 0:00:35.560 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:30:51 +0000 (0:00:00.023) 0:00:35.583 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:30:51 +0000 (0:00:00.022) 0:00:35.606 **** 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, 83506f93-1b17-4441-94d7-449b9d81c3e6 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:30:51 +0000 (0:00:00.412) 0:00:36.019 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:30:51 +0000 (0:00:00.024) 0:00:36.043 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83506f93-1b17-4441-94d7-449b9d81c3e6" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:30:51 +0000 (0:00:00.066) 0:00:36.110 **** 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, 83506f93-1b17-4441-94d7-449b9d81c3e6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83506f93-1b17-4441-94d7-449b9d81c3e6" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:30:52 +0000 (0:00:00.024) 0:00:36.134 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:30:52 +0000 (0:00:00.023) 0:00:36.157 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:30:52 +0000 (0:00:00.202) 0:00:36.359 **** 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, 83506f93-1b17-4441-94d7-449b9d81c3e6\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 83506f93-1b17-4441-94d7-449b9d81c3e6" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:30:52 +0000 (0:00:00.025) 0:00:36.385 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:30:52 +0000 (0:00:00.039) 0:00:36.424 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:30:52 +0000 (0:00:00.046) 0:00:36.470 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:30:52 +0000 (0:00:00.033) 0:00:36.503 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:30:52 +0000 (0:00:00.030) 0:00:36.534 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:30:52 +0000 (0:00:00.026) 0:00:36.560 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:30:54 +0000 (0:00:02.172) 0:00:38.733 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:30:55 +0000 (0:00:00.932) 0:00:39.666 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:30:55 +0000 (0:00:00.043) 0:00:39.709 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:30:55 +0000 (0:00:00.037) 0:00:39.747 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:30:55 +0000 (0:00:00.042) 0:00:39.790 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:30:55 +0000 (0:00:00.046) 0:00:39.836 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:30:55 +0000 (0:00:00.021) 0:00:39.858 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:30:55 +0000 (0:00:00.023) 0:00:39.882 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:30:55 +0000 (0:00:00.088) 0:00:39.970 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:30:56 +0000 (0:00:00.610) 0:00:40.580 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:30:56 +0000 (0:00:00.028) 0:00:40.608 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:30:56 +0000 (0:00:00.024) 0:00:40.633 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:30:56 +0000 (0:00:00.022) 0:00:40.655 **** 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, 83506f93-1b17-4441-94d7-449b9d81c3e6 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:30:56 +0000 (0:00:00.384) 0:00:41.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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:30:56 +0000 (0:00:00.025) 0:00:41.065 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 83506f93-1b17-4441-94d7-449b9d81c3e6 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:30:56 +0000 (0:00:00.024) 0:00:41.090 **** 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, 83506f93-1b17-4441-94d7-449b9d81c3e6 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 83506f93-1b17-4441-94d7-449b9d81c3e6 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:30:57 +0000 (0:00:00.025) 0:00:41.115 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:30:57 +0000 (0:00:00.023) 0:00:41.138 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:30:57 +0000 (0:00:00.216) 0:00:41.354 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 02:30:57 +0000 (0:00:00.063) 0:00:41.418 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:30:57 +0000 (0:00:00.043) 0:00:41.461 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:30:57 +0000 (0:00:00.040) 0:00:41.502 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:30:57 +0000 (0:00:00.027) 0:00:41.530 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:30:57 +0000 (0:00:00.022) 0:00:41.552 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:30:57 +0000 (0:00:00.036) 0:00:41.589 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:30:59 +0000 (0:00:02.223) 0:00:43.813 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:31:00 +0000 (0:00:00.918) 0:00:44.732 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:31:00 +0000 (0:00:00.022) 0:00:44.755 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:31:00 +0000 (0:00:00.021) 0:00:44.777 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:31:00 +0000 (0:00:00.021) 0:00:44.798 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:31:00 +0000 (0:00:00.046) 0:00:44.845 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:31:00 +0000 (0:00:00.025) 0:00:44.870 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:31:00 +0000 (0:00:00.023) 0:00:44.894 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:31:00 +0000 (0:00:00.026) 0:00:44.920 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:31:01 +0000 (0:00:00.556) 0:00:45.476 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:31:01 +0000 (0:00:00.027) 0:00:45.503 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:31:01 +0000 (0:00:00.023) 0:00:45.527 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:31:01 +0000 (0:00:00.027) 0:00:45.555 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:31:01 +0000 (0:00:00.416) 0:00:45.972 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:31:01 +0000 (0:00:00.038) 0:00:46.011 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:31:01 +0000 (0:00:00.024) 0:00:46.036 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:31:01 +0000 (0:00:00.027) 0:00:46.063 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:31:01 +0000 (0:00:00.025) 0:00:46.089 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:31:02 +0000 (0:00:00.209) 0:00:46.298 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 02:31:02 +0000 (0:00:00.065) 0:00:46.364 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:31:02 +0000 (0:00:00.092) 0:00:46.457 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707877851.8225114, "block_size": 4096, "blocks": 0, "ctime": 1707877851.8225114, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36599, "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": 1707877851.8225114, "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_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 02:31:02 +0000 (0:00:00.210) 0:00:46.667 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:31:02 +0000 (0:00:00.024) 0:00:46.692 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:31:02 +0000 (0:00:00.039) 0:00:46.731 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:31:02 +0000 (0:00:00.022) 0:00:46.754 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:31:02 +0000 (0:00:00.215) 0:00:46.969 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:31:02 +0000 (0:00:00.021) 0:00:46.991 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022519", "end": "2024-02-14 02:31:03.074151", "rc": 1, "start": "2024-02-14 02:31:03.051632" } 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.250) 0:00:47.241 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.045) 0:00:47.287 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.033) 0:00:47.321 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.037) 0:00:47.358 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.041) 0:00:47.400 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.067) 0:00:47.468 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.024) 0:00:47.493 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.021) 0:00:47.515 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.022) 0:00:47.537 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.050) 0:00:47.588 **** 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.070086", "end": "2024-02-14 02:31:03.723043", "rc": 1, "start": "2024-02-14 02:31:03.652957" } STDOUT: Connection 'statebr' (83506f93-1b17-4441-94d7-449b9d81c3e6) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.293) 0:00:47.882 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.057) 0:00:47.939 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.029) 0:00:47.969 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.054) 0:00:48.023 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:31:03 +0000 (0:00:00.050) 0:00:48.074 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:31:04 +0000 (0:00:00.067) 0:00:48.142 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003460", "end": "2024-02-14 02:31:04.214814", "rc": 0, "start": "2024-02-14 02:31:04.211354" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:31:04 +0000 (0:00:00.220) 0:00:48.362 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:31:04 +0000 (0:00:00.024) 0:00:48.387 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:31:04 +0000 (0:00:00.024) 0:00:48.411 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:31:04 +0000 (0:00:00.053) 0:00:48.465 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:31:04 +0000 (0:00:00.038) 0:00:48.503 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:31:04 +0000 (0:00:00.042) 0:00:48.545 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:31:04 +0000 (0:00:00.026) 0:00:48.572 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:31:04 +0000 (0:00:00.023) 0:00:48.596 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:31:04 +0000 (0:00:00.023) 0:00:48.620 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:31:06 +0000 (0:00:02.175) 0:00:50.795 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:31:07 +0000 (0:00:00.898) 0:00:51.694 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:31:07 +0000 (0:00:00.022) 0:00:51.717 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:31:07 +0000 (0:00:00.021) 0:00:51.739 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:31:07 +0000 (0:00:00.021) 0:00:51.760 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:31:07 +0000 (0:00:00.064) 0:00:51.825 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:31:07 +0000 (0:00:00.023) 0:00:51.848 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:31:07 +0000 (0:00:00.021) 0:00:51.869 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:31:07 +0000 (0:00:00.025) 0:00:51.895 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:31:08 +0000 (0:00:00.555) 0:00:52.450 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:31:08 +0000 (0:00:00.026) 0:00:52.477 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:31:08 +0000 (0:00:00.021) 0:00:52.498 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:31:08 +0000 (0:00:00.022) 0:00:52.521 **** 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, b87bfbb7-526b-4db3-92b0-228383d52fc4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:31:08 +0000 (0:00:00.425) 0:00:52.946 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:31:08 +0000 (0:00:00.027) 0:00:52.973 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b87bfbb7-526b-4db3-92b0-228383d52fc4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:31:08 +0000 (0:00:00.029) 0:00:53.002 **** 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, b87bfbb7-526b-4db3-92b0-228383d52fc4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b87bfbb7-526b-4db3-92b0-228383d52fc4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:31:08 +0000 (0:00:00.030) 0:00:53.033 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:31:08 +0000 (0:00:00.022) 0:00:53.055 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:31:09 +0000 (0:00:00.233) 0:00:53.289 **** 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, b87bfbb7-526b-4db3-92b0-228383d52fc4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b87bfbb7-526b-4db3-92b0-228383d52fc4" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:31:09 +0000 (0:00:00.026) 0:00:53.316 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:31:09 +0000 (0:00:00.040) 0:00:53.356 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:31:09 +0000 (0:00:00.044) 0:00:53.400 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:31:09 +0000 (0:00:00.029) 0:00:53.430 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:31:09 +0000 (0:00:00.027) 0:00:53.458 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:31:09 +0000 (0:00:00.024) 0:00:53.482 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:31:11 +0000 (0:00:02.172) 0:00:55.655 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:31:12 +0000 (0:00:00.919) 0:00:56.574 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:31:12 +0000 (0:00:00.023) 0:00:56.598 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:31:12 +0000 (0:00:00.022) 0:00:56.620 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:31:12 +0000 (0:00:00.023) 0:00:56.643 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:31:12 +0000 (0:00:00.044) 0:00:56.688 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:31:12 +0000 (0:00:00.021) 0:00:56.710 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:31:12 +0000 (0:00:00.024) 0:00:56.734 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:31:12 +0000 (0:00:00.033) 0:00:56.768 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:31:13 +0000 (0:00:00.577) 0:00:57.346 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:31:13 +0000 (0:00:00.027) 0:00:57.373 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:31:13 +0000 (0:00:00.024) 0:00:57.398 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:31:13 +0000 (0:00:00.031) 0:00:57.429 **** 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, b87bfbb7-526b-4db3-92b0-228383d52fc4 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:31:13 +0000 (0:00:00.368) 0:00:57.798 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:31:13 +0000 (0:00:00.028) 0:00:57.826 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b87bfbb7-526b-4db3-92b0-228383d52fc4 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:31:13 +0000 (0:00:00.025) 0:00:57.851 **** 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, b87bfbb7-526b-4db3-92b0-228383d52fc4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b87bfbb7-526b-4db3-92b0-228383d52fc4 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:31:13 +0000 (0:00:00.036) 0:00:57.888 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:31:13 +0000 (0:00:00.024) 0:00:57.912 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 02:31:14 +0000 (0:00:00.203) 0:00:58.116 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:31:14 +0000 (0:00:00.039) 0:00:58.155 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:31:14 +0000 (0:00:00.069) 0:00:58.225 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:31:14 +0000 (0:00:00.040) 0:00:58.265 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:31:14 +0000 (0:00:00.044) 0:00:58.310 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:31:14 +0000 (0:00:00.046) 0:00:58.357 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:31:16 +0000 (0:00:02.176) 0:01:00.534 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:31:17 +0000 (0:00:00.921) 0:01:01.456 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:31:17 +0000 (0:00:00.029) 0:01:01.485 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:31:17 +0000 (0:00:00.029) 0:01:01.515 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:31:17 +0000 (0:00:00.024) 0:01:01.539 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:31:17 +0000 (0:00:00.045) 0:01:01.585 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:31:17 +0000 (0:00:00.022) 0:01:01.607 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:31:17 +0000 (0:00:00.021) 0:01:01.629 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:31:17 +0000 (0:00:00.024) 0:01:01.654 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:31:18 +0000 (0:00:00.548) 0:01:02.202 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:31:18 +0000 (0:00:00.086) 0:01:02.289 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:31:18 +0000 (0:00:00.029) 0:01:02.319 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:31:18 +0000 (0:00:00.024) 0:01:02.343 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:31:18 +0000 (0:00:00.394) 0:01:02.738 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:31:18 +0000 (0:00:00.023) 0:01:02.762 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:31:18 +0000 (0:00:00.024) 0:01:02.786 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:31:18 +0000 (0:00:00.023) 0:01:02.809 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:31:18 +0000 (0:00:00.023) 0:01:02.833 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:31:18 +0000 (0:00:00.218) 0:01:03.051 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:31:18 +0000 (0:00:00.054) 0:01:03.105 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:31:19 +0000 (0:00:00.072) 0:01:03.177 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:31:19 +0000 (0:00:00.100) 0:01:03.277 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:31:19 +0000 (0:00:00.041) 0:01:03.319 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:31:19 +0000 (0:00:00.028) 0:01:03.348 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:31:19 +0000 (0:00:00.034) 0:01:03.383 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:31:21 +0000 (0:00:02.194) 0:01:05.577 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:31:22 +0000 (0:00:00.918) 0:01:06.496 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:31:22 +0000 (0:00:00.023) 0:01:06.519 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:31:22 +0000 (0:00:00.021) 0:01:06.541 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:31:22 +0000 (0:00:00.023) 0:01:06.564 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:31:22 +0000 (0:00:00.053) 0:01:06.618 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:31:22 +0000 (0:00:00.024) 0:01:06.643 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:31:22 +0000 (0:00:00.021) 0:01:06.664 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:31:22 +0000 (0:00:00.025) 0:01:06.690 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:31:23 +0000 (0:00:00.556) 0:01:07.247 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:31:23 +0000 (0:00:00.049) 0:01:07.297 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:31:23 +0000 (0:00:00.023) 0:01:07.320 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:31:23 +0000 (0:00:00.024) 0:01:07.344 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:31:23 +0000 (0:00:00.478) 0:01:07.823 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:31:23 +0000 (0:00:00.021) 0:01:07.844 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:31:23 +0000 (0:00:00.022) 0:01:07.867 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:31:23 +0000 (0:00:00.024) 0:01:07.891 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:31:23 +0000 (0:00:00.021) 0:01:07.912 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.205) 0:01:08.118 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.045) 0:01:08.164 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.041) 0:01:08.205 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.039) 0:01:08.244 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.212) 0:01:08.457 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.021) 0:01:08.479 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021428", "end": "2024-02-14 02:31:24.562768", "rc": 1, "start": "2024-02-14 02:31:24.541340" } 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.230) 0:01:08.709 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.023) 0:01:08.733 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.022) 0:01:08.756 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.032) 0:01:08.788 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.033) 0:01:08.822 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.032) 0:01:08.855 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.028) 0:01:08.884 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.066) 0:01:08.951 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:31:24 +0000 (0:00:00.048) 0:01:08.999 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:31:25 +0000 (0:00:00.213) 0:01:09.212 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:31:25 +0000 (0:00:00.058) 0:01:09.271 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:31:25 +0000 (0:00:00.024) 0:01:09.295 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:31:25 +0000 (0:00:00.045) 0:01:09.340 **** 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.040861", "end": "2024-02-14 02:31:25.461709", "rc": 1, "start": "2024-02-14 02:31:25.420848" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 02:31:25 +0000 (0:00:00.268) 0:01:09.608 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 02:31:25 +0000 (0:00:00.039) 0:01:09.648 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 02:31:25 +0000 (0:00:00.022) 0:01:09.671 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 02:31:25 +0000 (0:00:00.046) 0:01:09.717 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 02:31:25 +0000 (0:00:00.038) 0:01:09.756 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 02:31:25 +0000 (0:00:00.036) 0:01:09.792 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003475", "end": "2024-02-14 02:31:25.858047", "rc": 0, "start": "2024-02-14 02:31:25.854572" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 02:31:25 +0000 (0:00:00.212) 0:01:10.004 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 02:31:25 +0000 (0:00:00.025) 0:01:10.030 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 02:31:25 +0000 (0:00:00.076) 0:01:10.106 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 02:31:26 +0000 (0:00:00.049) 0:01:10.155 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:31:26 +0000 (0:00:00.045) 0:01:10.200 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:31:26 +0000 (0:00:00.044) 0:01:10.245 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:31:26 +0000 (0:00:00.035) 0:01:10.280 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:31:26 +0000 (0:00:00.025) 0:01:10.305 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:31:26 +0000 (0:00:00.045) 0:01:10.351 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:31:28 +0000 (0:00:02.221) 0:01:12.572 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:31:29 +0000 (0:00:00.903) 0:01:13.476 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:31:29 +0000 (0:00:00.022) 0:01:13.499 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:31:29 +0000 (0:00:00.021) 0:01:13.521 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:31:29 +0000 (0:00:00.021) 0:01:13.542 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:31:29 +0000 (0:00:00.047) 0:01:13.589 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:31:29 +0000 (0:00:00.050) 0:01:13.640 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:31:29 +0000 (0:00:00.023) 0:01:13.663 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:31:29 +0000 (0:00:00.027) 0:01:13.690 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:31:30 +0000 (0:00:00.552) 0:01:14.243 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:31:30 +0000 (0:00:00.028) 0:01:14.272 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:31:30 +0000 (0:00:00.023) 0:01:14.295 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:31:30 +0000 (0:00:00.021) 0:01:14.317 **** 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, 9f7f25f1-311e-4f56-a5bf-3e8a08bfb81c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:31:30 +0000 (0:00:00.426) 0:01:14.743 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:31:30 +0000 (0:00:00.022) 0:01:14.765 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9f7f25f1-311e-4f56-a5bf-3e8a08bfb81c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:31:30 +0000 (0:00:00.023) 0:01:14.789 **** 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, 9f7f25f1-311e-4f56-a5bf-3e8a08bfb81c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9f7f25f1-311e-4f56-a5bf-3e8a08bfb81c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:31:30 +0000 (0:00:00.025) 0:01:14.814 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:31:30 +0000 (0:00:00.023) 0:01:14.838 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 02:31:30 +0000 (0:00:00.232) 0:01:15.071 **** 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, 9f7f25f1-311e-4f56-a5bf-3e8a08bfb81c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9f7f25f1-311e-4f56-a5bf-3e8a08bfb81c" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 02:31:30 +0000 (0:00:00.025) 0:01:15.096 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:31:31 +0000 (0:00:00.039) 0:01:15.135 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:31:31 +0000 (0:00:00.042) 0:01:15.178 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:31:31 +0000 (0:00:00.028) 0:01:15.207 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:31:31 +0000 (0:00:00.022) 0:01:15.229 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:31:31 +0000 (0:00:00.021) 0:01:15.251 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:31:33 +0000 (0:00:02.205) 0:01:17.456 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:31:34 +0000 (0:00:00.913) 0:01:18.369 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:31:34 +0000 (0:00:00.023) 0:01:18.393 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:31:34 +0000 (0:00:00.022) 0:01:18.415 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:31:34 +0000 (0:00:00.022) 0:01:18.438 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:31:34 +0000 (0:00:00.044) 0:01:18.482 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:31:34 +0000 (0:00:00.022) 0:01:18.505 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:31:34 +0000 (0:00:00.023) 0:01:18.529 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:31:34 +0000 (0:00:00.026) 0:01:18.555 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.593) 0:01:19.148 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.026) 0:01:19.174 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.021) 0:01:19.196 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.021) 0:01:19.218 **** 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, 9f7f25f1-311e-4f56-a5bf-3e8a08bfb81c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.366) 0:01:19.585 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.021) 0:01:19.606 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9f7f25f1-311e-4f56-a5bf-3e8a08bfb81c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.022) 0:01:19.629 **** 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, 9f7f25f1-311e-4f56-a5bf-3e8a08bfb81c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9f7f25f1-311e-4f56-a5bf-3e8a08bfb81c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.023) 0:01:19.653 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.021) 0:01:19.674 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.205) 0:01:19.879 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.060) 0:01:19.940 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.042) 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.027) 0:01:20.010 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.022) 0:01:20.033 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:31:35 +0000 (0:00:00.021) 0:01:20.054 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:31:38 +0000 (0:00:02.205) 0:01:22.260 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:31:39 +0000 (0:00:00.927) 0:01:23.187 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:31:39 +0000 (0:00:00.024) 0:01:23.212 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:31:39 +0000 (0:00:00.023) 0:01:23.235 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:31:39 +0000 (0:00:00.022) 0:01:23.258 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:31:39 +0000 (0:00:00.045) 0:01:23.304 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:31:39 +0000 (0:00:00.022) 0:01:23.326 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:31:39 +0000 (0:00:00.021) 0:01:23.347 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:31:39 +0000 (0:00:00.028) 0:01:23.375 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:31:39 +0000 (0:00:00.576) 0:01:23.951 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:31:39 +0000 (0:00:00.026) 0:01:23.978 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:31:39 +0000 (0:00:00.021) 0:01:24.000 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:31:39 +0000 (0:00:00.022) 0:01:24.022 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:31:40 +0000 (0:00:00.450) 0:01:24.473 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:31:40 +0000 (0:00:00.023) 0:01:24.497 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:31:40 +0000 (0:00:00.024) 0:01:24.521 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:31:40 +0000 (0:00:00.027) 0:01:24.548 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:31:40 +0000 (0:00:00.031) 0:01:24.580 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 02:31:40 +0000 (0:00:00.202) 0:01:24.782 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 02:31:40 +0000 (0:00:00.041) 0:01:24.824 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 02:31:40 +0000 (0:00:00.066) 0:01:24.891 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 02:31:40 +0000 (0:00:00.043) 0:01:24.934 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 02:31:40 +0000 (0:00:00.029) 0:01:24.964 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 02:31:40 +0000 (0:00:00.022) 0:01:24.987 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 02:31:40 +0000 (0:00:00.022) 0:01:25.009 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 02:31:43 +0000 (0:00:02.173) 0:01:27.182 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 02:31:43 +0000 (0:00:00.921) 0:01:28.104 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 02:31:44 +0000 (0:00:00.023) 0:01:28.127 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 02:31:44 +0000 (0:00:00.022) 0:01:28.149 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 02:31:44 +0000 (0:00:00.023) 0:01:28.173 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 02:31:44 +0000 (0:00:00.044) 0:01:28.218 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 02:31:44 +0000 (0:00:00.021) 0:01:28.239 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 02:31:44 +0000 (0:00:00.021) 0:01:28.261 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 02:31:44 +0000 (0:00:00.027) 0:01:28.288 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 02:31:44 +0000 (0:00:00.576) 0:01:28.865 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 02:31:44 +0000 (0:00:00.026) 0:01:28.891 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 02:31:44 +0000 (0:00:00.023) 0:01:28.914 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 02:31:44 +0000 (0:00:00.023) 0:01:28.938 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 02:31:45 +0000 (0:00:00.389) 0:01:29.327 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 02:31:45 +0000 (0:00:00.021) 0:01:29.349 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 02:31:45 +0000 (0:00:00.023) 0:01:29.372 **** 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_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 02:31:45 +0000 (0:00:00.023) 0:01:29.395 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 02:31:45 +0000 (0:00:00.021) 0:01:29.417 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 02:31:45 +0000 (0:00:00.200) 0:01:29.618 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 02:31:45 +0000 (0:00:00.045) 0:01:29.663 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 02:31:45 +0000 (0:00:00.040) 0:01:29.704 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 02:31:45 +0000 (0:00:00.051) 0:01:29.755 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 02:31:45 +0000 (0:00:00.207) 0:01:29.963 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 02:31:45 +0000 (0:00:00.022) 0:01:29.985 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021487", "end": "2024-02-14 02:31:46.068588", "rc": 1, "start": "2024-02-14 02:31:46.047101" } 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 02:31:46 +0000 (0:00:00.230) 0:01:30.216 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 02:31:46 +0000 (0:00:00.025) 0:01:30.241 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 02:31:46 +0000 (0:00:00.024) 0:01:30.266 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 02:31:46 +0000 (0:00:00.027) 0:01:30.293 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 02:31:46 +0000 (0:00:00.023) 0:01:30.317 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 02:31:46 +0000 (0:00:00.022) 0:01:30.339 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 02:31:46 +0000 (0:00:00.024) 0:01:30.364 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.360078", "end": "2024-02-14 02:31:46.785250", "rc": 0, "start": "2024-02-14 02:31:46.425172" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 02:31:46 +0000 (0:00:00.570) 0:01:30.934 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 02:31:46 +0000 (0:00:00.023) 0:01:30.957 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 02:31:46 +0000 (0:00:00.022) 0:01:30.979 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 02:31:46 +0000 (0:00:00.070) 0:01:31.050 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 02:31:46 +0000 (0:00:00.038) 0:01:31.088 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 02:31:47 +0000 (0:00:00.207) 0:01:31.296 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 02:31:47 +0000 (0:00:00.024) 0:01:31.321 **** 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_rewriteka2t5vjm/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 02:31:47 +0000 (0:00:00.023) 0:01:31.344 **** included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 02:31:47 +0000 (0:00:00.047) 0:01:31.392 **** 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.041004", "end": "2024-02-14 02:31:47.496966", "rc": 1, "start": "2024-02-14 02:31:47.455962" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 02:31:47 +0000 (0:00:00.251) 0:01:31.644 **** 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.009247", "end": "2024-02-14 02:31:47.714155", "rc": 0, "start": "2024-02-14 02:31:47.704908" } 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 noprefixroute valid_lft forever preferred_lft forever 2: eth0: mtu 1500 qdisc mq state UP group default qlen 1000 link/ether 02:fb:82:d7:db:89 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.46.99/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3059sec preferred_lft 3059sec inet6 fe80::fb:82ff:fed7:db89/64 scope link noprefixroute valid_lft forever preferred_lft forever IP ROUTE default via 10.31.44.1 dev eth0 proto dhcp src 10.31.46.99 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.46.99 metric 100 IP -6 ROUTE fe80::/64 dev eth0 proto kernel metric 1024 pref medium RESOLV # This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8). # Do not edit. # # This file might be symlinked as /etc/resolv.conf. If you're looking at # /etc/resolv.conf and seeing this text, you have followed the symlink. # # This is a dynamic resolv.conf file for connecting local clients to the # internal DNS stub resolver of systemd-resolved. This file lists all # configured search domains. # # Run "resolvectl status" to see details about the uplink DNS servers # currently in use. # # Third party programs should typically not access this file directly, but only # through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a # different way, replace this symlink by a static file or a different symlink. # # See man:systemd-resolved.service(8) for details about the supported modes of # operation for /etc/resolv.conf. nameserver 127.0.0.53 options edns0 trust-ad search us-east-1.aws.redhat.com TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 02:31:47 +0000 (0:00:00.217) 0:01:31.861 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=318 changed=10 unreachable=0 failed=0 skipped=253 rescued=0 ignored=11 Wednesday 14 February 2024 02:31:47 +0000 (0:00:00.013) 0:01:31.875 **** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 2.91s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 2.34s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 2.31s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.23s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.22s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.21s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.71s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.50s /WORKDIR/git-bond_options_rewriteka2t5vjm/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution fedora 38 on host sut should use /usr/bin/python3, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs.ansible.com/ansible/ 2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [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. ---^---^---^---^---^---