# 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_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/tests_states_nm.yml:6 Tuesday 06 February 2024 22:04:20 +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_rewritejvj9c8ut/tests/tests_states_nm.yml:9 Tuesday 06 February 2024 22:04:21 +0000 (0:00:00.885) 0:00:00.896 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 22:04:21 +0000 (0:00:00.021) 0:00:00.918 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 22:04:22 +0000 (0:00:00.506) 0:00:01.424 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 22:04:22 +0000 (0:00:00.261) 0:00:01.686 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 22:04:22 +0000 (0:00:00.021) 0:00:01.708 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 22:04:22 +0000 (0:00:00.017) 0:00:01.725 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 38] ********************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 22:04:22 +0000 (0:00:00.032) 0:00:01.758 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 22:04:22 +0000 (0:00:00.009) 0:00:01.767 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 22:04:22 +0000 (0:00:00.008) 0:00:01.776 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 22:04:22 +0000 (0:00:00.008) 0:00:01.784 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 22:04:22 +0000 (0:00:00.008) 0:00:01.792 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/tests_states_nm.yml:11 Tuesday 06 February 2024 22:04:22 +0000 (0:00:00.008) 0:00:01.800 ****** 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_rewritejvj9c8ut/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 22:04:22 +0000 (0:00:00.010) 0:00:01.811 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 22:04:23 +0000 (0:00:00.767) 0:00:02.578 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 22:04:23 +0000 (0:00:00.011) 0:00:02.590 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:04:23 +0000 (0:00:00.015) 0:00:02.605 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:04:23 +0000 (0:00:00.011) 0:00:02.617 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:04:23 +0000 (0:00:00.031) 0:00:02.648 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:04:23 +0000 (0:00:00.013) 0:00:02.662 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:04:23 +0000 (0:00:00.012) 0:00:02.674 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004683", "end": "2024-02-06 22:04:24.627800", "rc": 0, "start": "2024-02-06 22:04:23.623117" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:04:24 +0000 (0:00:01.246) 0:00:03.921 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:04:24 +0000 (0:00:00.012) 0:00:03.933 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:04:24 +0000 (0:00:00.010) 0:00:03.944 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 22:04:24 +0000 (0:00:00.019) 0:00:03.964 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007657", "end": "2024-02-06 22:04:24.872046", "rc": 1, "start": "2024-02-06 22:04:24.864389" } 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_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:04:24 +0000 (0:00:00.199) 0:00:04.164 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:04:24 +0000 (0:00:00.013) 0:00:04.178 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:04:25 +0000 (0:00:00.192) 0:00:04.370 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:04:25 +0000 (0:00:00.011) 0:00:04.382 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:04:25 +0000 (0:00:00.017) 0:00:04.399 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:04:25 +0000 (0:00:00.030) 0:00:04.430 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:04:25 +0000 (0:00:00.066) 0:00:04.497 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:04:25 +0000 (0:00:00.011) 0:00:04.508 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:04:25 +0000 (0:00:00.010) 0:00:04.519 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:04:25 +0000 (0:00:00.013) 0:00:04.532 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:04:27 +0000 (0:00:02.285) 0:00:06.818 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:04:28 +0000 (0:00:01.037) 0:00:07.856 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:04:28 +0000 (0:00:00.022) 0:00:07.878 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:04:28 +0000 (0:00:00.021) 0:00:07.900 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:04:28 +0000 (0:00:00.020) 0:00:07.921 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:04:28 +0000 (0:00:00.043) 0:00:07.964 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:04:28 +0000 (0:00:00.020) 0:00:07.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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:04:28 +0000 (0:00:00.021) 0:00:08.007 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:04:28 +0000 (0:00:00.025) 0:00:08.032 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:04:29 +0000 (0:00:00.699) 0:00:08.732 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:04:29 +0000 (0:00:00.025) 0:00:08.758 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:04:29 +0000 (0:00:00.020) 0:00:08.778 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:04:29 +0000 (0:00:00.021) 0:00:08.799 ****** 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, 8ce12dc9-0546-4c0e-b858-8e3b096a4559 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:04:30 +0000 (0:00:00.515) 0:00:09.315 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:04:30 +0000 (0:00:00.021) 0:00:09.337 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ce12dc9-0546-4c0e-b858-8e3b096a4559" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:04:30 +0000 (0:00:00.021) 0:00:09.358 ****** 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, 8ce12dc9-0546-4c0e-b858-8e3b096a4559\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ce12dc9-0546-4c0e-b858-8e3b096a4559" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:04:30 +0000 (0:00:00.022) 0:00:09.381 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:04:30 +0000 (0:00:00.021) 0:00:09.402 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:04:30 +0000 (0:00:00.272) 0:00:09.675 ****** 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, 8ce12dc9-0546-4c0e-b858-8e3b096a4559\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 8ce12dc9-0546-4c0e-b858-8e3b096a4559" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:04:30 +0000 (0:00:00.024) 0:00:09.699 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:04:30 +0000 (0:00:00.069) 0:00:09.769 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:04:30 +0000 (0:00:00.041) 0:00:09.810 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:04:30 +0000 (0:00:00.022) 0:00:09.833 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:04:30 +0000 (0:00:00.202) 0:00:10.035 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:04:30 +0000 (0:00:00.021) 0:00:10.056 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023221", "end": "2024-02-06 22:04:30.980439", "rc": 0, "start": "2024-02-06 22:04:30.957218" } 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.228) 0:00:10.285 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.023) 0:00:10.308 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.022) 0:00:10.331 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.025) 0:00:10.356 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.024) 0:00:10.381 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.023) 0:00:10.404 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.027) 0:00:10.432 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.026) 0:00:10.458 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.023) 0:00:10.482 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.087) 0:00:10.569 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.036) 0:00:10.606 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707257069.96024, "block_size": 4096, "blocks": 0, "ctime": 1707257069.96024, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36254, "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": 1707257069.96024, "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_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.205) 0:00:10.811 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.025) 0:00:10.837 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.022) 0:00:10.859 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.047) 0:00:10.907 ****** 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.062103", "end": "2024-02-06 22:04:31.874515", "rc": 1, "start": "2024-02-06 22:04:31.812412" } STDOUT: Connection 'statebr' (8ce12dc9-0546-4c0e-b858-8e3b096a4559) 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_rewritejvj9c8ut/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.271) 0:00:11.179 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.039) 0:00:11.218 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:04:31 +0000 (0:00:00.024) 0:00:11.243 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:04:32 +0000 (0:00:00.066) 0:00:11.309 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:04:32 +0000 (0:00:00.037) 0:00:11.346 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:04:32 +0000 (0:00:00.034) 0:00:11.381 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004959", "end": "2024-02-06 22:04:33.290365", "rc": 0, "start": "2024-02-06 22:04:32.285406" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:04:33 +0000 (0:00:01.215) 0:00:12.596 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:04:33 +0000 (0:00:00.022) 0:00:12.619 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:04:33 +0000 (0:00:00.022) 0:00:12.642 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 22:04:33 +0000 (0:00:00.040) 0:00:12.682 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006827", "end": "2024-02-06 22:04:33.590923", "rc": 1, "start": "2024-02-06 22:04:33.584096" } 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_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:04:33 +0000 (0:00:00.211) 0:00:12.894 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:04:33 +0000 (0:00:00.058) 0:00:12.953 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:04:33 +0000 (0:00:00.205) 0:00:13.158 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:04:33 +0000 (0:00:00.023) 0:00:13.182 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 22:04:33 +0000 (0:00:00.040) 0:00:13.223 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:04:33 +0000 (0:00:00.042) 0:00:13.265 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:04:34 +0000 (0:00:00.041) 0:00:13.307 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:04:34 +0000 (0:00:00.032) 0:00:13.339 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:04:34 +0000 (0:00:00.023) 0:00:13.363 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:04:34 +0000 (0:00:00.022) 0:00:13.386 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:04:36 +0000 (0:00:02.181) 0:00:15.567 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:04:37 +0000 (0:00:00.898) 0:00:16.466 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:04:37 +0000 (0:00:00.022) 0:00:16.488 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:04:37 +0000 (0:00:00.040) 0:00:16.528 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:04:37 +0000 (0:00:00.022) 0:00:16.550 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:04:37 +0000 (0:00:00.045) 0:00:16.595 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:04:37 +0000 (0:00:00.022) 0:00:16.618 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:04:37 +0000 (0:00:00.022) 0:00:16.640 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:04:37 +0000 (0:00:00.025) 0:00:16.666 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:04:37 +0000 (0:00:00.545) 0:00:17.212 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:04:37 +0000 (0:00:00.026) 0:00:17.238 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:04:37 +0000 (0:00:00.021) 0:00:17.260 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:04:38 +0000 (0:00:00.021) 0:00:17.281 ****** 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, 1b40b1e9-8a72-4f28-a60f-60883851de51 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:04:38 +0000 (0:00:00.373) 0:00:17.655 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:04:38 +0000 (0:00:00.022) 0:00:17.678 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b40b1e9-8a72-4f28-a60f-60883851de51" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:04:38 +0000 (0:00:00.048) 0:00:17.727 ****** 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, 1b40b1e9-8a72-4f28-a60f-60883851de51\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b40b1e9-8a72-4f28-a60f-60883851de51" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:04:38 +0000 (0:00:00.023) 0:00:17.750 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:04:38 +0000 (0:00:00.021) 0:00:17.772 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 22:04:38 +0000 (0:00:00.201) 0:00:17.974 ****** 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, 1b40b1e9-8a72-4f28-a60f-60883851de51\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1b40b1e9-8a72-4f28-a60f-60883851de51" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:04:38 +0000 (0:00:00.026) 0:00:18.001 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:04:38 +0000 (0:00:00.044) 0:00:18.046 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:04:38 +0000 (0:00:00.036) 0:00:18.082 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.202) 0:00:18.285 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.023) 0:00:18.308 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.037) 0:00:18.345 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.021) 0:00:18.366 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.227) 0:00:18.593 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.022) 0:00:18.616 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022239", "end": "2024-02-06 22:04:39.538436", "rc": 0, "start": "2024-02-06 22:04:39.516197" } 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.229) 0:00:18.845 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.024) 0:00:18.870 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.022) 0:00:18.892 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.022) 0:00:18.915 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.022) 0:00:18.937 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.022) 0:00:18.960 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.023) 0:00:18.983 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.024) 0:00:19.008 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.024) 0:00:19.032 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.021) 0:00:19.053 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.022) 0:00:19.075 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:04:39 +0000 (0:00:00.042) 0:00:19.118 ****** 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.043286", "end": "2024-02-06 22:04:40.063724", "rc": 1, "start": "2024-02-06 22:04:40.020438" } STDOUT: Connection 'statebr' (1b40b1e9-8a72-4f28-a60f-60883851de51) 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_rewritejvj9c8ut/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 22:04:40 +0000 (0:00:00.276) 0:00:19.395 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:04:40 +0000 (0:00:00.038) 0:00:19.433 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:04:40 +0000 (0:00:00.023) 0:00:19.457 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:04:40 +0000 (0:00:00.043) 0:00:19.500 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:04:40 +0000 (0:00:00.036) 0:00:19.537 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:04:40 +0000 (0:00:00.036) 0:00:19.573 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004733", "end": "2024-02-06 22:04:41.477396", "rc": 0, "start": "2024-02-06 22:04:40.472663" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:04:41 +0000 (0:00:01.210) 0:00:20.783 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:04:41 +0000 (0:00:00.023) 0:00:20.807 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:04:41 +0000 (0:00:00.045) 0:00:20.852 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:04:41 +0000 (0:00:00.039) 0:00:20.891 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:04:41 +0000 (0:00:00.037) 0:00:20.928 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:04:41 +0000 (0:00:00.040) 0:00:20.969 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:04:41 +0000 (0:00:00.027) 0:00:20.996 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:04:41 +0000 (0:00:00.021) 0:00:21.018 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:04:41 +0000 (0:00:00.020) 0:00:21.039 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:04:43 +0000 (0:00:02.199) 0:00:23.238 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:04:44 +0000 (0:00:00.901) 0:00:24.139 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:04:44 +0000 (0:00:00.024) 0:00:24.164 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:04:44 +0000 (0:00:00.023) 0:00:24.187 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:04:44 +0000 (0:00:00.025) 0:00:24.213 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:04:44 +0000 (0:00:00.045) 0:00:24.259 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:04:45 +0000 (0:00:00.021) 0:00:24.280 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:04:45 +0000 (0:00:00.045) 0:00:24.325 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:04:45 +0000 (0:00:00.027) 0:00:24.353 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:04:45 +0000 (0:00:00.546) 0:00:24.900 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:04:45 +0000 (0:00:00.026) 0:00:24.926 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:04:45 +0000 (0:00:00.022) 0:00:24.949 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:04:45 +0000 (0:00:00.023) 0:00:24.972 ****** 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, d92f0914-e1e8-4ffa-8e59-88a85cbd7d0a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:04:46 +0000 (0:00:00.411) 0:00:25.384 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:04:46 +0000 (0:00:00.020) 0:00:25.405 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d92f0914-e1e8-4ffa-8e59-88a85cbd7d0a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:04:46 +0000 (0:00:00.022) 0:00:25.428 ****** 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, d92f0914-e1e8-4ffa-8e59-88a85cbd7d0a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d92f0914-e1e8-4ffa-8e59-88a85cbd7d0a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:04:46 +0000 (0:00:00.022) 0:00:25.450 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:04:46 +0000 (0:00:00.020) 0:00:25.471 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:04:46 +0000 (0:00:00.201) 0:00:25.672 ****** 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, d92f0914-e1e8-4ffa-8e59-88a85cbd7d0a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d92f0914-e1e8-4ffa-8e59-88a85cbd7d0a" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:04:46 +0000 (0:00:00.047) 0:00:25.720 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:04:46 +0000 (0:00:00.040) 0:00:25.761 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:04:46 +0000 (0:00:00.040) 0:00:25.801 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:04:46 +0000 (0:00:00.040) 0:00:25.841 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:04:46 +0000 (0:00:00.026) 0:00:25.868 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:04:46 +0000 (0:00:00.021) 0:00:25.890 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:04:46 +0000 (0:00:00.020) 0:00:25.911 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:04:48 +0000 (0:00:02.169) 0:00:28.080 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:04:49 +0000 (0:00:00.897) 0:00:28.978 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:04:49 +0000 (0:00:00.023) 0:00:29.001 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:04:49 +0000 (0:00:00.021) 0:00:29.022 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:04:49 +0000 (0:00:00.022) 0:00:29.044 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:04:49 +0000 (0:00:00.044) 0:00:29.089 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:04:49 +0000 (0:00:00.022) 0:00:29.111 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:04:49 +0000 (0:00:00.045) 0:00:29.157 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:04:49 +0000 (0:00:00.026) 0:00:29.184 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:04:50 +0000 (0:00:00.552) 0:00:29.737 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:04:50 +0000 (0:00:00.026) 0:00:29.763 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:04:50 +0000 (0:00:00.020) 0:00:29.784 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:04:50 +0000 (0:00:00.021) 0:00:29.806 ****** 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, d92f0914-e1e8-4ffa-8e59-88a85cbd7d0a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:04:50 +0000 (0:00:00.359) 0:00:30.165 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:04:50 +0000 (0:00:00.022) 0:00:30.188 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d92f0914-e1e8-4ffa-8e59-88a85cbd7d0a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:04:50 +0000 (0:00:00.023) 0:00:30.211 ****** 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, d92f0914-e1e8-4ffa-8e59-88a85cbd7d0a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d92f0914-e1e8-4ffa-8e59-88a85cbd7d0a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:04:50 +0000 (0:00:00.023) 0:00:30.235 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:04:50 +0000 (0:00:00.022) 0:00:30.258 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:04:51 +0000 (0:00:00.197) 0:00:30.455 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:04:51 +0000 (0:00:00.071) 0:00:30.526 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:04:51 +0000 (0:00:00.037) 0:00:30.564 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707257086.0280185, "block_size": 4096, "blocks": 0, "ctime": 1707257086.0280185, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36385, "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": 1707257086.0280185, "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_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:04:51 +0000 (0:00:00.207) 0:00:30.771 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 22:04:51 +0000 (0:00:00.026) 0:00:30.798 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:04:51 +0000 (0:00:00.041) 0:00:30.840 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:04:51 +0000 (0:00:00.029) 0:00:30.869 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:04:51 +0000 (0:00:00.204) 0:00:31.074 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:04:51 +0000 (0:00:00.023) 0:00:31.098 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022475", "end": "2024-02-06 22:04:52.021363", "rc": 0, "start": "2024-02-06 22:04:51.998888" } 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.228) 0:00:31.326 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.023) 0:00:31.350 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.048) 0:00:31.398 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.022) 0:00:31.421 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.023) 0:00:31.444 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.022) 0:00:31.467 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.023) 0:00:31.491 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.023) 0:00:31.515 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.022) 0:00:31.538 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.019) 0:00:31.558 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.022) 0:00:31.580 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.040) 0:00:31.621 ****** 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.071681", "end": "2024-02-06 22:04:52.593851", "rc": 1, "start": "2024-02-06 22:04:52.522170" } STDOUT: Connection 'statebr' (d92f0914-e1e8-4ffa-8e59-88a85cbd7d0a) 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_rewritejvj9c8ut/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.277) 0:00:31.899 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.038) 0:00:31.937 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.022) 0:00:31.959 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.073) 0:00:32.033 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.038) 0:00:32.071 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:04:52 +0000 (0:00:00.037) 0:00:32.109 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004768", "end": "2024-02-06 22:04:54.014077", "rc": 0, "start": "2024-02-06 22:04:53.009309" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:04:54 +0000 (0:00:01.211) 0:00:33.320 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:04:54 +0000 (0:00:00.023) 0:00:33.344 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:04:54 +0000 (0:00:00.022) 0:00:33.367 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:04:54 +0000 (0:00:00.041) 0:00:33.408 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:04:54 +0000 (0:00:00.058) 0:00:33.467 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:04:54 +0000 (0:00:00.041) 0:00:33.509 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:04:54 +0000 (0:00:00.027) 0:00:33.536 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:04:54 +0000 (0:00:00.021) 0:00:33.558 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:04:54 +0000 (0:00:00.021) 0:00:33.580 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:04:56 +0000 (0:00:02.172) 0:00:35.752 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:04:57 +0000 (0:00:00.923) 0:00:36.676 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:04:57 +0000 (0:00:00.023) 0:00:36.699 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:04:57 +0000 (0:00:00.021) 0:00:36.721 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:04:57 +0000 (0:00:00.021) 0:00:36.742 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:04:57 +0000 (0:00:00.043) 0:00:36.786 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:04:57 +0000 (0:00:00.020) 0:00:36.807 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:04:57 +0000 (0:00:00.021) 0:00:36.828 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:04:57 +0000 (0:00:00.024) 0:00:36.853 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:04:58 +0000 (0:00:00.563) 0:00:37.416 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:04:58 +0000 (0:00:00.026) 0:00:37.442 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:04:58 +0000 (0:00:00.021) 0:00:37.464 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:04:58 +0000 (0:00:00.021) 0:00:37.485 ****** 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, 1d331fa7-ad9f-4df5-9b4c-673d0667e4b3 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:04:58 +0000 (0:00:00.405) 0:00:37.891 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:04:58 +0000 (0:00:00.021) 0:00:37.912 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1d331fa7-ad9f-4df5-9b4c-673d0667e4b3" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:04:58 +0000 (0:00:00.022) 0:00:37.935 ****** 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, 1d331fa7-ad9f-4df5-9b4c-673d0667e4b3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1d331fa7-ad9f-4df5-9b4c-673d0667e4b3" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:04:58 +0000 (0:00:00.022) 0:00:37.957 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:04:58 +0000 (0:00:00.020) 0:00:37.978 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:04:58 +0000 (0:00:00.198) 0:00:38.177 ****** 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, 1d331fa7-ad9f-4df5-9b4c-673d0667e4b3\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 1d331fa7-ad9f-4df5-9b4c-673d0667e4b3" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:04:58 +0000 (0:00:00.024) 0:00:38.201 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:04:58 +0000 (0:00:00.037) 0:00:38.238 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:04:59 +0000 (0:00:00.064) 0:00:38.303 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:04:59 +0000 (0:00:00.028) 0:00:38.332 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:04:59 +0000 (0:00:00.021) 0:00:38.353 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:04:59 +0000 (0:00:00.021) 0:00:38.374 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:01 +0000 (0:00:02.192) 0:00:40.567 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:05:02 +0000 (0:00:00.929) 0:00:41.496 ****** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:05:02 +0000 (0:00:00.023) 0:00:41.520 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:05:02 +0000 (0:00:00.022) 0:00:41.542 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:05:02 +0000 (0:00:00.021) 0:00:41.564 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:05:02 +0000 (0:00:00.044) 0:00:41.608 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:05:02 +0000 (0:00:00.021) 0:00:41.629 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:05:02 +0000 (0:00:00.021) 0:00:41.651 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:05:02 +0000 (0:00:00.024) 0:00:41.676 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:05:02 +0000 (0:00:00.556) 0:00:42.232 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.050) 0:00:42.283 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.022) 0:00:42.306 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.021) 0:00:42.327 ****** 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, 1d331fa7-ad9f-4df5-9b4c-673d0667e4b3 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.366) 0:00:42.694 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.021) 0:00:42.715 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1d331fa7-ad9f-4df5-9b4c-673d0667e4b3 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.023) 0:00:42.738 ****** 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, 1d331fa7-ad9f-4df5-9b4c-673d0667e4b3 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 1d331fa7-ad9f-4df5-9b4c-673d0667e4b3 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.024) 0:00:42.763 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.021) 0:00:42.784 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.206) 0:00:42.991 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.040) 0:00:43.032 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.040) 0:00:43.072 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.064) 0:00:43.137 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.028) 0:00:43.165 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.021) 0:00:43.187 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:05:03 +0000 (0:00:00.021) 0:00:43.208 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:06 +0000 (0:00:02.281) 0:00:45.490 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:05:07 +0000 (0:00:00.933) 0:00:46.424 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:05:07 +0000 (0:00:00.024) 0:00:46.449 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:05:07 +0000 (0:00:00.022) 0:00:46.471 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:05:07 +0000 (0:00:00.021) 0:00:46.493 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:05:07 +0000 (0:00:00.045) 0:00:46.539 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:05:07 +0000 (0:00:00.023) 0:00:46.563 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:05:07 +0000 (0:00:00.021) 0:00:46.584 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:05:07 +0000 (0:00:00.031) 0:00:46.616 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:05:07 +0000 (0:00:00.556) 0:00:47.173 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:05:07 +0000 (0:00:00.053) 0:00:47.226 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:05:07 +0000 (0:00:00.022) 0:00:47.249 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:05:07 +0000 (0:00:00.022) 0:00:47.271 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:05:08 +0000 (0:00:00.395) 0:00:47.667 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:05:08 +0000 (0:00:00.022) 0:00:47.689 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:05:08 +0000 (0:00:00.024) 0:00:47.713 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:05:08 +0000 (0:00:00.024) 0:00:47.738 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:05:08 +0000 (0:00:00.021) 0:00:47.759 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:05:08 +0000 (0:00:00.202) 0:00:47.961 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 22:05:08 +0000 (0:00:00.043) 0:00:48.005 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:05:08 +0000 (0:00:00.036) 0:00:48.041 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707257098.5381238, "block_size": 4096, "blocks": 0, "ctime": 1707257098.5381238, "dev": 22, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 36516, "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": 1707257098.5381238, "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_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 22:05:08 +0000 (0:00:00.229) 0:00:48.270 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.024) 0:00:48.295 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.038) 0:00:48.334 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.022) 0:00:48.356 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.203) 0:00:48.560 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.021) 0:00:48.581 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022333", "end": "2024-02-06 22:05:09.502769", "rc": 1, "start": "2024-02-06 22:05:09.480436" } 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.226) 0:00:48.807 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.022) 0:00:48.830 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.022) 0:00:48.852 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.024) 0:00:48.877 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.027) 0:00:48.904 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.023) 0:00:48.928 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.025) 0:00:48.953 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.021) 0:00:48.974 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.049) 0:00:49.023 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:05:09 +0000 (0:00:00.042) 0:00:49.066 ****** 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.072886", "end": "2024-02-06 22:05:10.039255", "rc": 0, "start": "2024-02-06 22:05:09.966369" } STDOUT: Connection 'statebr' (1d331fa7-ad9f-4df5-9b4c-673d0667e4b3) 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_rewritejvj9c8ut/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 22:05:10 +0000 (0:00:00.290) 0:00:49.356 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:05:10 +0000 (0:00:00.038) 0:00:49.395 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:05:10 +0000 (0:00:00.022) 0:00:49.418 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:05:10 +0000 (0:00:00.045) 0:00:49.464 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:05:10 +0000 (0:00:00.035) 0:00:49.500 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:05:10 +0000 (0:00:00.035) 0:00:49.535 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004732", "end": "2024-02-06 22:05:11.443657", "rc": 0, "start": "2024-02-06 22:05:10.438925" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:05:11 +0000 (0:00:01.213) 0:00:50.749 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:05:11 +0000 (0:00:00.023) 0:00:50.773 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:05:11 +0000 (0:00:00.022) 0:00:50.795 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:05:11 +0000 (0:00:00.045) 0:00:50.840 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:05:11 +0000 (0:00:00.037) 0:00:50.878 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:05:11 +0000 (0:00:00.040) 0:00:50.918 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:05:11 +0000 (0:00:00.026) 0:00:50.945 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:05:11 +0000 (0:00:00.020) 0:00:50.965 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:05:11 +0000 (0:00:00.021) 0:00:50.987 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:13 +0000 (0:00:02.175) 0:00:53.162 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:05:14 +0000 (0:00:00.895) 0:00:54.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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:05:14 +0000 (0:00:00.022) 0:00:54.080 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:05:14 +0000 (0:00:00.041) 0:00:54.121 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:05:14 +0000 (0:00:00.021) 0:00:54.143 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:05:14 +0000 (0:00:00.044) 0:00:54.187 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:05:14 +0000 (0:00:00.021) 0:00:54.208 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:05:14 +0000 (0:00:00.021) 0:00:54.230 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:05:14 +0000 (0:00:00.024) 0:00:54.254 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:05:15 +0000 (0:00:00.552) 0:00:54.807 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:05:15 +0000 (0:00:00.025) 0:00:54.832 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:05:15 +0000 (0:00:00.021) 0:00:54.853 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:05:15 +0000 (0:00:00.021) 0:00:54.874 ****** 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, 9e3ab05d-0e4f-4e51-8759-eb162b09f405 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:05:16 +0000 (0:00:00.405) 0:00:55.280 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:05:16 +0000 (0:00:00.022) 0:00:55.302 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9e3ab05d-0e4f-4e51-8759-eb162b09f405" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:05:16 +0000 (0:00:00.046) 0:00:55.348 ****** 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, 9e3ab05d-0e4f-4e51-8759-eb162b09f405\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9e3ab05d-0e4f-4e51-8759-eb162b09f405" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:05:16 +0000 (0:00:00.023) 0:00:55.372 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:05:16 +0000 (0:00:00.021) 0:00:55.394 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:05:16 +0000 (0:00:00.199) 0:00:55.593 ****** 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, 9e3ab05d-0e4f-4e51-8759-eb162b09f405\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9e3ab05d-0e4f-4e51-8759-eb162b09f405" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:05:16 +0000 (0:00:00.023) 0:00:55.617 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:05:16 +0000 (0:00:00.036) 0:00:55.654 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:05:16 +0000 (0:00:00.041) 0:00:55.695 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:05:16 +0000 (0:00:00.026) 0:00:55.722 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:05:16 +0000 (0:00:00.021) 0:00:55.744 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:05:16 +0000 (0:00:00.025) 0:00:55.769 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:18 +0000 (0:00:02.183) 0:00:57.953 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:05:19 +0000 (0:00:00.895) 0:00:58.849 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:05:19 +0000 (0:00:00.023) 0:00:58.873 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:05:19 +0000 (0:00:00.021) 0:00:58.895 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:05:19 +0000 (0:00:00.021) 0:00:58.916 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:05:19 +0000 (0:00:00.066) 0:00:58.982 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:05:19 +0000 (0:00:00.023) 0:00:59.006 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:05:19 +0000 (0:00:00.022) 0:00:59.029 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:05:19 +0000 (0:00:00.024) 0:00:59.054 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:05:20 +0000 (0:00:00.546) 0:00:59.600 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:05:20 +0000 (0:00:00.028) 0:00:59.629 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:05:20 +0000 (0:00:00.022) 0:00:59.651 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:05:20 +0000 (0:00:00.021) 0:00:59.673 ****** 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, 9e3ab05d-0e4f-4e51-8759-eb162b09f405 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:05:20 +0000 (0:00:00.362) 0:01:00.035 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:05:20 +0000 (0:00:00.023) 0:01:00.058 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9e3ab05d-0e4f-4e51-8759-eb162b09f405 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:05:20 +0000 (0:00:00.024) 0:01:00.083 ****** 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, 9e3ab05d-0e4f-4e51-8759-eb162b09f405 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 9e3ab05d-0e4f-4e51-8759-eb162b09f405 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:05:20 +0000 (0:00:00.024) 0:01:00.107 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:05:20 +0000 (0:00:00.022) 0:01:00.130 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 22:05:21 +0000 (0:00:00.202) 0:01:00.332 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:05:21 +0000 (0:00:00.037) 0:01:00.370 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:05:21 +0000 (0:00:00.040) 0:01:00.411 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:05:21 +0000 (0:00:00.027) 0:01:00.439 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:05:21 +0000 (0:00:00.021) 0:01:00.460 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:05:21 +0000 (0:00:00.020) 0:01:00.481 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:23 +0000 (0:00:02.171) 0:01:02.653 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:05:24 +0000 (0:00:00.898) 0:01:03.551 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:05:24 +0000 (0:00:00.024) 0:01:03.576 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:05:24 +0000 (0:00:00.022) 0:01:03.599 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:05:24 +0000 (0:00:00.022) 0:01:03.621 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:05:24 +0000 (0:00:00.044) 0:01:03.666 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:05:24 +0000 (0:00:00.022) 0:01:03.688 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:05:24 +0000 (0:00:00.021) 0:01:03.710 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:05:24 +0000 (0:00:00.055) 0:01:03.766 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:05:25 +0000 (0:00:00.545) 0:01:04.312 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:05:25 +0000 (0:00:00.026) 0:01:04.338 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:05:25 +0000 (0:00:00.021) 0:01:04.359 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:05:25 +0000 (0:00:00.021) 0:01:04.381 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:05:25 +0000 (0:00:00.394) 0:01:04.776 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:05:25 +0000 (0:00:00.022) 0:01:04.798 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:05:25 +0000 (0:00:00.022) 0:01:04.821 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:05:25 +0000 (0:00:00.023) 0:01:04.845 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:05:25 +0000 (0:00:00.020) 0:01:04.866 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:05:25 +0000 (0:00:00.198) 0:01:05.065 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:05:25 +0000 (0:00:00.071) 0:01:05.136 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:05:25 +0000 (0:00:00.045) 0:01:05.182 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:05:25 +0000 (0:00:00.043) 0:01:05.225 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:05:25 +0000 (0:00:00.028) 0:01:05.253 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:05:26 +0000 (0:00:00.022) 0:01:05.276 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:05:26 +0000 (0:00:00.021) 0:01:05.298 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:28 +0000 (0:00:02.200) 0:01:07.498 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:05:29 +0000 (0:00:00.895) 0:01:08.394 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:05:29 +0000 (0:00:00.024) 0:01:08.418 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:05:29 +0000 (0:00:00.023) 0:01:08.442 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:05:29 +0000 (0:00:00.024) 0:01:08.466 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:05:29 +0000 (0:00:00.045) 0:01:08.512 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:05:29 +0000 (0:00:00.023) 0:01:08.535 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:05:29 +0000 (0:00:00.022) 0:01:08.557 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:05:29 +0000 (0:00:00.026) 0:01:08.583 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:05:29 +0000 (0:00:00.541) 0:01:09.125 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:05:29 +0000 (0:00:00.026) 0:01:09.152 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:05:29 +0000 (0:00:00.021) 0:01:09.173 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:05:29 +0000 (0:00:00.020) 0:01:09.194 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:05:30 +0000 (0:00:00.458) 0:01:09.653 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Show stderr messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:05:30 +0000 (0:00:00.021) 0:01:09.675 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:05:30 +0000 (0:00:00.022) 0:01:09.698 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:05:30 +0000 (0:00:00.023) 0:01:09.721 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:05:30 +0000 (0:00:00.021) 0:01:09.742 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:05:30 +0000 (0:00:00.201) 0:01:09.943 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:05:30 +0000 (0:00:00.042) 0:01:09.986 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:05:30 +0000 (0:00:00.064) 0:01:10.051 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:05:30 +0000 (0:00:00.028) 0:01:10.080 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.208) 0:01:10.288 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.021) 0:01:10.310 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021282", "end": "2024-02-06 22:05:31.231496", "rc": 1, "start": "2024-02-06 22:05:31.210214" } 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.225) 0:01:10.535 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.022) 0:01:10.558 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.023) 0:01:10.581 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.022) 0:01:10.604 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.022) 0:01:10.626 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.022) 0:01:10.649 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.024) 0:01:10.673 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.044) 0:01:10.718 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.070) 0:01:10.788 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.206) 0:01:10.995 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.025) 0:01:11.021 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.023) 0:01:11.044 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:05:31 +0000 (0:00:00.044) 0:01:11.088 ****** 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.042807", "end": "2024-02-06 22:05:32.035990", "rc": 1, "start": "2024-02-06 22:05:31.993183" } 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_rewritejvj9c8ut/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.252) 0:01:11.341 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.039) 0:01:11.380 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.023) 0:01:11.404 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.046) 0:01:11.450 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.036) 0:01:11.486 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.071) 0:01:11.557 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003549", "end": "2024-02-06 22:05:32.461705", "rc": 0, "start": "2024-02-06 22:05:32.458156" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.209) 0:01:11.767 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.023) 0:01:11.790 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.022) 0:01:11.813 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.047) 0:01:11.861 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.039) 0:01:11.900 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.040) 0:01:11.941 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.027) 0:01:11.968 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.021) 0:01:11.989 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:05:32 +0000 (0:00:00.020) 0:01:12.010 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:34 +0000 (0:00:02.187) 0:01:14.197 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:05:35 +0000 (0:00:00.901) 0:01:15.099 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:05:35 +0000 (0:00:00.023) 0:01:15.122 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:05:35 +0000 (0:00:00.041) 0:01:15.164 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:05:35 +0000 (0:00:00.022) 0:01:15.186 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:05:35 +0000 (0:00:00.045) 0:01:15.232 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:05:35 +0000 (0:00:00.021) 0:01:15.253 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:05:36 +0000 (0:00:00.021) 0:01:15.274 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:05:36 +0000 (0:00:00.025) 0:01:15.299 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:05:36 +0000 (0:00:00.544) 0:01:15.843 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:05:36 +0000 (0:00:00.025) 0:01:15.869 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:05:36 +0000 (0:00:00.021) 0:01:15.890 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:05:36 +0000 (0:00:00.021) 0:01:15.912 ****** 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, d77bfff3-bd8c-4935-91b2-ffc7b0b45b20 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.408) 0:01:16.320 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.021) 0:01:16.341 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d77bfff3-bd8c-4935-91b2-ffc7b0b45b20" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.049) 0:01:16.390 ****** 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, d77bfff3-bd8c-4935-91b2-ffc7b0b45b20\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d77bfff3-bd8c-4935-91b2-ffc7b0b45b20" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.023) 0:01:16.414 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.021) 0:01:16.436 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.202) 0:01:16.638 ****** 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, d77bfff3-bd8c-4935-91b2-ffc7b0b45b20\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, d77bfff3-bd8c-4935-91b2-ffc7b0b45b20" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.024) 0:01:16.663 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.037) 0:01:16.700 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.042) 0:01:16.742 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.028) 0:01:16.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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.021) 0:01:16.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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:05:37 +0000 (0:00:00.023) 0:01:16.816 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:39 +0000 (0:00:02.167) 0:01:18.983 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.901) 0:01:19.884 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.022) 0:01:19.907 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.021) 0:01:19.929 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.021) 0:01:19.950 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.090) 0:01:20.040 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.024) 0:01:20.065 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.023) 0:01:20.088 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:05:40 +0000 (0:00:00.024) 0:01:20.113 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.553) 0:01:20.666 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.027) 0:01:20.694 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.021) 0:01:20.715 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.020) 0:01:20.736 ****** 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, d77bfff3-bd8c-4935-91b2-ffc7b0b45b20 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.362) 0:01:21.099 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.021) 0:01:21.121 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d77bfff3-bd8c-4935-91b2-ffc7b0b45b20 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.023) 0:01:21.144 ****** 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, d77bfff3-bd8c-4935-91b2-ffc7b0b45b20 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, d77bfff3-bd8c-4935-91b2-ffc7b0b45b20 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.023) 0:01:21.167 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:05:41 +0000 (0:00:00.048) 0:01:21.216 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:05:42 +0000 (0:00:00.207) 0:01:21.423 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:05:42 +0000 (0:00:00.037) 0:01:21.461 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:05:42 +0000 (0:00:00.041) 0:01:21.502 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:05:42 +0000 (0:00:00.027) 0:01:21.529 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:05:42 +0000 (0:00:00.021) 0:01:21.551 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:05:42 +0000 (0:00:00.022) 0:01:21.574 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:44 +0000 (0:00:02.181) 0:01:23.756 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.896) 0:01:24.653 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.024) 0:01:24.677 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.022) 0:01:24.700 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.022) 0:01:24.723 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.044) 0:01:24.767 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.022) 0:01:24.789 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.022) 0:01:24.811 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:05:45 +0000 (0:00:00.074) 0:01:24.886 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.548) 0:01:25.435 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.026) 0:01:25.461 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.021) 0:01:25.482 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.021) 0:01:25.503 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.452) 0:01:25.955 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.023) 0:01:25.978 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.024) 0:01:26.002 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.023) 0:01:26.026 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.021) 0:01:26.047 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 22:05:46 +0000 (0:00:00.198) 0:01:26.246 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.067) 0:01:26.314 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.037) 0:01:26.352 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.043) 0:01:26.395 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.031) 0:01:26.426 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.027) 0:01:26.453 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 22:05:47 +0000 (0:00:00.024) 0:01:26.478 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 22:05:49 +0000 (0:00:02.171) 0:01:28.650 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.893) 0:01:29.544 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.023) 0:01:29.567 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.021) 0:01:29.588 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.021) 0:01:29.610 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.045) 0:01:29.655 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.023) 0:01:29.679 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.022) 0:01:29.701 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 22:05:50 +0000 (0:00:00.058) 0:01:29.760 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.544) 0:01:30.304 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.026) 0:01:30.331 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.021) 0:01:30.352 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.021) 0:01:30.374 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.381) 0:01:30.755 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.022) 0:01:30.778 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.024) 0:01:30.802 ****** 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_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.024) 0:01:30.826 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.021) 0:01:30.847 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.198) 0:01:31.046 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.066) 0:01:31.113 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.039) 0:01:31.152 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 22:05:51 +0000 (0:00:00.022) 0:01:31.175 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 22:05:52 +0000 (0:00:00.202) 0:01:31.377 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 22:05:52 +0000 (0:00:00.021) 0:01:31.399 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021693", "end": "2024-02-06 22:05:52.321878", "rc": 1, "start": "2024-02-06 22:05:52.300185" } 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 22:05:52 +0000 (0:00:00.227) 0:01:31.627 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 22:05:52 +0000 (0:00:00.023) 0:01:31.650 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 22:05:52 +0000 (0:00:00.022) 0:01:31.672 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 22:05:52 +0000 (0:00:00.022) 0:01:31.695 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 22:05:52 +0000 (0:00:00.022) 0:01:31.717 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 22:05:52 +0000 (0:00:00.022) 0:01:31.740 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 22:05:52 +0000 (0:00:00.022) 0:01:31.763 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.360367", "end": "2024-02-06 22:05:53.024044", "rc": 0, "start": "2024-02-06 22:05:52.663677" } STDOUT: NetworkManager-1.42.8-1.fc38 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 22:05:53 +0000 (0:00:00.565) 0:01:32.329 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 22:05:53 +0000 (0:00:00.022) 0:01:32.352 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.42.8-1.fc38" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 22:05:53 +0000 (0:00:00.022) 0:01:32.374 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 22:05:53 +0000 (0:00:00.043) 0:01:32.418 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 22:05:53 +0000 (0:00:00.037) 0:01:32.455 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 22:05:53 +0000 (0:00:00.204) 0:01:32.660 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 22:05:53 +0000 (0:00:00.024) 0:01:32.684 ****** 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_rewritejvj9c8ut/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 22:05:53 +0000 (0:00:00.022) 0:01:32.707 ****** included: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 22:05:53 +0000 (0:00:00.041) 0:01:32.748 ****** 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.041952", "end": "2024-02-06 22:05:53.690891", "rc": 1, "start": "2024-02-06 22:05:53.648939" } 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 22:05:53 +0000 (0:00:00.234) 0:01:32.982 ****** =============================================================================== linux-system-roles.network : Enable and start NetworkManager ------------ 2.91s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 2.29s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.28s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 2.21s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.20s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.19s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.18s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 2.17s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 2.15s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.63s /WORKDIR/git-bond_options_rewritejvj9c8ut/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.45s /WORKDIR/git-bond_options_rewritejvj9c8ut/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. ---^---^---^---^---^---