# 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_rewritek552d4hx/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_rewritek552d4hx/tests/tests_states_nm.yml:6 Tuesday 06 February 2024 21:11:10 +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_rewritek552d4hx/tests/tests_states_nm.yml:9 Tuesday 06 February 2024 21:11:11 +0000 (0:00:00.612) 0:00:00.624 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 21:11:11 +0000 (0:00:00.021) 0:00:00.646 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 21:11:11 +0000 (0:00:00.336) 0:00:00.983 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 21:11:11 +0000 (0:00:00.261) 0:00:01.245 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 21:11:11 +0000 (0:00:00.020) 0:00:01.265 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 21:11:11 +0000 (0:00:00.017) 0:00:01.283 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 21:11:11 +0000 (0:00:00.031) 0:00:01.314 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 21:11:11 +0000 (0:00:00.013) 0:00:01.327 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 21:11:11 +0000 (0:00:00.009) 0:00:01.337 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 21:11:11 +0000 (0:00:00.010) 0:00:01.347 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 21:11:11 +0000 (0:00:00.009) 0:00:01.357 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/tests_states_nm.yml:11 Tuesday 06 February 2024 21:11:11 +0000 (0:00:00.026) 0:00:01.383 ****** 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_rewritek552d4hx/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 21:11:11 +0000 (0:00:00.010) 0:00:01.394 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 21:11:12 +0000 (0:00:00.479) 0:00:01.874 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 21:11:12 +0000 (0:00:00.010) 0:00:01.884 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:11:12 +0000 (0:00:00.014) 0:00:01.899 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:11:12 +0000 (0:00:00.010) 0:00:01.910 ****** 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_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:11:12 +0000 (0:00:00.031) 0:00:01.942 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:11:12 +0000 (0:00:00.014) 0:00:01.956 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:11:12 +0000 (0:00:00.012) 0:00:01.968 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004494", "end": "2024-02-06 21:11:13.581610", "rc": 0, "start": "2024-02-06 21:11:12.577116" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:11:13 +0000 (0:00:01.241) 0:00:03.210 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:11:13 +0000 (0:00:00.011) 0:00:03.222 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:11:13 +0000 (0:00:00.010) 0:00:03.233 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 21:11:13 +0000 (0:00:00.019) 0:00:03.252 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007773", "end": "2024-02-06 21:11:13.820447", "rc": 1, "start": "2024-02-06 21:11:13.812674" } 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_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:11:13 +0000 (0:00:00.197) 0:00:03.449 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:11:13 +0000 (0:00:00.013) 0:00:03.463 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:11:14 +0000 (0:00:00.188) 0:00:03.652 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:11:14 +0000 (0:00:00.013) 0:00:03.665 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:11:14 +0000 (0:00:00.018) 0:00:03.683 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:11:14 +0000 (0:00:00.033) 0:00:03.717 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:11:14 +0000 (0:00:00.068) 0:00:03.785 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:11:14 +0000 (0:00:00.012) 0:00:03.797 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:11:14 +0000 (0:00:00.009) 0:00:03.807 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:11:14 +0000 (0:00:00.010) 0:00:03.817 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:11:15 +0000 (0:00:01.638) 0:00:05.455 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:11:16 +0000 (0:00:01.136) 0:00:06.592 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:11:17 +0000 (0:00:00.021) 0:00:06.614 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:11:17 +0000 (0:00:00.021) 0:00:06.636 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:11:17 +0000 (0:00:00.021) 0:00:06.657 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:11:17 +0000 (0:00:00.042) 0:00:06.700 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:11:17 +0000 (0:00:00.027) 0:00:06.728 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:11:17 +0000 (0:00:00.021) 0:00:06.749 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:11:17 +0000 (0:00:00.039) 0:00:06.788 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:11:17 +0000 (0:00:00.500) 0:00:07.289 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:11:17 +0000 (0:00:00.024) 0:00:07.313 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:11:17 +0000 (0:00:00.019) 0:00:07.333 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:11:17 +0000 (0:00:00.022) 0:00:07.356 ****** 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, 12981a10-b2a5-46b9-a884-681069a4ac82 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:11:18 +0000 (0:00:00.582) 0:00:07.939 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:11:18 +0000 (0:00:00.020) 0:00:07.960 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12981a10-b2a5-46b9-a884-681069a4ac82" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:11:18 +0000 (0:00:00.023) 0:00:07.983 ****** 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, 12981a10-b2a5-46b9-a884-681069a4ac82\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12981a10-b2a5-46b9-a884-681069a4ac82" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:11:18 +0000 (0:00:00.023) 0:00:08.007 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:11:18 +0000 (0:00:00.021) 0:00:08.029 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:11:18 +0000 (0:00:00.247) 0:00:08.276 ****** 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, 12981a10-b2a5-46b9-a884-681069a4ac82\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 12981a10-b2a5-46b9-a884-681069a4ac82" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:11:18 +0000 (0:00:00.025) 0:00:08.302 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:11:18 +0000 (0:00:00.062) 0:00:08.364 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:11:18 +0000 (0:00:00.039) 0:00:08.403 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:11:18 +0000 (0:00:00.021) 0:00:08.425 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.199) 0:00:08.625 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.025) 0:00:08.650 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022451", "end": "2024-02-06 21:11:19.235054", "rc": 0, "start": "2024-02-06 21:11:19.212603" } 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.224) 0:00:08.874 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.023) 0:00:08.897 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.047) 0:00:08.945 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.024) 0:00:08.970 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.024) 0:00:08.994 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.024) 0:00:09.018 ****** 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_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.030) 0:00:09.048 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.029) 0:00:09.078 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.023) 0:00:09.102 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.049) 0:00:09.151 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.034) 0:00:09.186 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707253878.21648, "block_size": 4096, "blocks": 0, "ctime": 1707253878.21648, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34143, "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": 1707253878.21648, "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_rewritek552d4hx/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.207) 0:00:09.394 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.027) 0:00:09.422 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.023) 0:00:09.445 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:11:19 +0000 (0:00:00.041) 0:00:09.487 ****** 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.065476", "end": "2024-02-06 21:11:20.115512", "rc": 1, "start": "2024-02-06 21:11:20.050036" } STDOUT: Connection 'statebr' (12981a10-b2a5-46b9-a884-681069a4ac82) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 21:11:20 +0000 (0:00:00.290) 0:00:09.777 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:11:20 +0000 (0:00:00.037) 0:00:09.815 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:11:20 +0000 (0:00:00.022) 0:00:09.837 ****** 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_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:11:20 +0000 (0:00:00.043) 0:00:09.880 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:11:20 +0000 (0:00:00.033) 0:00:09.913 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:11:20 +0000 (0:00:00.033) 0:00:09.947 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003347", "end": "2024-02-06 21:11:20.527909", "rc": 0, "start": "2024-02-06 21:11:20.524562" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:11:20 +0000 (0:00:00.221) 0:00:10.168 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:11:20 +0000 (0:00:00.023) 0:00:10.192 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:11:20 +0000 (0:00:00.021) 0:00:10.213 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 21:11:20 +0000 (0:00:00.042) 0:00:10.255 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006263", "end": "2024-02-06 21:11:20.825977", "rc": 1, "start": "2024-02-06 21:11:20.819714" } 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_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:11:20 +0000 (0:00:00.209) 0:00:10.465 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:11:20 +0000 (0:00:00.058) 0:00:10.523 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:11:21 +0000 (0:00:00.201) 0:00:10.725 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:11:21 +0000 (0:00:00.023) 0:00:10.748 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 21:11:21 +0000 (0:00:00.038) 0:00:10.787 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:11:21 +0000 (0:00:00.039) 0:00:10.827 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:11:21 +0000 (0:00:00.038) 0:00:10.865 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:11:21 +0000 (0:00:00.025) 0:00:10.891 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:11:21 +0000 (0:00:00.020) 0:00:10.911 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:11:21 +0000 (0:00:00.020) 0:00:10.932 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:11:22 +0000 (0:00:01.552) 0:00:12.484 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:11:23 +0000 (0:00:00.996) 0:00:13.481 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:11:23 +0000 (0:00:00.023) 0:00:13.504 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:11:23 +0000 (0:00:00.021) 0:00:13.526 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:11:23 +0000 (0:00:00.021) 0:00:13.547 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:11:23 +0000 (0:00:00.044) 0:00:13.591 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:11:24 +0000 (0:00:00.021) 0:00:13.612 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:11:24 +0000 (0:00:00.020) 0:00:13.633 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:11:24 +0000 (0:00:00.024) 0:00:13.657 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:11:24 +0000 (0:00:00.393) 0:00:14.050 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:11:24 +0000 (0:00:00.026) 0:00:14.077 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:11:24 +0000 (0:00:00.021) 0:00:14.099 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:11:24 +0000 (0:00:00.022) 0:00:14.122 ****** 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, 52be3a73-b7ef-4882-9a1e-db934429f845 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:11:24 +0000 (0:00:00.372) 0:00:14.495 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:11:24 +0000 (0:00:00.022) 0:00:14.517 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52be3a73-b7ef-4882-9a1e-db934429f845" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:11:24 +0000 (0:00:00.023) 0:00:14.541 ****** 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, 52be3a73-b7ef-4882-9a1e-db934429f845\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52be3a73-b7ef-4882-9a1e-db934429f845" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:11:24 +0000 (0:00:00.024) 0:00:14.565 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:11:24 +0000 (0:00:00.031) 0:00:14.597 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 21:11:25 +0000 (0:00:00.195) 0:00:14.793 ****** 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, 52be3a73-b7ef-4882-9a1e-db934429f845\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 52be3a73-b7ef-4882-9a1e-db934429f845" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:11:25 +0000 (0:00:00.022) 0:00:14.815 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:11:25 +0000 (0:00:00.042) 0:00:14.857 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:11:25 +0000 (0:00:00.059) 0:00:14.917 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:11:25 +0000 (0:00:00.202) 0:00:15.119 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:11:25 +0000 (0:00:00.025) 0:00:15.144 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:11:25 +0000 (0:00:00.038) 0:00:15.182 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:11:25 +0000 (0:00:00.027) 0:00:15.210 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:11:25 +0000 (0:00:00.200) 0:00:15.410 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:11:25 +0000 (0:00:00.021) 0:00:15.431 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021974", "end": "2024-02-06 21:11:26.017737", "rc": 0, "start": "2024-02-06 21:11:25.995763" } 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.225) 0:00:15.657 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.023) 0:00:15.681 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.021) 0:00:15.703 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.021) 0:00:15.724 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.023) 0:00:15.747 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.021) 0:00:15.769 ****** 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_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.024) 0:00:15.793 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.048) 0:00:15.842 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.022) 0:00:15.865 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.020) 0:00:15.885 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.021) 0:00:15.907 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.041) 0:00:15.948 ****** 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.044560", "end": "2024-02-06 21:11:26.554547", "rc": 1, "start": "2024-02-06 21:11:26.509987" } STDOUT: Connection 'statebr' (52be3a73-b7ef-4882-9a1e-db934429f845) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.244) 0:00:16.193 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.037) 0:00:16.230 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.023) 0:00:16.254 ****** 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_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.045) 0:00:16.300 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.036) 0:00:16.336 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.035) 0:00:16.371 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003300", "end": "2024-02-06 21:11:26.939045", "rc": 0, "start": "2024-02-06 21:11:26.935745" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:11:26 +0000 (0:00:00.205) 0:00:16.577 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:11:27 +0000 (0:00:00.047) 0:00:16.625 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:11:27 +0000 (0:00:00.021) 0:00:16.647 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:11:27 +0000 (0:00:00.037) 0:00:16.685 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:11:27 +0000 (0:00:00.036) 0:00:16.722 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:11:27 +0000 (0:00:00.040) 0:00:16.762 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:11:27 +0000 (0:00:00.027) 0:00:16.790 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:11:27 +0000 (0:00:00.022) 0:00:16.812 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:11:27 +0000 (0:00:00.022) 0:00:16.834 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:11:28 +0000 (0:00:01.558) 0:00:18.393 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:11:29 +0000 (0:00:01.007) 0:00:19.400 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:11:29 +0000 (0:00:00.022) 0:00:19.423 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:11:29 +0000 (0:00:00.022) 0:00:19.446 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:11:29 +0000 (0:00:00.022) 0:00:19.468 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:11:29 +0000 (0:00:00.044) 0:00:19.513 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:11:29 +0000 (0:00:00.022) 0:00:19.535 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:11:29 +0000 (0:00:00.024) 0:00:19.560 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:11:29 +0000 (0:00:00.025) 0:00:19.586 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:11:30 +0000 (0:00:00.376) 0:00:19.962 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:11:30 +0000 (0:00:00.024) 0:00:19.987 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:11:30 +0000 (0:00:00.061) 0:00:20.048 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:11:30 +0000 (0:00:00.031) 0:00:20.079 ****** 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, 8a02d924-4b06-4db6-994c-6dd60a8ad69c TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:11:30 +0000 (0:00:00.457) 0:00:20.537 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:11:30 +0000 (0:00:00.021) 0:00:20.558 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8a02d924-4b06-4db6-994c-6dd60a8ad69c" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:11:30 +0000 (0:00:00.022) 0:00:20.581 ****** 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, 8a02d924-4b06-4db6-994c-6dd60a8ad69c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8a02d924-4b06-4db6-994c-6dd60a8ad69c" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:11:30 +0000 (0:00:00.023) 0:00:20.604 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:11:31 +0000 (0:00:00.021) 0:00:20.625 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:11:31 +0000 (0:00:00.206) 0:00:20.832 ****** 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, 8a02d924-4b06-4db6-994c-6dd60a8ad69c\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8a02d924-4b06-4db6-994c-6dd60a8ad69c" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:11:31 +0000 (0:00:00.025) 0:00:20.857 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:11:31 +0000 (0:00:00.041) 0:00:20.899 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:11:31 +0000 (0:00:00.042) 0:00:20.941 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:11:31 +0000 (0:00:00.040) 0:00:20.982 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:11:31 +0000 (0:00:00.044) 0:00:21.026 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:11:31 +0000 (0:00:00.045) 0:00:21.072 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:11:31 +0000 (0:00:00.022) 0:00:21.094 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:11:33 +0000 (0:00:01.538) 0:00:22.633 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:11:33 +0000 (0:00:00.976) 0:00:23.609 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:11:34 +0000 (0:00:00.024) 0:00:23.634 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:11:34 +0000 (0:00:00.045) 0:00:23.679 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:11:34 +0000 (0:00:00.045) 0:00:23.725 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:11:34 +0000 (0:00:00.044) 0:00:23.770 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:11:34 +0000 (0:00:00.029) 0:00:23.799 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:11:34 +0000 (0:00:00.020) 0:00:23.819 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:11:34 +0000 (0:00:00.026) 0:00:23.846 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:11:34 +0000 (0:00:00.375) 0:00:24.221 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:11:34 +0000 (0:00:00.026) 0:00:24.248 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:11:34 +0000 (0:00:00.022) 0:00:24.270 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:11:34 +0000 (0:00:00.020) 0:00:24.291 ****** 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, 8a02d924-4b06-4db6-994c-6dd60a8ad69c skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:11:35 +0000 (0:00:00.361) 0:00:24.653 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:11:35 +0000 (0:00:00.025) 0:00:24.678 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8a02d924-4b06-4db6-994c-6dd60a8ad69c skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:11:35 +0000 (0:00:00.023) 0:00:24.702 ****** 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, 8a02d924-4b06-4db6-994c-6dd60a8ad69c skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8a02d924-4b06-4db6-994c-6dd60a8ad69c skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:11:35 +0000 (0:00:00.024) 0:00:24.727 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:11:35 +0000 (0:00:00.021) 0:00:24.749 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:11:35 +0000 (0:00:00.210) 0:00:24.959 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:11:35 +0000 (0:00:00.044) 0:00:25.003 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:11:35 +0000 (0:00:00.035) 0:00:25.039 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707253890.8312294, "block_size": 4096, "blocks": 0, "ctime": 1707253890.8312294, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34274, "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": 1707253890.8312294, "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_rewritek552d4hx/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:11:35 +0000 (0:00:00.207) 0:00:25.246 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 21:11:35 +0000 (0:00:00.023) 0:00:25.270 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:11:35 +0000 (0:00:00.035) 0:00:25.306 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:11:35 +0000 (0:00:00.021) 0:00:25.327 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:11:35 +0000 (0:00:00.199) 0:00:25.526 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:11:35 +0000 (0:00:00.020) 0:00:25.547 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022451", "end": "2024-02-06 21:11:36.133142", "rc": 0, "start": "2024-02-06 21:11:36.110691" } 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.224) 0:00:25.772 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.023) 0:00:25.796 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.020) 0:00:25.817 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.045) 0:00:25.862 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.022) 0:00:25.885 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.023) 0:00:25.909 ****** 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_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.024) 0:00:25.933 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.023) 0:00:25.957 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.023) 0:00:25.980 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.020) 0:00:26.001 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.021) 0:00:26.022 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.038) 0:00:26.061 ****** 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.070909", "end": "2024-02-06 21:11:36.694958", "rc": 1, "start": "2024-02-06 21:11:36.624049" } STDOUT: Connection 'statebr' (8a02d924-4b06-4db6-994c-6dd60a8ad69c) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.273) 0:00:26.334 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.037) 0:00:26.371 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.023) 0:00:26.394 ****** 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_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.043) 0:00:26.438 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.109) 0:00:26.547 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:11:36 +0000 (0:00:00.036) 0:00:26.583 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003323", "end": "2024-02-06 21:11:37.151916", "rc": 0, "start": "2024-02-06 21:11:37.148593" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:11:37 +0000 (0:00:00.208) 0:00:26.792 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:11:37 +0000 (0:00:00.023) 0:00:26.816 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:11:37 +0000 (0:00:00.022) 0:00:26.839 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:11:37 +0000 (0:00:00.044) 0:00:26.883 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:11:37 +0000 (0:00:00.039) 0:00:26.922 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:11:37 +0000 (0:00:00.044) 0:00:26.967 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:11:37 +0000 (0:00:00.027) 0:00:26.994 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:11:37 +0000 (0:00:00.021) 0:00:27.016 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:11:37 +0000 (0:00:00.022) 0:00:27.038 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:11:38 +0000 (0:00:01.548) 0:00:28.587 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:11:39 +0000 (0:00:00.984) 0:00:29.572 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:11:39 +0000 (0:00:00.021) 0:00:29.593 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:11:40 +0000 (0:00:00.022) 0:00:29.616 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:11:40 +0000 (0:00:00.021) 0:00:29.637 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:11:40 +0000 (0:00:00.045) 0:00:29.683 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:11:40 +0000 (0:00:00.042) 0:00:29.725 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:11:40 +0000 (0:00:00.021) 0:00:29.747 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:11:40 +0000 (0:00:00.025) 0:00:29.772 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:11:40 +0000 (0:00:00.371) 0:00:30.144 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:11:40 +0000 (0:00:00.026) 0:00:30.171 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:11:40 +0000 (0:00:00.024) 0:00:30.195 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:11:40 +0000 (0:00:00.029) 0:00:30.224 ****** 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, 05e6ff9b-d7e1-4026-a253-65676020ebbd TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:11:41 +0000 (0:00:00.414) 0:00:30.639 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:11:41 +0000 (0:00:00.021) 0:00:30.661 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 05e6ff9b-d7e1-4026-a253-65676020ebbd" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:11:41 +0000 (0:00:00.022) 0:00:30.684 ****** 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, 05e6ff9b-d7e1-4026-a253-65676020ebbd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 05e6ff9b-d7e1-4026-a253-65676020ebbd" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:11:41 +0000 (0:00:00.022) 0:00:30.706 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:11:41 +0000 (0:00:00.020) 0:00:30.727 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:11:41 +0000 (0:00:00.198) 0:00:30.925 ****** 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, 05e6ff9b-d7e1-4026-a253-65676020ebbd\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 05e6ff9b-d7e1-4026-a253-65676020ebbd" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:11:41 +0000 (0:00:00.022) 0:00:30.948 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:11:41 +0000 (0:00:00.059) 0:00:31.007 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:11:41 +0000 (0:00:00.040) 0:00:31.048 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:11:41 +0000 (0:00:00.027) 0:00:31.076 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:11:41 +0000 (0:00:00.020) 0:00:31.096 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:11:41 +0000 (0:00:00.021) 0:00:31.118 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:11:43 +0000 (0:00:01.557) 0:00:32.675 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:11:44 +0000 (0:00:01.001) 0:00:33.677 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:11:44 +0000 (0:00:00.023) 0:00:33.700 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:11:44 +0000 (0:00:00.021) 0:00:33.721 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:11:44 +0000 (0:00:00.020) 0:00:33.741 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:11:44 +0000 (0:00:00.043) 0:00:33.785 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:11:44 +0000 (0:00:00.020) 0:00:33.805 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:11:44 +0000 (0:00:00.021) 0:00:33.826 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:11:44 +0000 (0:00:00.026) 0:00:33.853 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:11:44 +0000 (0:00:00.376) 0:00:34.229 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:11:44 +0000 (0:00:00.025) 0:00:34.255 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:11:44 +0000 (0:00:00.021) 0:00:34.277 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:11:44 +0000 (0:00:00.020) 0:00:34.297 ****** 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, 05e6ff9b-d7e1-4026-a253-65676020ebbd skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:11:45 +0000 (0:00:00.416) 0:00:34.714 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:11:45 +0000 (0:00:00.021) 0:00:34.736 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 05e6ff9b-d7e1-4026-a253-65676020ebbd skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:11:45 +0000 (0:00:00.023) 0:00:34.759 ****** 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, 05e6ff9b-d7e1-4026-a253-65676020ebbd skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 05e6ff9b-d7e1-4026-a253-65676020ebbd skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:11:45 +0000 (0:00:00.022) 0:00:34.781 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:11:45 +0000 (0:00:00.020) 0:00:34.802 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:11:45 +0000 (0:00:00.195) 0:00:34.998 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 21:11:45 +0000 (0:00:00.041) 0:00:35.039 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:11:45 +0000 (0:00:00.041) 0:00:35.081 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:11:45 +0000 (0:00:00.040) 0:00:35.121 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:11:45 +0000 (0:00:00.027) 0:00:35.148 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:11:45 +0000 (0:00:00.021) 0:00:35.169 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:11:45 +0000 (0:00:00.022) 0:00:35.192 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:11:47 +0000 (0:00:01.566) 0:00:36.758 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:11:48 +0000 (0:00:00.985) 0:00:37.744 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:11:48 +0000 (0:00:00.024) 0:00:37.768 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:11:48 +0000 (0:00:00.024) 0:00:37.792 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:11:48 +0000 (0:00:00.024) 0:00:37.817 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:11:48 +0000 (0:00:00.047) 0:00:37.864 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:11:48 +0000 (0:00:00.047) 0:00:37.912 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:11:48 +0000 (0:00:00.022) 0:00:37.934 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:11:48 +0000 (0:00:00.025) 0:00:37.960 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:11:48 +0000 (0:00:00.386) 0:00:38.347 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:11:48 +0000 (0:00:00.039) 0:00:38.386 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:11:48 +0000 (0:00:00.024) 0:00:38.410 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:11:48 +0000 (0:00:00.023) 0:00:38.433 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:11:49 +0000 (0:00:00.421) 0:00:38.855 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:11:49 +0000 (0:00:00.021) 0:00:38.876 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:11:49 +0000 (0:00:00.022) 0:00:38.899 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:11:49 +0000 (0:00:00.022) 0:00:38.922 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:11:49 +0000 (0:00:00.021) 0:00:38.943 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:11:49 +0000 (0:00:00.197) 0:00:39.141 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 21:11:49 +0000 (0:00:00.042) 0:00:39.184 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:11:49 +0000 (0:00:00.060) 0:00:39.245 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707253900.9452634, "block_size": 4096, "blocks": 0, "ctime": 1707253900.9452634, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34405, "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": 1707253900.9452634, "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_rewritek552d4hx/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 21:11:49 +0000 (0:00:00.205) 0:00:39.450 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 21:11:49 +0000 (0:00:00.025) 0:00:39.475 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:11:49 +0000 (0:00:00.037) 0:00:39.512 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:11:49 +0000 (0:00:00.021) 0:00:39.534 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.201) 0:00:39.735 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.022) 0:00:39.757 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023205", "end": "2024-02-06 21:11:50.344506", "rc": 1, "start": "2024-02-06 21:11:50.321301" } 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.225) 0:00:39.983 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.023) 0:00:40.006 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.021) 0:00:40.028 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.023) 0:00:40.052 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.022) 0:00:40.074 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.024) 0:00:40.098 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.062) 0:00:40.161 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.034) 0:00:40.196 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.030) 0:00:40.227 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.041) 0:00:40.268 ****** 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.067245", "end": "2024-02-06 21:11:50.900782", "rc": 1, "start": "2024-02-06 21:11:50.833537" } STDOUT: Connection 'statebr' (05e6ff9b-d7e1-4026-a253-65676020ebbd) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.271) 0:00:40.540 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.037) 0:00:40.577 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:11:50 +0000 (0:00:00.023) 0:00:40.600 ****** 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_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:11:51 +0000 (0:00:00.044) 0:00:40.645 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:11:51 +0000 (0:00:00.036) 0:00:40.681 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:11:51 +0000 (0:00:00.034) 0:00:40.715 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004978", "end": "2024-02-06 21:11:52.283985", "rc": 0, "start": "2024-02-06 21:11:51.279007" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:11:52 +0000 (0:00:01.207) 0:00:41.922 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:11:52 +0000 (0:00:00.023) 0:00:41.946 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:11:52 +0000 (0:00:00.024) 0:00:41.970 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:11:52 +0000 (0:00:00.045) 0:00:42.016 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:11:52 +0000 (0:00:00.037) 0:00:42.053 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:11:52 +0000 (0:00:00.047) 0:00:42.100 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:11:52 +0000 (0:00:00.062) 0:00:42.163 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:11:52 +0000 (0:00:00.027) 0:00:42.190 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:11:52 +0000 (0:00:00.049) 0:00:42.239 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:11:54 +0000 (0:00:01.544) 0:00:43.784 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:11:55 +0000 (0:00:00.983) 0:00:44.767 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:11:55 +0000 (0:00:00.023) 0:00:44.791 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:11:55 +0000 (0:00:00.022) 0:00:44.813 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:11:55 +0000 (0:00:00.029) 0:00:44.843 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:11:55 +0000 (0:00:00.046) 0:00:44.889 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:11:55 +0000 (0:00:00.022) 0:00:44.912 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:11:55 +0000 (0:00:00.047) 0:00:44.959 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:11:55 +0000 (0:00:00.027) 0:00:44.987 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:11:55 +0000 (0:00:00.370) 0:00:45.357 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:11:55 +0000 (0:00:00.024) 0:00:45.382 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:11:55 +0000 (0:00:00.020) 0:00:45.403 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:11:55 +0000 (0:00:00.023) 0:00:45.426 ****** 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, 400426ca-d6a6-472f-8ff3-7f8c98e80d55 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:11:56 +0000 (0:00:00.409) 0:00:45.835 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:11:56 +0000 (0:00:00.022) 0:00:45.857 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 400426ca-d6a6-472f-8ff3-7f8c98e80d55" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:11:56 +0000 (0:00:00.024) 0:00:45.882 ****** 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, 400426ca-d6a6-472f-8ff3-7f8c98e80d55\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 400426ca-d6a6-472f-8ff3-7f8c98e80d55" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:11:56 +0000 (0:00:00.023) 0:00:45.906 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:11:56 +0000 (0:00:00.022) 0:00:45.928 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:11:56 +0000 (0:00:00.196) 0:00:46.125 ****** 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, 400426ca-d6a6-472f-8ff3-7f8c98e80d55\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 400426ca-d6a6-472f-8ff3-7f8c98e80d55" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:11:56 +0000 (0:00:00.022) 0:00:46.147 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:11:56 +0000 (0:00:00.062) 0:00:46.210 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:11:56 +0000 (0:00:00.042) 0:00:46.252 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:11:56 +0000 (0:00:00.027) 0:00:46.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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:11:56 +0000 (0:00:00.021) 0:00:46.301 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:11:56 +0000 (0:00:00.022) 0:00:46.324 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:11:58 +0000 (0:00:01.537) 0:00:47.861 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:11:59 +0000 (0:00:00.997) 0:00:48.858 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:11:59 +0000 (0:00:00.023) 0:00:48.882 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:11:59 +0000 (0:00:00.021) 0:00:48.903 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:11:59 +0000 (0:00:00.021) 0:00:48.925 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:11:59 +0000 (0:00:00.043) 0:00:48.968 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:11:59 +0000 (0:00:00.022) 0:00:48.990 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:11:59 +0000 (0:00:00.021) 0:00:49.012 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:11:59 +0000 (0:00:00.023) 0:00:49.035 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:11:59 +0000 (0:00:00.367) 0:00:49.403 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:11:59 +0000 (0:00:00.026) 0:00:49.429 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:11:59 +0000 (0:00:00.040) 0:00:49.469 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:11:59 +0000 (0:00:00.025) 0:00:49.495 ****** 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, 400426ca-d6a6-472f-8ff3-7f8c98e80d55 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:00 +0000 (0:00:00.372) 0:00:49.868 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:00 +0000 (0:00:00.053) 0:00:49.921 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 400426ca-d6a6-472f-8ff3-7f8c98e80d55 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:00 +0000 (0:00:00.023) 0:00:49.945 ****** 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, 400426ca-d6a6-472f-8ff3-7f8c98e80d55 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 400426ca-d6a6-472f-8ff3-7f8c98e80d55 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:00 +0000 (0:00:00.023) 0:00:49.968 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:00 +0000 (0:00:00.021) 0:00:49.990 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 21:12:00 +0000 (0:00:00.204) 0:00:50.194 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:00 +0000 (0:00:00.045) 0:00:50.240 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:00 +0000 (0:00:00.046) 0:00:50.286 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:00 +0000 (0:00:00.049) 0:00:50.335 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:00 +0000 (0:00:00.022) 0:00:50.358 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:00 +0000 (0:00:00.023) 0:00:50.381 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:02 +0000 (0:00:01.545) 0:00:51.927 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:03 +0000 (0:00:00.977) 0:00:52.905 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:03 +0000 (0:00:00.021) 0:00:52.927 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:03 +0000 (0:00:00.021) 0:00:52.948 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:03 +0000 (0:00:00.020) 0:00:52.969 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:03 +0000 (0:00:00.045) 0:00:53.014 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:03 +0000 (0:00:00.022) 0:00:53.037 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:03 +0000 (0:00:00.020) 0:00:53.058 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:03 +0000 (0:00:00.024) 0:00:53.082 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:03 +0000 (0:00:00.395) 0:00:53.478 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:03 +0000 (0:00:00.027) 0:00:53.506 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:03 +0000 (0:00:00.022) 0:00:53.528 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:03 +0000 (0:00:00.023) 0:00:53.551 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:04 +0000 (0:00:00.394) 0:00:53.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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:04 +0000 (0:00:00.022) 0:00:53.968 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:04 +0000 (0:00:00.023) 0:00:53.992 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:04 +0000 (0:00:00.024) 0:00:54.017 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:04 +0000 (0:00:00.023) 0:00:54.040 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:12:04 +0000 (0:00:00.200) 0:00:54.241 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 21:12:04 +0000 (0:00:00.041) 0:00:54.282 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:04 +0000 (0:00:00.041) 0:00:54.323 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:04 +0000 (0:00:00.066) 0:00:54.390 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:04 +0000 (0:00:00.026) 0:00:54.416 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:04 +0000 (0:00:00.021) 0:00:54.438 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:04 +0000 (0:00:00.022) 0:00:54.461 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:06 +0000 (0:00:01.545) 0:00:56.006 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:07 +0000 (0:00:01.001) 0:00:57.008 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.023) 0:00:57.031 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.020) 0:00:57.051 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.022) 0:00:57.073 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.044) 0:00:57.118 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.022) 0:00:57.140 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.023) 0:00:57.164 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.025) 0:00:57.190 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.370) 0:00:57.560 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.026) 0:00:57.587 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:07 +0000 (0:00:00.022) 0:00:57.609 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.022) 0:00:57.631 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.461) 0:00:58.093 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.021) 0:00:58.115 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.022) 0:00:58.138 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.051) 0:00:58.189 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.022) 0:00:58.212 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.200) 0:00:58.412 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.046) 0:00:58.459 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.053) 0:00:58.512 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:12:08 +0000 (0:00:00.027) 0:00:58.540 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.243) 0:00:58.783 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.020) 0:00:58.804 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020745", "end": "2024-02-06 21:12:09.389691", "rc": 1, "start": "2024-02-06 21:12:09.368946" } 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.223) 0:00:59.028 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.024) 0:00:59.053 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.022) 0:00:59.075 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.025) 0:00:59.100 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.023) 0:00:59.124 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.062) 0:00:59.187 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.027) 0:00:59.214 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.043) 0:00:59.257 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.035) 0:00:59.292 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.203) 0:00:59.496 ****** 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_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.027) 0:00:59.523 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.023) 0:00:59.547 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:12:09 +0000 (0:00:00.042) 0:00:59.590 ****** 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.042456", "end": "2024-02-06 21:12:10.196860", "rc": 1, "start": "2024-02-06 21:12:10.154404" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.245) 0:00:59.835 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.036) 0:00:59.871 ****** 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_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.022) 0:00:59.894 ****** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.043) 0:00:59.938 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.066) 0:01:00.004 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.039) 0:01:00.044 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003321", "end": "2024-02-06 21:12:10.608230", "rc": 0, "start": "2024-02-06 21:12:10.604909" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.203) 0:01:00.247 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.025) 0:01:00.273 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.022) 0:01:00.295 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.044) 0:01:00.339 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.036) 0:01:00.376 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.040) 0:01:00.417 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.028) 0:01:00.445 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.034) 0:01:00.479 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:10 +0000 (0:00:00.037) 0:01:00.517 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:12 +0000 (0:00:01.549) 0:01:02.066 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.987) 0:01:03.053 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.026) 0:01:03.079 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.035) 0:01:03.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.025) 0:01:03.140 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.067) 0:01:03.208 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.021) 0:01:03.230 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.022) 0:01:03.252 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:13 +0000 (0:00:00.026) 0:01:03.278 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.369) 0:01:03.648 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.026) 0:01:03.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 : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.022) 0:01:03.698 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.024) 0:01:03.723 ****** 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, 8eace892-574c-44e4-aebe-c2821449a5eb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.414) 0:01:04.137 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.021) 0:01:04.158 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8eace892-574c-44e4-aebe-c2821449a5eb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.023) 0:01:04.181 ****** 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, 8eace892-574c-44e4-aebe-c2821449a5eb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8eace892-574c-44e4-aebe-c2821449a5eb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.022) 0:01:04.204 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.021) 0:01:04.226 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.197) 0:01:04.423 ****** 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, 8eace892-574c-44e4-aebe-c2821449a5eb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8eace892-574c-44e4-aebe-c2821449a5eb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.049) 0:01:04.473 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.036) 0:01:04.509 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.040) 0:01:04.549 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.031) 0:01:04.580 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:14 +0000 (0:00:00.023) 0:01:04.604 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:15 +0000 (0:00:00.021) 0:01:04.626 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:16 +0000 (0:00:01.547) 0:01:06.173 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:17 +0000 (0:00:01.005) 0:01:07.178 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.022) 0:01:07.201 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.021) 0:01:07.222 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.021) 0:01:07.243 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.043) 0:01:07.287 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.022) 0:01:07.309 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.022) 0:01:07.331 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:17 +0000 (0:00:00.023) 0:01:07.355 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.374) 0:01:07.730 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.025) 0:01:07.755 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.023) 0:01:07.778 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.023) 0:01:07.802 ****** 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, 8eace892-574c-44e4-aebe-c2821449a5eb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.395) 0:01:08.198 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.027) 0:01:08.226 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8eace892-574c-44e4-aebe-c2821449a5eb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.024) 0:01:08.250 ****** 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, 8eace892-574c-44e4-aebe-c2821449a5eb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 8eace892-574c-44e4-aebe-c2821449a5eb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.023) 0:01:08.274 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.021) 0:01:08.296 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.198) 0:01:08.494 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.036) 0:01:08.531 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.040) 0:01:08.571 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:18 +0000 (0:00:00.027) 0:01:08.599 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:19 +0000 (0:00:00.021) 0:01:08.621 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:19 +0000 (0:00:00.021) 0:01:08.643 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:20 +0000 (0:00:01.542) 0:01:10.185 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.980) 0:01:11.165 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.023) 0:01:11.189 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.021) 0:01:11.210 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.020) 0:01:11.231 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.043) 0:01:11.275 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.021) 0:01:11.296 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.043) 0:01:11.340 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:21 +0000 (0:00:00.025) 0:01:11.365 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.370) 0:01:11.735 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.025) 0:01:11.761 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.020) 0:01:11.782 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.021) 0:01:11.803 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.451) 0:01:12.254 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.022) 0:01:12.276 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.025) 0:01:12.301 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.025) 0:01:12.327 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.022) 0:01:12.349 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.197) 0:01:12.547 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 21:12:22 +0000 (0:00:00.041) 0:01:12.589 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 21:12:23 +0000 (0:00:00.062) 0:01:12.651 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 21:12:23 +0000 (0:00:00.040) 0:01:12.691 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 21:12:23 +0000 (0:00:00.033) 0:01:12.725 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 21:12:23 +0000 (0:00:00.023) 0:01:12.749 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 21:12:23 +0000 (0:00:00.028) 0:01:12.777 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 21:12:24 +0000 (0:00:01.556) 0:01:14.333 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 21:12:25 +0000 (0:00:01.007) 0:01:15.340 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.024) 0:01:15.365 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.020) 0:01:15.385 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.021) 0:01:15.407 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.044) 0:01:15.452 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.021) 0:01:15.473 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.021) 0:01:15.495 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 21:12:25 +0000 (0:00:00.023) 0:01:15.518 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.371) 0:01:15.889 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.025) 0:01:15.914 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.020) 0:01:15.935 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.020) 0:01:15.956 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.414) 0:01:16.370 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.022) 0:01:16.393 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.022) 0:01:16.416 ****** 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_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.023) 0:01:16.439 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 21:12:26 +0000 (0:00:00.021) 0:01:16.460 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.196) 0:01:16.657 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.044) 0:01:16.701 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.037) 0:01:16.739 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.022) 0:01:16.761 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.206) 0:01:16.968 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.022) 0:01:16.991 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021654", "end": "2024-02-06 21:12:27.579796", "rc": 1, "start": "2024-02-06 21:12:27.558142" } 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.228) 0:01:17.220 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.023) 0:01:17.243 ****** 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_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.054) 0:01:17.298 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.023) 0:01:17.321 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.025) 0:01:17.347 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.024) 0:01:17.371 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 21:12:27 +0000 (0:00:00.024) 0:01:17.396 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.610246", "end": "2024-02-06 21:12:28.568637", "rc": 0, "start": "2024-02-06 21:12:27.958391" } STDOUT: NetworkManager-1.45.10-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 21:12:28 +0000 (0:00:00.811) 0:01:18.208 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.10-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 21:12:28 +0000 (0:00:00.022) 0:01:18.230 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.10-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 21:12:28 +0000 (0:00:00.021) 0:01:18.252 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 21:12:28 +0000 (0:00:00.044) 0:01:18.297 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 21:12:28 +0000 (0:00:00.048) 0:01:18.345 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 21:12:28 +0000 (0:00:00.218) 0:01:18.564 ****** 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_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 21:12:29 +0000 (0:00:00.058) 0:01:18.623 ****** 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_rewritek552d4hx/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 21:12:29 +0000 (0:00:00.023) 0:01:18.646 ****** included: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritek552d4hx/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 21:12:29 +0000 (0:00:00.042) 0:01:18.689 ****** 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.042443", "end": "2024-02-06 21:12:29.294597", "rc": 1, "start": "2024-02-06 21:12:29.252154" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Tuesday 06 February 2024 21:12:29 +0000 (0:00:00.231) 0:01:18.921 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.28s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.99s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.64s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.55s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.49s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.33s /WORKDIR/git-bond_options_rewritek552d4hx/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---