# 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_rewrite_8cztfey/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_rewrite_8cztfey/tests/tests_states_nm.yml:6 Tuesday 06 February 2024 16:31:55 +0000 (0:00:00.011) 0:00:00.011 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tests_states_nm.yml:9 Tuesday 06 February 2024 16:31:56 +0000 (0:00:00.963) 0:00:00.974 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 16:31:56 +0000 (0:00:00.021) 0:00:00.996 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.559) 0:00:01.556 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.282) 0:00:01.838 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.019) 0:00:01.857 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.016) 0:00:01.874 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.030) 0:00:01.904 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.008) 0:00:01.913 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.008) 0:00:01.921 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.008) 0:00:01.930 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.008) 0:00:01.938 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/tests_states_nm.yml:11 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.008) 0:00:01.946 ****** 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_rewrite_8cztfey/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 16:31:57 +0000 (0:00:00.009) 0:00:01.955 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 16:31:58 +0000 (0:00:00.842) 0:00:02.797 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 16:31:58 +0000 (0:00:00.017) 0:00:02.815 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 16:31:58 +0000 (0:00:00.020) 0:00:02.835 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 16:31:58 +0000 (0:00:00.010) 0:00:02.846 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 16:31:58 +0000 (0:00:00.033) 0:00:02.880 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:31:58 +0000 (0:00:00.013) 0:00:02.894 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:31:58 +0000 (0:00:00.017) 0:00:02.911 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003998", "end": "2024-02-06 16:31:58.769323", "rc": 0, "start": "2024-02-06 16:31:58.765325" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:31:58 +0000 (0:00:00.267) 0:00:03.178 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:31:58 +0000 (0:00:00.012) 0:00:03.191 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 16:31:58 +0000 (0:00:00.011) 0:00:03.202 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 16:31:58 +0000 (0:00:00.020) 0:00:03.223 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.009325", "end": "2024-02-06 16:31:59.041319", "rc": 1, "start": "2024-02-06 16:31:59.031994" } 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_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 16:31:59 +0000 (0:00:00.227) 0:00:03.450 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:31:59 +0000 (0:00:00.013) 0:00:03.464 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 16:31:59 +0000 (0:00:00.218) 0:00:03.683 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 16:31:59 +0000 (0:00:00.012) 0:00:03.695 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 16:31:59 +0000 (0:00:00.017) 0:00:03.712 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:31:59 +0000 (0:00:00.031) 0:00:03.744 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:31:59 +0000 (0:00:00.067) 0:00:03.811 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:31:59 +0000 (0:00:00.012) 0:00:03.823 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:31:59 +0000 (0:00:00.009) 0:00:03.833 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:31:59 +0000 (0:00:00.009) 0:00:03.842 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:32:02 +0000 (0:00:02.561) 0:00:06.403 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:32:03 +0000 (0:00:01.117) 0:00:07.521 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.024) 0:00:07.546 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.028) 0:00:07.575 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.022) 0:00:07.597 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.067) 0:00:07.665 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.027) 0:00:07.692 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.026) 0:00:07.719 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:32:03 +0000 (0:00:00.027) 0:00:07.746 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.778) 0:00:08.525 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.026) 0:00:08.551 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.021) 0:00:08.573 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.021) 0:00:08.594 ****** 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, fcc72638-f867-427f-abb3-585a21c73780 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.558) 0:00:09.153 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.022) 0:00:09.176 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcc72638-f867-427f-abb3-585a21c73780" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.024) 0:00:09.200 ****** 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, fcc72638-f867-427f-abb3-585a21c73780\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcc72638-f867-427f-abb3-585a21c73780" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.025) 0:00:09.225 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:32:04 +0000 (0:00:00.022) 0:00:09.248 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 16:32:05 +0000 (0:00:00.334) 0:00:09.582 ****** 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, fcc72638-f867-427f-abb3-585a21c73780\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fcc72638-f867-427f-abb3-585a21c73780" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 16:32:05 +0000 (0:00:00.024) 0:00:09.606 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 16:32:05 +0000 (0:00:00.062) 0:00:09.668 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:32:05 +0000 (0:00:00.041) 0:00:09.709 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:32:05 +0000 (0:00:00.029) 0:00:09.739 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:32:05 +0000 (0:00:00.227) 0:00:09.967 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:32:05 +0000 (0:00:00.022) 0:00:09.989 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.024485", "end": "2024-02-06 16:32:05.824946", "rc": 0, "start": "2024-02-06 16:32:05.800461" } 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:32:05 +0000 (0:00:00.272) 0:00:10.261 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": true, "lsr_net_profile_exists": true, "lsr_net_profile_fingerprint": true }, "changed": false } TASK [Get the ansible_managed comment in ifcfg-statebr] ************************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:32:05 +0000 (0:00:00.049) 0:00:10.311 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:32:05 +0000 (0:00:00.024) 0:00:10.336 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:32:05 +0000 (0:00:00.030) 0:00:10.367 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.031) 0:00:10.398 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.042) 0:00:10.440 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.026) 0:00:10.467 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.032) 0:00:10.499 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.027) 0:00:10.527 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.092) 0:00:10.619 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.042) 0:00:10.661 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707237124.675463, "block_size": 4096, "blocks": 0, "ctime": 1707237124.675463, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34872, "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": 1707237124.675463, "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_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.277) 0:00:10.939 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.045) 0:00:10.984 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.027) 0:00:11.011 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.043) 0:00:11.054 ****** 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.068211", "end": "2024-02-06 16:32:06.934413", "rc": 1, "start": "2024-02-06 16:32:06.866202" } STDOUT: Connection 'statebr' (fcc72638-f867-427f-abb3-585a21c73780) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 16:32:06 +0000 (0:00:00.300) 0:00:11.355 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.051) 0:00:11.406 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.027) 0:00:11.434 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.046) 0:00:11.481 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.098) 0:00:11.579 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.048) 0:00:11.627 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004142", "end": "2024-02-06 16:32:07.440511", "rc": 0, "start": "2024-02-06 16:32:07.436369" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.241) 0:00:11.869 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.027) 0:00:11.897 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.029) 0:00:11.926 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.052) 0:00:11.978 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007287", "end": "2024-02-06 16:32:07.809554", "rc": 1, "start": "2024-02-06 16:32:07.802267" } 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_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.252) 0:00:12.231 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:32:07 +0000 (0:00:00.038) 0:00:12.269 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.229) 0:00:12.499 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.025) 0:00:12.525 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.063) 0:00:12.588 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.043) 0:00:12.632 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.051) 0:00:12.683 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.064) 0:00:12.748 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.023) 0:00:12.771 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:32:08 +0000 (0:00:00.022) 0:00:12.794 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:32:10 +0000 (0:00:02.468) 0:00:15.262 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:32:11 +0000 (0:00:00.981) 0:00:16.243 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:32:11 +0000 (0:00:00.022) 0:00:16.266 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:32:11 +0000 (0:00:00.026) 0:00:16.293 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:32:11 +0000 (0:00:00.023) 0:00:16.316 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:32:11 +0000 (0:00:00.047) 0:00:16.363 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:32:11 +0000 (0:00:00.021) 0:00:16.385 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:32:12 +0000 (0:00:00.020) 0:00:16.406 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:32:12 +0000 (0:00:00.047) 0:00:16.453 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:32:12 +0000 (0:00:00.623) 0:00:17.077 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:32:12 +0000 (0:00:00.030) 0:00:17.107 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:32:12 +0000 (0:00:00.034) 0:00:17.142 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:32:12 +0000 (0:00:00.045) 0:00:17.187 ****** 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, 05b28a3b-22c3-4810-a9c4-123a7d99c062 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:32:13 +0000 (0:00:00.425) 0:00:17.613 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:32:13 +0000 (0:00:00.022) 0:00:17.636 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 05b28a3b-22c3-4810-a9c4-123a7d99c062" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:32:13 +0000 (0:00:00.023) 0:00:17.660 ****** 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, 05b28a3b-22c3-4810-a9c4-123a7d99c062\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 05b28a3b-22c3-4810-a9c4-123a7d99c062" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:32:13 +0000 (0:00:00.024) 0:00:17.684 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:32:13 +0000 (0:00:00.022) 0:00:17.707 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 16:32:13 +0000 (0:00:00.257) 0:00:17.965 ****** 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, 05b28a3b-22c3-4810-a9c4-123a7d99c062\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 05b28a3b-22c3-4810-a9c4-123a7d99c062" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 16:32:13 +0000 (0:00:00.058) 0:00:18.024 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 16:32:13 +0000 (0:00:00.109) 0:00:18.133 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:32:13 +0000 (0:00:00.071) 0:00:18.204 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 16:32:14 +0000 (0:00:00.360) 0:00:18.565 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 16:32:14 +0000 (0:00:00.103) 0:00:18.668 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:32:14 +0000 (0:00:00.067) 0:00:18.736 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:32:14 +0000 (0:00:00.055) 0:00:18.791 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:32:14 +0000 (0:00:00.237) 0:00:19.029 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:32:14 +0000 (0:00:00.064) 0:00:19.094 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023435", "end": "2024-02-06 16:32:14.935796", "rc": 0, "start": "2024-02-06 16:32:14.912361" } 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:32:14 +0000 (0:00:00.265) 0:00:19.359 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.027) 0:00:19.387 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.024) 0:00:19.412 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.076) 0:00:19.488 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.025) 0:00:19.513 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.024) 0:00:19.537 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.029) 0:00:19.567 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.025) 0:00:19.592 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.022) 0:00:19.615 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.020) 0:00:19.635 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.022) 0:00:19.658 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.041) 0:00:19.700 ****** 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.046518", "end": "2024-02-06 16:32:15.556552", "rc": 1, "start": "2024-02-06 16:32:15.510034" } STDOUT: Connection 'statebr' (05b28a3b-22c3-4810-a9c4-123a7d99c062) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.277) 0:00:19.977 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.037) 0:00:20.014 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.023) 0:00:20.038 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.076) 0:00:20.115 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.037) 0:00:20.152 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:32:15 +0000 (0:00:00.036) 0:00:20.188 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004066", "end": "2024-02-06 16:32:16.000170", "rc": 0, "start": "2024-02-06 16:32:15.996104" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:32:16 +0000 (0:00:00.234) 0:00:20.423 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:32:16 +0000 (0:00:00.023) 0:00:20.446 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 16:32:16 +0000 (0:00:00.024) 0:00:20.470 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 16:32:16 +0000 (0:00:00.040) 0:00:20.511 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:32:16 +0000 (0:00:00.039) 0:00:20.551 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:32:16 +0000 (0:00:00.040) 0:00:20.592 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:32:16 +0000 (0:00:00.026) 0:00:20.619 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:32:16 +0000 (0:00:00.044) 0:00:20.663 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:32:16 +0000 (0:00:00.022) 0:00:20.686 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:32:18 +0000 (0:00:02.460) 0:00:23.146 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:32:19 +0000 (0:00:00.998) 0:00:24.145 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:32:19 +0000 (0:00:00.025) 0:00:24.171 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:32:19 +0000 (0:00:00.027) 0:00:24.199 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:32:19 +0000 (0:00:00.024) 0:00:24.223 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:32:19 +0000 (0:00:00.057) 0:00:24.280 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:32:19 +0000 (0:00:00.029) 0:00:24.310 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:32:19 +0000 (0:00:00.022) 0:00:24.332 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:32:19 +0000 (0:00:00.025) 0:00:24.358 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:32:20 +0000 (0:00:00.603) 0:00:24.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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:32:20 +0000 (0:00:00.025) 0:00:24.988 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:32:20 +0000 (0:00:00.021) 0:00:25.009 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:32:20 +0000 (0:00:00.022) 0:00:25.031 ****** 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, 2ff2ba0e-de9d-4b0e-a779-3703801a3a86 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:32:21 +0000 (0:00:00.462) 0:00:25.493 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:32:21 +0000 (0:00:00.056) 0:00:25.550 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2ff2ba0e-de9d-4b0e-a779-3703801a3a86" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:32:21 +0000 (0:00:00.025) 0:00:25.576 ****** 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, 2ff2ba0e-de9d-4b0e-a779-3703801a3a86\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2ff2ba0e-de9d-4b0e-a779-3703801a3a86" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:32:21 +0000 (0:00:00.026) 0:00:25.602 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:32:21 +0000 (0:00:00.022) 0:00:25.625 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 16:32:21 +0000 (0:00:00.225) 0:00:25.850 ****** 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, 2ff2ba0e-de9d-4b0e-a779-3703801a3a86\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 2ff2ba0e-de9d-4b0e-a779-3703801a3a86" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 16:32:21 +0000 (0:00:00.024) 0:00:25.874 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 16:32:21 +0000 (0:00:00.040) 0:00:25.915 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:32:21 +0000 (0:00:00.041) 0:00:25.956 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:32:21 +0000 (0:00:00.040) 0:00:25.997 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:32:21 +0000 (0:00:00.030) 0:00:26.028 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:32:21 +0000 (0:00:00.022) 0:00:26.051 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:32:21 +0000 (0:00:00.022) 0:00:26.073 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:32:24 +0000 (0:00:02.473) 0:00:28.546 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:32:25 +0000 (0:00:01.006) 0:00:29.553 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:32:25 +0000 (0:00:00.024) 0:00:29.577 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:32:25 +0000 (0:00:00.023) 0:00:29.601 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:32:25 +0000 (0:00:00.022) 0:00:29.623 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:32:25 +0000 (0:00:00.043) 0:00:29.667 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:32:25 +0000 (0:00:00.022) 0:00:29.690 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:32:25 +0000 (0:00:00.021) 0:00:29.712 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:32:25 +0000 (0:00:00.024) 0:00:29.736 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:32:25 +0000 (0:00:00.611) 0:00:30.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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:32:25 +0000 (0:00:00.026) 0:00:30.373 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:32:26 +0000 (0:00:00.021) 0:00:30.395 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:32:26 +0000 (0:00:00.022) 0:00:30.417 ****** 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, 2ff2ba0e-de9d-4b0e-a779-3703801a3a86 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:32:26 +0000 (0:00:00.456) 0:00:30.874 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:32:26 +0000 (0:00:00.022) 0:00:30.897 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2ff2ba0e-de9d-4b0e-a779-3703801a3a86 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:32:26 +0000 (0:00:00.024) 0:00:30.921 ****** 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, 2ff2ba0e-de9d-4b0e-a779-3703801a3a86 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 2ff2ba0e-de9d-4b0e-a779-3703801a3a86 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:32:26 +0000 (0:00:00.024) 0:00:30.945 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:32:26 +0000 (0:00:00.021) 0:00:30.967 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 16:32:26 +0000 (0:00:00.226) 0:00:31.194 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:32:26 +0000 (0:00:00.054) 0:00:31.248 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:32:26 +0000 (0:00:00.055) 0:00:31.303 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707237141.0078843, "block_size": 4096, "blocks": 0, "ctime": 1707237141.0078843, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35003, "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": 1707237141.0078843, "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_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.237) 0:00:31.540 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.023) 0:00:31.564 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.038) 0:00:31.602 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.021) 0:00:31.624 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.226) 0:00:31.850 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.021) 0:00:31.872 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023923", "end": "2024-02-06 16:32:27.708508", "rc": 0, "start": "2024-02-06 16:32:27.684585" } 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.257) 0:00:32.130 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.025) 0:00:32.155 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.023) 0:00:32.179 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.023) 0:00:32.202 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.022) 0:00:32.224 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.022) 0:00:32.247 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.023) 0:00:32.271 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.023) 0:00:32.294 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.023) 0:00:32.317 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.021) 0:00:32.339 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 16:32:27 +0000 (0:00:00.022) 0:00:32.361 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 16:32:28 +0000 (0:00:00.066) 0:00:32.427 ****** 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.072986", "end": "2024-02-06 16:32:28.320817", "rc": 1, "start": "2024-02-06 16:32:28.247831" } STDOUT: Connection 'statebr' (2ff2ba0e-de9d-4b0e-a779-3703801a3a86) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 16:32:28 +0000 (0:00:00.314) 0:00:32.742 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 16:32:28 +0000 (0:00:00.039) 0:00:32.781 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 16:32:28 +0000 (0:00:00.026) 0:00:32.807 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 16:32:28 +0000 (0:00:00.044) 0:00:32.852 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:32:28 +0000 (0:00:00.037) 0:00:32.889 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:32:28 +0000 (0:00:00.034) 0:00:32.923 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004052", "end": "2024-02-06 16:32:28.739566", "rc": 0, "start": "2024-02-06 16:32:28.735514" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:32:28 +0000 (0:00:00.238) 0:00:33.162 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:32:28 +0000 (0:00:00.024) 0:00:33.186 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 16:32:28 +0000 (0:00:00.022) 0:00:33.208 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 16:32:28 +0000 (0:00:00.066) 0:00:33.274 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:32:28 +0000 (0:00:00.038) 0:00:33.313 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:32:28 +0000 (0:00:00.042) 0:00:33.356 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:32:28 +0000 (0:00:00.026) 0:00:33.383 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:32:29 +0000 (0:00:00.021) 0:00:33.405 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:32:29 +0000 (0:00:00.021) 0:00:33.426 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:32:31 +0000 (0:00:02.496) 0:00:35.923 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:32:32 +0000 (0:00:00.991) 0:00:36.914 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:32:32 +0000 (0:00:00.036) 0:00:36.950 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:32:32 +0000 (0:00:00.030) 0:00:36.981 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:32:32 +0000 (0:00:00.025) 0:00:37.006 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:32:32 +0000 (0:00:00.047) 0:00:37.053 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:32:32 +0000 (0:00:00.024) 0:00:37.078 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:32:32 +0000 (0:00:00.029) 0:00:37.108 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:32:32 +0000 (0:00:00.028) 0:00:37.136 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:32:33 +0000 (0:00:00.612) 0:00:37.748 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:32:33 +0000 (0:00:00.030) 0:00:37.779 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:32:33 +0000 (0:00:00.024) 0:00:37.804 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:32:33 +0000 (0:00:00.025) 0:00:37.829 ****** 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, 829d8051-80a1-47b7-b4d3-d145dde36a8f TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:32:33 +0000 (0:00:00.455) 0:00:38.285 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:32:33 +0000 (0:00:00.023) 0:00:38.308 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 829d8051-80a1-47b7-b4d3-d145dde36a8f" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:32:33 +0000 (0:00:00.024) 0:00:38.333 ****** 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, 829d8051-80a1-47b7-b4d3-d145dde36a8f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 829d8051-80a1-47b7-b4d3-d145dde36a8f" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:32:33 +0000 (0:00:00.025) 0:00:38.358 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:32:33 +0000 (0:00:00.023) 0:00:38.381 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 16:32:34 +0000 (0:00:00.225) 0:00:38.607 ****** 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, 829d8051-80a1-47b7-b4d3-d145dde36a8f\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 829d8051-80a1-47b7-b4d3-d145dde36a8f" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 16:32:34 +0000 (0:00:00.025) 0:00:38.633 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:32:34 +0000 (0:00:00.066) 0:00:38.699 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:32:34 +0000 (0:00:00.042) 0:00:38.741 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:32:34 +0000 (0:00:00.029) 0:00:38.770 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:32:34 +0000 (0:00:00.022) 0:00:38.792 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:32:34 +0000 (0:00:00.021) 0:00:38.813 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:32:36 +0000 (0:00:02.541) 0:00:41.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:32:37 +0000 (0:00:00.982) 0:00:42.338 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:32:37 +0000 (0:00:00.024) 0:00:42.362 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:32:37 +0000 (0:00:00.022) 0:00:42.385 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:32:38 +0000 (0:00:00.024) 0:00:42.409 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:32:38 +0000 (0:00:00.047) 0:00:42.457 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:32:38 +0000 (0:00:00.024) 0:00:42.481 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:32:38 +0000 (0:00:00.025) 0:00:42.507 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:32:38 +0000 (0:00:00.025) 0:00:42.533 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:32:38 +0000 (0:00:00.609) 0:00:43.143 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:32:38 +0000 (0:00:00.027) 0:00:43.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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:32:38 +0000 (0:00:00.022) 0:00:43.193 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:32:38 +0000 (0:00:00.022) 0:00:43.215 ****** 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, 829d8051-80a1-47b7-b4d3-d145dde36a8f skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:32:39 +0000 (0:00:00.400) 0:00:43.616 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:32:39 +0000 (0:00:00.041) 0:00:43.657 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 829d8051-80a1-47b7-b4d3-d145dde36a8f skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:32:39 +0000 (0:00:00.032) 0:00:43.689 ****** 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, 829d8051-80a1-47b7-b4d3-d145dde36a8f skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 829d8051-80a1-47b7-b4d3-d145dde36a8f skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:32:39 +0000 (0:00:00.027) 0:00:43.717 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:32:39 +0000 (0:00:00.039) 0:00:43.756 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 16:32:39 +0000 (0:00:00.230) 0:00:43.987 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 16:32:39 +0000 (0:00:00.050) 0:00:44.038 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:32:39 +0000 (0:00:00.071) 0:00:44.109 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:32:39 +0000 (0:00:00.044) 0:00:44.154 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:32:39 +0000 (0:00:00.040) 0:00:44.195 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:32:39 +0000 (0:00:00.030) 0:00:44.226 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:32:39 +0000 (0:00:00.025) 0:00:44.251 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:32:42 +0000 (0:00:02.537) 0:00:46.789 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:32:43 +0000 (0:00:01.017) 0:00:47.807 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:32:43 +0000 (0:00:00.029) 0:00:47.836 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:32:43 +0000 (0:00:00.023) 0:00:47.860 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:32:43 +0000 (0:00:00.025) 0:00:47.885 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:32:43 +0000 (0:00:00.050) 0:00:47.936 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:32:43 +0000 (0:00:00.048) 0:00:47.985 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:32:43 +0000 (0:00:00.038) 0:00:48.023 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:32:43 +0000 (0:00:00.063) 0:00:48.087 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:32:44 +0000 (0:00:00.641) 0:00:48.729 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:32:44 +0000 (0:00:00.026) 0:00:48.756 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:32:44 +0000 (0:00:00.024) 0:00:48.780 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:32:44 +0000 (0:00:00.055) 0:00:48.836 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:32:44 +0000 (0:00:00.492) 0:00:49.328 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:32:44 +0000 (0:00:00.025) 0:00:49.354 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:32:44 +0000 (0:00:00.029) 0:00:49.384 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:32:45 +0000 (0:00:00.038) 0:00:49.422 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:32:45 +0000 (0:00:00.024) 0:00:49.447 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 16:32:45 +0000 (0:00:00.231) 0:00:49.679 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 16:32:45 +0000 (0:00:00.065) 0:00:49.744 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:32:45 +0000 (0:00:00.041) 0:00:49.786 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707237153.810119, "block_size": 4096, "blocks": 0, "ctime": 1707237153.810119, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 35134, "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": 1707237153.810119, "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_rewrite_8cztfey/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 16:32:45 +0000 (0:00:00.234) 0:00:50.021 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 16:32:45 +0000 (0:00:00.026) 0:00:50.047 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:32:45 +0000 (0:00:00.038) 0:00:50.086 ****** ok: [sut] => { "ansible_facts": { "lsr_net_profile_ansible_managed": false, "lsr_net_profile_exists": false, "lsr_net_profile_fingerprint": false }, "changed": false } TASK [Stat profile file] ******************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:32:45 +0000 (0:00:00.023) 0:00:50.109 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:32:45 +0000 (0:00:00.232) 0:00:50.342 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:32:45 +0000 (0:00:00.021) 0:00:50.364 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023652", "end": "2024-02-06 16:32:46.196401", "rc": 1, "start": "2024-02-06 16:32:46.172749" } 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.253) 0:00:50.617 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.025) 0:00:50.643 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.024) 0:00:50.667 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.022) 0:00:50.690 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.022) 0:00:50.713 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.022) 0:00:50.735 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.024) 0:00:50.760 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.048) 0:00:50.808 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.024) 0:00:50.833 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.043) 0:00:50.876 ****** ok: [sut] => { "changed": false, "cmd": "nmcli con delete statebr\nnmcli con load /etc/sysconfig/network-scripts/ifcfg-statebr\nrm -f /etc/sysconfig/network-scripts/ifcfg-statebr\nip link del statebr\n", "delta": "0:00:00.074951", "end": "2024-02-06 16:32:46.760253", "rc": 0, "start": "2024-02-06 16:32:46.685302" } STDOUT: Connection 'statebr' (829d8051-80a1-47b7-b4d3-d145dde36a8f) successfully deleted. STDERR: Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.318) 0:00:51.195 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.040) 0:00:51.235 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.026) 0:00:51.261 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.047) 0:00:51.309 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.038) 0:00:51.348 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:32:46 +0000 (0:00:00.036) 0:00:51.384 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.004137", "end": "2024-02-06 16:32:47.198324", "rc": 0, "start": "2024-02-06 16:32:47.194187" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:32:47 +0000 (0:00:00.234) 0:00:51.619 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:32:47 +0000 (0:00:00.052) 0:00:51.672 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 16:32:47 +0000 (0:00:00.023) 0:00:51.695 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 16:32:47 +0000 (0:00:00.045) 0:00:51.741 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:32:47 +0000 (0:00:00.039) 0:00:51.781 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:32:47 +0000 (0:00:00.042) 0:00:51.823 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:32:47 +0000 (0:00:00.029) 0:00:51.853 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:32:47 +0000 (0:00:00.022) 0:00:51.875 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:32:47 +0000 (0:00:00.021) 0:00:51.897 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:32:49 +0000 (0:00:02.477) 0:00:54.375 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:32:50 +0000 (0:00:00.983) 0:00:55.359 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:32:50 +0000 (0:00:00.024) 0:00:55.383 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:32:51 +0000 (0:00:00.023) 0:00:55.407 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:32:51 +0000 (0:00:00.022) 0:00:55.429 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:32:51 +0000 (0:00:00.075) 0:00:55.505 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:32:51 +0000 (0:00:00.025) 0:00:55.531 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:32:51 +0000 (0:00:00.024) 0:00:55.555 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:32:51 +0000 (0:00:00.027) 0:00:55.582 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:32:51 +0000 (0:00:00.619) 0:00:56.202 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:32:51 +0000 (0:00:00.026) 0:00:56.228 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:32:51 +0000 (0:00:00.022) 0:00:56.250 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:32:51 +0000 (0:00:00.021) 0:00:56.272 ****** 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, 451ba39f-93be-49f1-b121-4ee07a73d1c1 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:32:52 +0000 (0:00:00.460) 0:00:56.732 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:32:52 +0000 (0:00:00.026) 0:00:56.759 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 451ba39f-93be-49f1-b121-4ee07a73d1c1" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:32:52 +0000 (0:00:00.026) 0:00:56.785 ****** 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, 451ba39f-93be-49f1-b121-4ee07a73d1c1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 451ba39f-93be-49f1-b121-4ee07a73d1c1" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:32:52 +0000 (0:00:00.026) 0:00:56.811 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:32:52 +0000 (0:00:00.056) 0:00:56.868 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 16:32:52 +0000 (0:00:00.223) 0:00:57.092 ****** 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, 451ba39f-93be-49f1-b121-4ee07a73d1c1\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 451ba39f-93be-49f1-b121-4ee07a73d1c1" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 16:32:52 +0000 (0:00:00.025) 0:00:57.118 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:32:52 +0000 (0:00:00.039) 0:00:57.158 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:32:52 +0000 (0:00:00.044) 0:00:57.202 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:32:52 +0000 (0:00:00.029) 0:00:57.231 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:32:52 +0000 (0:00:00.024) 0:00:57.256 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:32:52 +0000 (0:00:00.023) 0:00:57.280 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:32:55 +0000 (0:00:02.526) 0:00:59.807 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:32:56 +0000 (0:00:00.992) 0:01:00.800 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:32:56 +0000 (0:00:00.027) 0:01:00.827 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:32:56 +0000 (0:00:00.025) 0:01:00.852 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:32:56 +0000 (0:00:00.023) 0:01:00.876 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:32:56 +0000 (0:00:00.045) 0:01:00.922 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:32:56 +0000 (0:00:00.048) 0:01:00.971 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:32:56 +0000 (0:00:00.023) 0:01:00.994 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:32:56 +0000 (0:00:00.029) 0:01:01.023 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:32:57 +0000 (0:00:00.614) 0:01:01.637 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:32:57 +0000 (0:00:00.028) 0:01:01.666 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:32:57 +0000 (0:00:00.030) 0:01:01.696 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:32:57 +0000 (0:00:00.026) 0:01:01.723 ****** 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, 451ba39f-93be-49f1-b121-4ee07a73d1c1 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:32:57 +0000 (0:00:00.410) 0:01:02.133 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:32:57 +0000 (0:00:00.023) 0:01:02.157 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 451ba39f-93be-49f1-b121-4ee07a73d1c1 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:32:57 +0000 (0:00:00.026) 0:01:02.184 ****** 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, 451ba39f-93be-49f1-b121-4ee07a73d1c1 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 451ba39f-93be-49f1-b121-4ee07a73d1c1 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:32:57 +0000 (0:00:00.025) 0:01:02.210 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:32:57 +0000 (0:00:00.023) 0:01:02.233 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 16:32:58 +0000 (0:00:00.266) 0:01:02.500 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:32:58 +0000 (0:00:00.041) 0:01:02.541 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:32:58 +0000 (0:00:00.046) 0:01:02.588 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:32:58 +0000 (0:00:00.030) 0:01:02.618 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:32:58 +0000 (0:00:00.025) 0:01:02.643 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:32:58 +0000 (0:00:00.024) 0:01:02.668 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:33:00 +0000 (0:00:02.516) 0:01:05.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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:33:01 +0000 (0:00:00.986) 0:01:06.172 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:33:01 +0000 (0:00:00.023) 0:01:06.196 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:33:01 +0000 (0:00:00.024) 0:01:06.220 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:33:01 +0000 (0:00:00.024) 0:01:06.245 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:33:01 +0000 (0:00:00.059) 0:01:06.304 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:33:01 +0000 (0:00:00.023) 0:01:06.328 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:33:01 +0000 (0:00:00.051) 0:01:06.379 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:33:02 +0000 (0:00:00.026) 0:01:06.406 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:33:02 +0000 (0:00:00.618) 0:01:07.024 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:33:02 +0000 (0:00:00.026) 0:01:07.050 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:33:02 +0000 (0:00:00.022) 0:01:07.073 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:33:02 +0000 (0:00:00.022) 0:01:07.096 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:33:03 +0000 (0:00:00.436) 0:01:07.532 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:33:03 +0000 (0:00:00.023) 0:01:07.556 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:33:03 +0000 (0:00:00.024) 0:01:07.580 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:33:03 +0000 (0:00:00.024) 0:01:07.604 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:33:03 +0000 (0:00:00.021) 0:01:07.626 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 16:33:03 +0000 (0:00:00.226) 0:01:07.852 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 16:33:03 +0000 (0:00:00.074) 0:01:07.927 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:33:03 +0000 (0:00:00.046) 0:01:07.973 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:33:03 +0000 (0:00:00.044) 0:01:08.018 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:33:03 +0000 (0:00:00.034) 0:01:08.052 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:33:03 +0000 (0:00:00.024) 0:01:08.077 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:33:03 +0000 (0:00:00.026) 0:01:08.104 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:33:06 +0000 (0:00:02.543) 0:01:10.648 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:33:07 +0000 (0:00:00.987) 0:01:11.635 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:33:07 +0000 (0:00:00.025) 0:01:11.660 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:33:07 +0000 (0:00:00.024) 0:01:11.685 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:33:07 +0000 (0:00:00.023) 0:01:11.708 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:33:07 +0000 (0:00:00.050) 0:01:11.759 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:33:07 +0000 (0:00:00.052) 0:01:11.811 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:33:07 +0000 (0:00:00.023) 0:01:11.835 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:33:07 +0000 (0:00:00.030) 0:01:11.866 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:33:08 +0000 (0:00:00.604) 0:01:12.470 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:33:08 +0000 (0:00:00.029) 0:01:12.499 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:33:08 +0000 (0:00:00.024) 0:01:12.523 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:33:08 +0000 (0:00:00.022) 0:01:12.546 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:33:08 +0000 (0:00:00.505) 0:01:13.052 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:33:08 +0000 (0:00:00.030) 0:01:13.082 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:33:08 +0000 (0:00:00.026) 0:01:13.109 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:33:08 +0000 (0:00:00.028) 0:01:13.137 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:33:08 +0000 (0:00:00.025) 0:01:13.163 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 16:33:09 +0000 (0:00:00.255) 0:01:13.419 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 16:33:09 +0000 (0:00:00.042) 0:01:13.462 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:33:09 +0000 (0:00:00.040) 0:01:13.502 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:33:09 +0000 (0:00:00.027) 0:01:13.530 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:33:09 +0000 (0:00:00.274) 0:01:13.804 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:33:09 +0000 (0:00:00.053) 0:01:13.858 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022103", "end": "2024-02-06 16:33:09.748350", "rc": 1, "start": "2024-02-06 16:33:09.726247" } 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:33:09 +0000 (0:00:00.335) 0:01:14.193 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:33:09 +0000 (0:00:00.043) 0:01:14.237 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:33:09 +0000 (0:00:00.056) 0:01:14.293 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:33:09 +0000 (0:00:00.039) 0:01:14.332 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:33:09 +0000 (0:00:00.028) 0:01:14.361 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 16:33:10 +0000 (0:00:00.036) 0:01:14.397 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 16:33:10 +0000 (0:00:00.103) 0:01:14.501 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 16:33:10 +0000 (0:00:00.054) 0:01:14.556 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:33:10 +0000 (0:00:00.061) 0:01:14.617 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 16:33:10 +0000 (0:00:00.246) 0:01:14.863 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 16:33:10 +0000 (0:00:00.031) 0:01:14.894 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 16:33:10 +0000 (0:00:00.026) 0:01:14.921 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 16:33:10 +0000 (0:00:00.042) 0:01:14.964 ****** 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.044056", "end": "2024-02-06 16:33:10.816314", "rc": 1, "start": "2024-02-06 16:33:10.772258" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 16:33:10 +0000 (0:00:00.272) 0:01:15.236 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 16:33:10 +0000 (0:00:00.038) 0:01:15.275 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 16:33:10 +0000 (0:00:00.022) 0:01:15.297 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 16:33:10 +0000 (0:00:00.078) 0:01:15.376 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 16:33:11 +0000 (0:00:00.037) 0:01:15.413 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 16:33:11 +0000 (0:00:00.035) 0:01:15.449 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003959", "end": "2024-02-06 16:33:11.270218", "rc": 0, "start": "2024-02-06 16:33:11.266259" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 16:33:11 +0000 (0:00:00.243) 0:01:15.692 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 16:33:11 +0000 (0:00:00.024) 0:01:15.717 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 16:33:11 +0000 (0:00:00.023) 0:01:15.741 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 16:33:11 +0000 (0:00:00.050) 0:01:15.792 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:33:11 +0000 (0:00:00.047) 0:01:15.839 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:33:11 +0000 (0:00:00.060) 0:01:15.899 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:33:11 +0000 (0:00:00.063) 0:01:15.963 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:33:11 +0000 (0:00:00.040) 0:01:16.004 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:33:11 +0000 (0:00:00.025) 0:01:16.030 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:33:14 +0000 (0:00:02.461) 0:01:18.491 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:33:15 +0000 (0:00:01.041) 0:01:19.532 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:33:15 +0000 (0:00:00.025) 0:01:19.558 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:33:15 +0000 (0:00:00.023) 0:01:19.581 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:33:15 +0000 (0:00:00.024) 0:01:19.606 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:33:15 +0000 (0:00:00.047) 0:01:19.653 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:33:15 +0000 (0:00:00.028) 0:01:19.682 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:33:15 +0000 (0:00:00.025) 0:01:19.708 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:33:15 +0000 (0:00:00.028) 0:01:19.736 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:33:15 +0000 (0:00:00.613) 0:01:20.349 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:33:15 +0000 (0:00:00.031) 0:01:20.381 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:33:16 +0000 (0:00:00.022) 0:01:20.404 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:33:16 +0000 (0:00:00.033) 0:01:20.438 ****** 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, a2dd34c3-c3d4-4166-bea0-017541572d75 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:33:16 +0000 (0:00:00.529) 0:01:20.967 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:33:16 +0000 (0:00:00.027) 0:01:20.995 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a2dd34c3-c3d4-4166-bea0-017541572d75" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:33:16 +0000 (0:00:00.025) 0:01:21.021 ****** 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, a2dd34c3-c3d4-4166-bea0-017541572d75\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a2dd34c3-c3d4-4166-bea0-017541572d75" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:33:16 +0000 (0:00:00.025) 0:01:21.046 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:33:16 +0000 (0:00:00.022) 0:01:21.068 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 16:33:16 +0000 (0:00:00.223) 0:01:21.292 ****** 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, a2dd34c3-c3d4-4166-bea0-017541572d75\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, a2dd34c3-c3d4-4166-bea0-017541572d75" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 16:33:16 +0000 (0:00:00.025) 0:01:21.317 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:33:16 +0000 (0:00:00.047) 0:01:21.364 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:33:17 +0000 (0:00:00.050) 0:01:21.415 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:33:17 +0000 (0:00:00.030) 0:01:21.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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:33:17 +0000 (0:00:00.032) 0:01:21.477 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:33:17 +0000 (0:00:00.024) 0:01:21.502 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:33:19 +0000 (0:00:02.522) 0:01:24.024 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:33:20 +0000 (0:00:00.985) 0:01:25.010 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:33:20 +0000 (0:00:00.045) 0:01:25.055 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:33:20 +0000 (0:00:00.024) 0:01:25.080 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:33:20 +0000 (0:00:00.023) 0:01:25.103 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:33:20 +0000 (0:00:00.044) 0:01:25.148 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:33:20 +0000 (0:00:00.023) 0:01:25.171 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:33:20 +0000 (0:00:00.022) 0:01:25.194 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:33:20 +0000 (0:00:00.026) 0:01:25.221 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:33:21 +0000 (0:00:00.621) 0:01:25.842 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:33:21 +0000 (0:00:00.026) 0:01:25.868 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:33:21 +0000 (0:00:00.023) 0:01:25.892 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:33:21 +0000 (0:00:00.025) 0:01:25.918 ****** 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, a2dd34c3-c3d4-4166-bea0-017541572d75 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:33:21 +0000 (0:00:00.411) 0:01:26.329 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:33:21 +0000 (0:00:00.048) 0:01:26.378 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a2dd34c3-c3d4-4166-bea0-017541572d75 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:33:22 +0000 (0:00:00.034) 0:01:26.413 ****** 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, a2dd34c3-c3d4-4166-bea0-017541572d75 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, a2dd34c3-c3d4-4166-bea0-017541572d75 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:33:22 +0000 (0:00:00.024) 0:01:26.438 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:33:22 +0000 (0:00:00.022) 0:01:26.460 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 16:33:22 +0000 (0:00:00.226) 0:01:26.686 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:33:22 +0000 (0:00:00.038) 0:01:26.725 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:33:22 +0000 (0:00:00.042) 0:01:26.767 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:33:22 +0000 (0:00:00.028) 0:01:26.795 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:33:22 +0000 (0:00:00.024) 0:01:26.820 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:33:22 +0000 (0:00:00.023) 0:01:26.843 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:33:24 +0000 (0:00:02.484) 0:01:29.327 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:33:25 +0000 (0:00:01.032) 0:01:30.360 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:33:26 +0000 (0:00:00.041) 0:01:30.402 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:33:26 +0000 (0:00:00.036) 0:01:30.438 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:33:26 +0000 (0:00:00.063) 0:01:30.501 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:33:26 +0000 (0:00:00.057) 0:01:30.559 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:33:26 +0000 (0:00:00.039) 0:01:30.598 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:33:26 +0000 (0:00:00.026) 0:01:30.625 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:33:26 +0000 (0:00:00.026) 0:01:30.652 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:33:26 +0000 (0:00:00.608) 0:01:31.260 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:33:26 +0000 (0:00:00.026) 0:01:31.287 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:33:26 +0000 (0:00:00.026) 0:01:31.314 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:33:26 +0000 (0:00:00.025) 0:01:31.339 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:33:27 +0000 (0:00:00.549) 0:01:31.888 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:33:27 +0000 (0:00:00.034) 0:01:31.923 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:33:27 +0000 (0:00:00.054) 0:01:31.978 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:33:27 +0000 (0:00:00.065) 0:01:32.043 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:33:27 +0000 (0:00:00.068) 0:01:32.112 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 16:33:27 +0000 (0:00:00.237) 0:01:32.349 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 16:33:28 +0000 (0:00:00.041) 0:01:32.391 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 16:33:28 +0000 (0:00:00.040) 0:01:32.432 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 16:33:28 +0000 (0:00:00.043) 0:01:32.475 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 16:33:28 +0000 (0:00:00.032) 0:01:32.507 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 16:33:28 +0000 (0:00:00.022) 0:01:32.530 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 16:33:28 +0000 (0:00:00.024) 0:01:32.554 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 16:33:30 +0000 (0:00:02.510) 0:01:35.065 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 16:33:31 +0000 (0:00:00.991) 0:01:36.057 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 16:33:31 +0000 (0:00:00.036) 0:01:36.093 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 16:33:31 +0000 (0:00:00.025) 0:01:36.119 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 16:33:31 +0000 (0:00:00.027) 0:01:36.146 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 16:33:31 +0000 (0:00:00.046) 0:01:36.192 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 16:33:31 +0000 (0:00:00.054) 0:01:36.247 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 16:33:31 +0000 (0:00:00.025) 0:01:36.272 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 16:33:31 +0000 (0:00:00.034) 0:01:36.307 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 16:33:32 +0000 (0:00:00.635) 0:01:36.943 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 16:33:32 +0000 (0:00:00.032) 0:01:36.976 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 16:33:32 +0000 (0:00:00.025) 0:01:37.001 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 16:33:32 +0000 (0:00:00.024) 0:01:37.025 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 16:33:33 +0000 (0:00:00.440) 0:01:37.466 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 16:33:33 +0000 (0:00:00.024) 0:01:37.490 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 16:33:33 +0000 (0:00:00.024) 0:01:37.515 ****** 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_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 16:33:33 +0000 (0:00:00.031) 0:01:37.546 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 16:33:33 +0000 (0:00:00.031) 0:01:37.578 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 16:33:33 +0000 (0:00:00.274) 0:01:37.853 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 16:33:33 +0000 (0:00:00.047) 0:01:37.900 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 16:33:33 +0000 (0:00:00.041) 0:01:37.941 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 16:33:33 +0000 (0:00:00.023) 0:01:37.965 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 16:33:33 +0000 (0:00:00.245) 0:01:38.210 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 16:33:33 +0000 (0:00:00.023) 0:01:38.234 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022613", "end": "2024-02-06 16:33:34.068143", "rc": 1, "start": "2024-02-06 16:33:34.045530" } 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 16:33:34 +0000 (0:00:00.267) 0:01:38.501 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 16:33:34 +0000 (0:00:00.027) 0:01:38.529 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 16:33:34 +0000 (0:00:00.033) 0:01:38.563 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 16:33:34 +0000 (0:00:00.023) 0:01:38.586 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 16:33:34 +0000 (0:00:00.025) 0:01:38.612 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 16:33:34 +0000 (0:00:00.025) 0:01:38.637 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 16:33:34 +0000 (0:00:00.026) 0:01:38.664 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.384608", "end": "2024-02-06 16:33:34.860413", "rc": 0, "start": "2024-02-06 16:33:34.475805" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 16:33:34 +0000 (0:00:00.618) 0:01:39.282 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 16:33:34 +0000 (0:00:00.034) 0:01:39.317 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 16:33:34 +0000 (0:00:00.025) 0:01:39.342 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 16:33:35 +0000 (0:00:00.056) 0:01:39.398 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 16:33:35 +0000 (0:00:00.043) 0:01:39.442 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 16:33:35 +0000 (0:00:00.261) 0:01:39.703 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 16:33:35 +0000 (0:00:00.028) 0:01:39.731 ****** 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_rewrite_8cztfey/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 16:33:35 +0000 (0:00:00.027) 0:01:39.759 ****** included: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewrite_8cztfey/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 16:33:35 +0000 (0:00:00.046) 0:01:39.806 ****** 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.044487", "end": "2024-02-06 16:33:35.665773", "rc": 1, "start": "2024-02-06 16:33:35.621286" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Could not load file '/etc/sysconfig/network-scripts/ifcfg-statebr' Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=10 Tuesday 06 February 2024 16:33:35 +0000 (0:00:00.267) 0:01:40.074 ****** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 3.23s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 2.56s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.54s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.54s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.54s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.53s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.52s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.52s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.51s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.50s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.48s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.48s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.47s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.47s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.47s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 2.46s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.46s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.46s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 1.85s /WORKDIR/git-bond_options_rewrite_8cztfey/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.68s /WORKDIR/git-bond_options_rewrite_8cztfey/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. ---^---^---^---^---^---