# 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_rewritedvms5tpt/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_rewritedvms5tpt/tests/tests_states_nm.yml:6 Tuesday 06 February 2024 17:22:43 +0000 (0:00:00.013) 0:00:00.013 ****** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tests_states_nm.yml:9 Tuesday 06 February 2024 17:22:44 +0000 (0:00:00.648) 0:00:00.662 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/tasks/el_repo_setup.yml:3 Tuesday 06 February 2024 17:22:44 +0000 (0:00:00.056) 0:00:00.719 ****** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/el_repo_setup.yml:19 Tuesday 06 February 2024 17:22:44 +0000 (0:00:00.338) 0:00:01.057 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/el_repo_setup.yml:24 Tuesday 06 February 2024 17:22:44 +0000 (0:00:00.263) 0:00:01.321 ****** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/el_repo_setup.yml:28 Tuesday 06 February 2024 17:22:44 +0000 (0:00:00.024) 0:00:01.346 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/el_repo_setup.yml:53 Tuesday 06 February 2024 17:22:44 +0000 (0:00:00.045) 0:00:01.391 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/enable_epel.yml:8 Tuesday 06 February 2024 17:22:44 +0000 (0:00:00.034) 0:00:01.426 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/enable_epel.yml:24 Tuesday 06 February 2024 17:22:44 +0000 (0:00:00.012) 0:00:01.439 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/enable_epel.yml:30 Tuesday 06 February 2024 17:22:44 +0000 (0:00:00.011) 0:00:01.450 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/enable_epel.yml:35 Tuesday 06 February 2024 17:22:44 +0000 (0:00:00.012) 0:00:01.462 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tasks/enable_epel.yml:40 Tuesday 06 February 2024 17:22:44 +0000 (0:00:00.012) 0:00:01.475 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/tests_states_nm.yml:11 Tuesday 06 February 2024 17:22:44 +0000 (0:00:00.010) 0:00:01.485 ****** 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_rewritedvms5tpt/tests/playbooks/tests_states.yml:3 Tuesday 06 February 2024 17:22:44 +0000 (0:00:00.019) 0:00:01.504 ****** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_states.yml:11 Tuesday 06 February 2024 17:22:45 +0000 (0:00:00.482) 0:00:01.987 ****** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_states.yml:22 Tuesday 06 February 2024 17:22:45 +0000 (0:00:00.012) 0:00:01.999 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:22:45 +0000 (0:00:00.017) 0:00:02.017 ****** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:22:45 +0000 (0:00:00.014) 0:00:02.032 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:22:45 +0000 (0:00:00.033) 0:00:02.065 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:22:45 +0000 (0:00:00.028) 0:00:02.094 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:22:45 +0000 (0:00:00.021) 0:00:02.116 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003104", "end": "2024-02-06 17:22:45.873688", "rc": 0, "start": "2024-02-06 17:22:45.870584" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:22:45 +0000 (0:00:00.283) 0:00:02.400 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:22:45 +0000 (0:00:00.015) 0:00:02.415 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:22:45 +0000 (0:00:00.023) 0:00:02.439 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 17:22:45 +0000 (0:00:00.040) 0:00:02.480 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007377", "end": "2024-02-06 17:22:46.155686", "rc": 1, "start": "2024-02-06 17:22:46.148309" } 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_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:22:46 +0000 (0:00:00.199) 0:00:02.679 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:22:46 +0000 (0:00:00.015) 0:00:02.695 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:22:46 +0000 (0:00:00.199) 0:00:02.894 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:22:46 +0000 (0:00:00.013) 0:00:02.908 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:22:46 +0000 (0:00:00.040) 0:00:02.948 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:22:46 +0000 (0:00:00.071) 0:00:03.020 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:22:46 +0000 (0:00:00.107) 0:00:03.127 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:22:46 +0000 (0:00:00.017) 0:00:03.145 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:22:46 +0000 (0:00:00.015) 0:00:03.161 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:22:46 +0000 (0:00:00.016) 0:00:03.178 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:22:48 +0000 (0:00:01.515) 0:00:04.693 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:22:49 +0000 (0:00:01.167) 0:00:05.860 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:22:49 +0000 (0:00:00.025) 0:00:05.886 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:22:49 +0000 (0:00:00.029) 0:00:05.915 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:22:49 +0000 (0:00:00.022) 0:00:05.937 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:22:49 +0000 (0:00:00.045) 0:00:05.983 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:22:49 +0000 (0:00:00.042) 0:00:06.025 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:22:49 +0000 (0:00:00.022) 0:00:06.048 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:22:49 +0000 (0:00:00.027) 0:00:06.076 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:22:50 +0000 (0:00:00.503) 0:00:06.580 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:22:50 +0000 (0:00:00.031) 0:00:06.611 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:22:50 +0000 (0:00:00.038) 0:00:06.650 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:22:50 +0000 (0:00:00.046) 0:00:06.696 ****** 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, 67df0d0c-e378-4e12-bd17-47789c857e50 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:22:50 +0000 (0:00:00.540) 0:00:07.236 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:22:50 +0000 (0:00:00.022) 0:00:07.258 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 67df0d0c-e378-4e12-bd17-47789c857e50" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:22:50 +0000 (0:00:00.051) 0:00:07.310 ****** 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, 67df0d0c-e378-4e12-bd17-47789c857e50\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 67df0d0c-e378-4e12-bd17-47789c857e50" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:22:50 +0000 (0:00:00.027) 0:00:07.337 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:22:50 +0000 (0:00:00.028) 0:00:07.366 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:22:51 +0000 (0:00:00.279) 0:00:07.646 ****** 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, 67df0d0c-e378-4e12-bd17-47789c857e50\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 67df0d0c-e378-4e12-bd17-47789c857e50" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:22:51 +0000 (0:00:00.036) 0:00:07.682 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:22:51 +0000 (0:00:00.062) 0:00:07.744 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:22:51 +0000 (0:00:00.045) 0:00:07.790 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:22:51 +0000 (0:00:00.025) 0:00:07.816 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:22:51 +0000 (0:00:00.192) 0:00:08.008 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:22:51 +0000 (0:00:00.025) 0:00:08.033 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019983", "end": "2024-02-06 17:22:51.713688", "rc": 0, "start": "2024-02-06 17:22:51.693705" } 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:22:51 +0000 (0:00:00.216) 0:00:08.250 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:22:51 +0000 (0:00:00.024) 0:00:08.275 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:22:51 +0000 (0:00:00.025) 0:00:08.300 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:22:51 +0000 (0:00:00.025) 0:00:08.325 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:22:51 +0000 (0:00:00.082) 0:00:08.407 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:22:51 +0000 (0:00:00.034) 0:00:08.442 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:22:51 +0000 (0:00:00.040) 0:00:08.483 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:22:52 +0000 (0:00:00.032) 0:00:08.515 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:22:52 +0000 (0:00:00.053) 0:00:08.568 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:22:52 +0000 (0:00:00.124) 0:00:08.692 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:22:52 +0000 (0:00:00.047) 0:00:08.740 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240170.6461167, "block_size": 4096, "blocks": 0, "ctime": 1707240170.6461167, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30480, "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": 1707240170.6461167, "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_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:22:52 +0000 (0:00:00.208) 0:00:08.948 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:22:52 +0000 (0:00:00.025) 0:00:08.974 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:22:52 +0000 (0:00:00.021) 0:00:08.996 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:22:52 +0000 (0:00:00.044) 0:00:09.040 ****** 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.064722", "end": "2024-02-06 17:22:52.764667", "rc": 1, "start": "2024-02-06 17:22:52.699945" } STDOUT: Connection 'statebr' (67df0d0c-e378-4e12-bd17-47789c857e50) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_states.yml:45 Tuesday 06 February 2024 17:22:52 +0000 (0:00:00.267) 0:00:09.308 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:22:52 +0000 (0:00:00.075) 0:00:09.384 ****** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:22:52 +0000 (0:00:00.025) 0:00:09.409 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:22:52 +0000 (0:00:00.044) 0:00:09.454 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:22:52 +0000 (0:00:00.039) 0:00:09.493 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:22:53 +0000 (0:00:00.036) 0:00:09.530 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003147", "end": "2024-02-06 17:22:53.191419", "rc": 0, "start": "2024-02-06 17:22:53.188272" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:22:53 +0000 (0:00:00.197) 0:00:09.728 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:22:53 +0000 (0:00:00.023) 0:00:09.751 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:22:53 +0000 (0:00:00.023) 0:00:09.775 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/delete_interface.yml:3 Tuesday 06 February 2024 17:22:53 +0000 (0:00:00.044) 0:00:09.819 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005994", "end": "2024-02-06 17:22:53.486746", "rc": 1, "start": "2024-02-06 17:22:53.480752" } 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_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:22:53 +0000 (0:00:00.202) 0:00:10.022 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:22:53 +0000 (0:00:00.047) 0:00:10.070 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:22:53 +0000 (0:00:00.198) 0:00:10.268 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:22:53 +0000 (0:00:00.092) 0:00:10.361 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Tuesday 06 February 2024 17:22:53 +0000 (0:00:00.043) 0:00:10.404 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:22:53 +0000 (0:00:00.055) 0:00:10.460 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:22:54 +0000 (0:00:00.053) 0:00:10.514 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:22:54 +0000 (0:00:00.028) 0:00:10.543 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:22:54 +0000 (0:00:00.022) 0:00:10.565 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:22:54 +0000 (0:00:00.022) 0:00:10.587 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:22:55 +0000 (0:00:01.410) 0:00:11.998 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:22:56 +0000 (0:00:00.983) 0:00:12.982 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:22:56 +0000 (0:00:00.070) 0:00:13.052 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:22:56 +0000 (0:00:00.039) 0:00:13.092 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:22:56 +0000 (0:00:00.053) 0:00:13.145 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:22:56 +0000 (0:00:00.061) 0:00:13.206 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:22:56 +0000 (0:00:00.032) 0:00:13.239 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:22:56 +0000 (0:00:00.058) 0:00:13.297 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:22:56 +0000 (0:00:00.074) 0:00:13.372 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:22:57 +0000 (0:00:00.404) 0:00:13.777 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:22:57 +0000 (0:00:00.034) 0:00:13.812 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:22:57 +0000 (0:00:00.067) 0:00:13.879 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:22:57 +0000 (0:00:00.038) 0:00:13.917 ****** 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, 940872cf-eff3-48df-bfa6-d2d0fb95bcdf TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:22:57 +0000 (0:00:00.417) 0:00:14.335 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:22:57 +0000 (0:00:00.048) 0:00:14.383 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 940872cf-eff3-48df-bfa6-d2d0fb95bcdf" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:22:57 +0000 (0:00:00.086) 0:00:14.470 ****** 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, 940872cf-eff3-48df-bfa6-d2d0fb95bcdf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 940872cf-eff3-48df-bfa6-d2d0fb95bcdf" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:22:58 +0000 (0:00:00.088) 0:00:14.558 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:22:58 +0000 (0:00:00.036) 0:00:14.594 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Tuesday 06 February 2024 17:22:58 +0000 (0:00:00.259) 0:00:14.854 ****** 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, 940872cf-eff3-48df-bfa6-d2d0fb95bcdf\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 940872cf-eff3-48df-bfa6-d2d0fb95bcdf" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:22:58 +0000 (0:00:00.029) 0:00:14.884 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:22:58 +0000 (0:00:00.072) 0:00:14.956 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:22:58 +0000 (0:00:00.040) 0:00:14.997 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:22:58 +0000 (0:00:00.222) 0:00:15.219 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:22:58 +0000 (0:00:00.048) 0:00:15.267 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:22:58 +0000 (0:00:00.059) 0:00:15.327 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:22:58 +0000 (0:00:00.056) 0:00:15.383 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:22:59 +0000 (0:00:00.225) 0:00:15.608 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:22:59 +0000 (0:00:00.048) 0:00:15.657 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019773", "end": "2024-02-06 17:22:59.346489", "rc": 0, "start": "2024-02-06 17:22:59.326716" } 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:22:59 +0000 (0:00:00.237) 0:00:15.894 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:22:59 +0000 (0:00:00.056) 0:00:15.950 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:22:59 +0000 (0:00:00.037) 0:00:15.987 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:22:59 +0000 (0:00:00.054) 0:00:16.042 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:22:59 +0000 (0:00:00.043) 0:00:16.086 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:22:59 +0000 (0:00:00.028) 0:00:16.114 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:22:59 +0000 (0:00:00.037) 0:00:16.152 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:22:59 +0000 (0:00:00.050) 0:00:16.202 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:22:59 +0000 (0:00:00.029) 0:00:16.231 ****** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:22:59 +0000 (0:00:00.035) 0:00:16.267 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:22:59 +0000 (0:00:00.036) 0:00:16.304 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:22:59 +0000 (0:00:00.043) 0:00:16.348 ****** 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.038570", "end": "2024-02-06 17:23:00.050918", "rc": 1, "start": "2024-02-06 17:23:00.012348" } STDOUT: Connection 'statebr' (940872cf-eff3-48df-bfa6-d2d0fb95bcdf) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_states.yml:65 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.314) 0:00:16.663 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.043) 0:00:16.706 ****** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.027) 0:00:16.733 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.070) 0:00:16.804 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.052) 0:00:16.856 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.060) 0:00:16.917 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003033", "end": "2024-02-06 17:23:00.608407", "rc": 0, "start": "2024-02-06 17:23:00.605374" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.227) 0:00:17.144 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.034) 0:00:17.179 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.033) 0:00:17.212 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.073) 0:00:17.286 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.057) 0:00:17.343 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.078) 0:00:17.422 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.028) 0:00:17.450 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.026) 0:00:17.477 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:00 +0000 (0:00:00.025) 0:00:17.502 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:02 +0000 (0:00:01.403) 0:00:18.906 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:03 +0000 (0:00:00.959) 0:00:19.865 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:03 +0000 (0:00:00.075) 0:00:19.941 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:23:03 +0000 (0:00:00.042) 0:00:19.984 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:23:03 +0000 (0:00:00.055) 0:00:20.039 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:23:03 +0000 (0:00:00.060) 0:00:20.100 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:23:03 +0000 (0:00:00.029) 0:00:20.130 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:23:03 +0000 (0:00:00.023) 0:00:20.153 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:23:03 +0000 (0:00:00.025) 0:00:20.179 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:23:04 +0000 (0:00:00.375) 0:00:20.555 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:23:04 +0000 (0:00:00.029) 0:00:20.584 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:23:04 +0000 (0:00:00.025) 0:00:20.609 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:23:04 +0000 (0:00:00.023) 0:00:20.633 ****** 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, 95eb44ed-59e3-402b-a0a7-b9e2b2c73739 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:23:04 +0000 (0:00:00.390) 0:00:21.024 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:23:04 +0000 (0:00:00.024) 0:00:21.049 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 95eb44ed-59e3-402b-a0a7-b9e2b2c73739" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:23:04 +0000 (0:00:00.025) 0:00:21.074 ****** 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, 95eb44ed-59e3-402b-a0a7-b9e2b2c73739\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 95eb44ed-59e3-402b-a0a7-b9e2b2c73739" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:23:04 +0000 (0:00:00.024) 0:00:21.099 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:23:04 +0000 (0:00:00.024) 0:00:21.123 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:23:04 +0000 (0:00:00.187) 0:00:21.311 ****** 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, 95eb44ed-59e3-402b-a0a7-b9e2b2c73739\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 95eb44ed-59e3-402b-a0a7-b9e2b2c73739" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:23:04 +0000 (0:00:00.026) 0:00:21.337 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:23:04 +0000 (0:00:00.047) 0:00:21.384 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:04 +0000 (0:00:00.060) 0:00:21.445 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:04 +0000 (0:00:00.048) 0:00:21.493 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:05 +0000 (0:00:00.031) 0:00:21.524 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:05 +0000 (0:00:00.023) 0:00:21.547 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:05 +0000 (0:00:00.023) 0:00:21.570 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:06 +0000 (0:00:01.409) 0:00:22.980 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:07 +0000 (0:00:01.013) 0:00:23.993 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:07 +0000 (0:00:00.039) 0:00:24.032 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:23:07 +0000 (0:00:00.025) 0:00:24.057 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:23:07 +0000 (0:00:00.045) 0:00:24.103 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:23:07 +0000 (0:00:00.072) 0:00:24.176 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:23:07 +0000 (0:00:00.038) 0:00:24.214 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:23:07 +0000 (0:00:00.056) 0:00:24.271 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:23:07 +0000 (0:00:00.029) 0:00:24.300 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:23:08 +0000 (0:00:00.380) 0:00:24.681 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:23:08 +0000 (0:00:00.026) 0:00:24.707 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:23:08 +0000 (0:00:00.022) 0:00:24.730 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:23:08 +0000 (0:00:00.062) 0:00:24.793 ****** 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, 95eb44ed-59e3-402b-a0a7-b9e2b2c73739 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:23:08 +0000 (0:00:00.360) 0:00:25.154 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:23:08 +0000 (0:00:00.047) 0:00:25.202 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 95eb44ed-59e3-402b-a0a7-b9e2b2c73739 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:23:08 +0000 (0:00:00.037) 0:00:25.239 ****** 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, 95eb44ed-59e3-402b-a0a7-b9e2b2c73739 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 95eb44ed-59e3-402b-a0a7-b9e2b2c73739 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:23:08 +0000 (0:00:00.024) 0:00:25.263 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:23:08 +0000 (0:00:00.022) 0:00:25.286 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:23:08 +0000 (0:00:00.216) 0:00:25.503 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:23:09 +0000 (0:00:00.089) 0:00:25.592 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:23:09 +0000 (0:00:00.044) 0:00:25.637 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240184.435589, "block_size": 4096, "blocks": 0, "ctime": 1707240184.435589, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30611, "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": 1707240184.435589, "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_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:23:09 +0000 (0:00:00.210) 0:00:25.848 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:3 Tuesday 06 February 2024 17:23:09 +0000 (0:00:00.026) 0:00:25.875 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:23:09 +0000 (0:00:00.058) 0:00:25.933 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:23:09 +0000 (0:00:00.030) 0:00:25.964 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:23:09 +0000 (0:00:00.230) 0:00:26.195 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:23:09 +0000 (0:00:00.022) 0:00:26.217 ****** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019912", "end": "2024-02-06 17:23:09.895499", "rc": 0, "start": "2024-02-06 17:23:09.875587" } 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:23:09 +0000 (0:00:00.212) 0:00:26.430 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:23:09 +0000 (0:00:00.026) 0:00:26.456 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:23:09 +0000 (0:00:00.026) 0:00:26.483 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.024) 0:00:26.507 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.026) 0:00:26.533 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:5 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.024) 0:00:26.557 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:10 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.027) 0:00:26.584 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_present.yml:15 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.026) 0:00:26.611 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.023) 0:00:26.634 ****** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.021) 0:00:26.656 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.024) 0:00:26.681 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.045) 0:00:26.727 ****** 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.063853", "end": "2024-02-06 17:23:10.450341", "rc": 1, "start": "2024-02-06 17:23:10.386488" } STDOUT: Connection 'statebr' (95eb44ed-59e3-402b-a0a7-b9e2b2c73739) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_states.yml:83 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.257) 0:00:26.984 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.073) 0:00:27.058 ****** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.024) 0:00:27.083 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.045) 0:00:27.128 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.038) 0:00:27.167 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.035) 0:00:27.203 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003501", "end": "2024-02-06 17:23:10.862658", "rc": 0, "start": "2024-02-06 17:23:10.859157" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.194) 0:00:27.398 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.025) 0:00:27.423 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.023) 0:00:27.447 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:23:10 +0000 (0:00:00.049) 0:00:27.497 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:11 +0000 (0:00:00.047) 0:00:27.545 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:11 +0000 (0:00:00.044) 0:00:27.589 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:11 +0000 (0:00:00.071) 0:00:27.661 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:11 +0000 (0:00:00.023) 0:00:27.684 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:11 +0000 (0:00:00.023) 0:00:27.708 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:12 +0000 (0:00:01.405) 0:00:29.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:13 +0000 (0:00:00.973) 0:00:30.086 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:13 +0000 (0:00:00.028) 0:00:30.115 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:23:13 +0000 (0:00:00.036) 0:00:30.152 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:23:13 +0000 (0:00:00.023) 0:00:30.175 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:23:13 +0000 (0:00:00.118) 0:00:30.294 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:23:13 +0000 (0:00:00.024) 0:00:30.318 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:23:13 +0000 (0:00:00.027) 0:00:30.346 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:23:13 +0000 (0:00:00.036) 0:00:30.383 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:23:14 +0000 (0:00:00.387) 0:00:30.771 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:23:14 +0000 (0:00:00.031) 0:00:30.802 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:23:14 +0000 (0:00:00.024) 0:00:30.827 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:23:14 +0000 (0:00:00.024) 0:00:30.852 ****** 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, 04f0b222-ab99-42db-939b-d04511a50aeb TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:23:14 +0000 (0:00:00.440) 0:00:31.292 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:23:14 +0000 (0:00:00.025) 0:00:31.317 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04f0b222-ab99-42db-939b-d04511a50aeb" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:23:14 +0000 (0:00:00.029) 0:00:31.346 ****** 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, 04f0b222-ab99-42db-939b-d04511a50aeb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04f0b222-ab99-42db-939b-d04511a50aeb" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:23:14 +0000 (0:00:00.026) 0:00:31.373 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:23:14 +0000 (0:00:00.040) 0:00:31.413 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:23:15 +0000 (0:00:00.191) 0:00:31.605 ****** 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, 04f0b222-ab99-42db-939b-d04511a50aeb\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 04f0b222-ab99-42db-939b-d04511a50aeb" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:23:15 +0000 (0:00:00.041) 0:00:31.647 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:15 +0000 (0:00:00.084) 0:00:31.732 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:15 +0000 (0:00:00.045) 0:00:31.777 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:15 +0000 (0:00:00.033) 0:00:31.811 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:15 +0000 (0:00:00.023) 0:00:31.834 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:15 +0000 (0:00:00.024) 0:00:31.858 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:16 +0000 (0:00:01.468) 0:00:33.327 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:17 +0000 (0:00:01.004) 0:00:34.332 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:17 +0000 (0:00:00.028) 0:00:34.360 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:23:17 +0000 (0:00:00.027) 0:00:34.388 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:23:17 +0000 (0:00:00.023) 0:00:34.411 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:23:17 +0000 (0:00:00.045) 0:00:34.457 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:23:17 +0000 (0:00:00.022) 0:00:34.480 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:23:17 +0000 (0:00:00.023) 0:00:34.503 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:23:18 +0000 (0:00:00.026) 0:00:34.529 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:23:18 +0000 (0:00:00.357) 0:00:34.887 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:23:18 +0000 (0:00:00.028) 0:00:34.915 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:23:18 +0000 (0:00:00.023) 0:00:34.939 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Configure networking connection profiles] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:23:18 +0000 (0:00:00.024) 0:00:34.963 ****** 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, 04f0b222-ab99-42db-939b-d04511a50aeb skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:23:18 +0000 (0:00:00.346) 0:00:35.310 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:23:18 +0000 (0:00:00.023) 0:00:35.333 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04f0b222-ab99-42db-939b-d04511a50aeb skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:23:18 +0000 (0:00:00.025) 0:00:35.358 ****** 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, 04f0b222-ab99-42db-939b-d04511a50aeb skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 04f0b222-ab99-42db-939b-d04511a50aeb skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:23:18 +0000 (0:00:00.061) 0:00:35.420 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:23:18 +0000 (0:00:00.024) 0:00:35.445 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:23:19 +0000 (0:00:00.192) 0:00:35.638 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 17:23:19 +0000 (0:00:00.044) 0:00:35.683 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:19 +0000 (0:00:00.045) 0:00:35.728 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:19 +0000 (0:00:00.045) 0:00:35.773 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:19 +0000 (0:00:00.029) 0:00:35.802 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:19 +0000 (0:00:00.025) 0:00:35.828 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:19 +0000 (0:00:00.046) 0:00:35.874 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:20 +0000 (0:00:01.497) 0:00:37.372 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:21 +0000 (0:00:00.944) 0:00:38.316 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:21 +0000 (0:00:00.024) 0:00:38.341 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:23:21 +0000 (0:00:00.025) 0:00:38.366 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:23:21 +0000 (0:00:00.035) 0:00:38.401 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:23:21 +0000 (0:00:00.066) 0:00:38.468 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:23:21 +0000 (0:00:00.037) 0:00:38.505 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.030) 0:00:38.535 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.048) 0:00:38.584 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.404) 0:00:38.989 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.033) 0:00:39.022 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.073) 0:00:39.096 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:23:22 +0000 (0:00:00.025) 0:00:39.121 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.385) 0:00:39.507 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.026) 0:00:39.534 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.049) 0:00:39.584 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.047) 0:00:39.632 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.025) 0:00:39.657 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.256) 0:00:39.914 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml:3 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.049) 0:00:39.964 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.052) 0:00:40.017 ****** ok: [sut] => { "changed": false, "stat": { "atime": 1707240194.6563134, "block_size": 4096, "blocks": 0, "ctime": 1707240194.6563134, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30742, "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": 1707240194.6563134, "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_rewritedvms5tpt/tests/playbooks/tasks/assert_device_present.yml:5 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.207) 0:00:40.224 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.030) 0:00:40.254 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.045) 0:00:40.299 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:23:23 +0000 (0:00:00.065) 0:00:40.365 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.197) 0:00:40.563 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.026) 0:00:40.589 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020257", "end": "2024-02-06 17:23:24.271284", "rc": 1, "start": "2024-02-06 17:23:24.251027" } 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.220) 0:00:40.809 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.046) 0:00:40.855 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.040) 0:00:40.896 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.034) 0:00:40.930 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.024) 0:00:40.954 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.024) 0:00:40.979 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.029) 0:00:41.009 ****** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.022) 0:00:41.032 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.024) 0:00:41.057 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.042) 0:00:41.100 ****** 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.066600", "end": "2024-02-06 17:23:24.827789", "rc": 1, "start": "2024-02-06 17:23:24.761189" } STDOUT: Connection 'statebr' (04f0b222-ab99-42db-939b-d04511a50aeb) successfully deleted. STDERR: Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_states.yml:103 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.266) 0:00:41.366 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.093) 0:00:41.459 ****** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:23:24 +0000 (0:00:00.033) 0:00:41.493 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.071) 0:00:41.565 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.043) 0:00:41.608 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:23:25 +0000 (0:00:00.041) 0:00:41.650 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:01.004203", "end": "2024-02-06 17:23:26.313540", "rc": 0, "start": "2024-02-06 17:23:25.309337" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:23:26 +0000 (0:00:01.201) 0:00:42.851 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:23:26 +0000 (0:00:00.025) 0:00:42.876 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:23:26 +0000 (0:00:00.023) 0:00:42.900 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:23:26 +0000 (0:00:00.048) 0:00:42.948 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:26 +0000 (0:00:00.084) 0:00:43.033 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:26 +0000 (0:00:00.078) 0:00:43.112 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:26 +0000 (0:00:00.031) 0:00:43.143 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:26 +0000 (0:00:00.029) 0:00:43.173 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:26 +0000 (0:00:00.026) 0:00:43.199 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:28 +0000 (0:00:01.428) 0:00:44.628 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:29 +0000 (0:00:01.019) 0:00:45.647 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:29 +0000 (0:00:00.078) 0:00:45.725 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:23:29 +0000 (0:00:00.032) 0:00:45.757 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:23:29 +0000 (0:00:00.024) 0:00:45.782 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:23:29 +0000 (0:00:00.051) 0:00:45.833 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:23:29 +0000 (0:00:00.042) 0:00:45.875 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:23:29 +0000 (0:00:00.034) 0:00:45.910 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:23:29 +0000 (0:00:00.043) 0:00:45.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:23:29 +0000 (0:00:00.480) 0:00:46.434 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:23:29 +0000 (0:00:00.032) 0:00:46.467 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:23:29 +0000 (0:00:00.026) 0:00:46.493 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.039) 0:00:46.533 ****** 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, b848b9bd-eea6-4b92-94aa-6e0cfaca9900 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.426) 0:00:46.959 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.023) 0:00:46.983 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b848b9bd-eea6-4b92-94aa-6e0cfaca9900" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.028) 0:00:47.012 ****** 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, b848b9bd-eea6-4b92-94aa-6e0cfaca9900\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b848b9bd-eea6-4b92-94aa-6e0cfaca9900" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.031) 0:00:47.043 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.077) 0:00:47.120 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.222) 0:00:47.343 ****** 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, b848b9bd-eea6-4b92-94aa-6e0cfaca9900\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b848b9bd-eea6-4b92-94aa-6e0cfaca9900" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.031) 0:00:47.375 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.050) 0:00:47.425 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:30 +0000 (0:00:00.055) 0:00:47.481 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.029) 0:00:47.510 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.062) 0:00:47.573 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:31 +0000 (0:00:00.060) 0:00:47.633 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:32 +0000 (0:00:01.433) 0:00:49.067 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:33 +0000 (0:00:01.010) 0:00:50.077 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:33 +0000 (0:00:00.026) 0:00:50.104 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:23:33 +0000 (0:00:00.025) 0:00:50.129 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:23:33 +0000 (0:00:00.024) 0:00:50.153 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:23:33 +0000 (0:00:00.045) 0:00:50.199 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:23:33 +0000 (0:00:00.023) 0:00:50.223 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:23:33 +0000 (0:00:00.024) 0:00:50.247 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:23:33 +0000 (0:00:00.027) 0:00:50.275 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:23:34 +0000 (0:00:00.391) 0:00:50.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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:23:34 +0000 (0:00:00.048) 0:00:50.715 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:23:34 +0000 (0:00:00.025) 0:00:50.741 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:23:34 +0000 (0:00:00.032) 0:00:50.773 ****** 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, b848b9bd-eea6-4b92-94aa-6e0cfaca9900 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:23:34 +0000 (0:00:00.365) 0:00:51.139 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:23:34 +0000 (0:00:00.022) 0:00:51.161 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b848b9bd-eea6-4b92-94aa-6e0cfaca9900 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:23:34 +0000 (0:00:00.076) 0:00:51.238 ****** 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, b848b9bd-eea6-4b92-94aa-6e0cfaca9900 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b848b9bd-eea6-4b92-94aa-6e0cfaca9900 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:23:34 +0000 (0:00:00.039) 0:00:51.278 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:23:34 +0000 (0:00:00.040) 0:00:51.318 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/remove_profile.yml:3 Tuesday 06 February 2024 17:23:35 +0000 (0:00:00.203) 0:00:51.522 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:35 +0000 (0:00:00.041) 0:00:51.563 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:35 +0000 (0:00:00.042) 0:00:51.606 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:35 +0000 (0:00:00.028) 0:00:51.635 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:35 +0000 (0:00:00.023) 0:00:51.658 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:35 +0000 (0:00:00.025) 0:00:51.683 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:36 +0000 (0:00:01.415) 0:00:53.099 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.962) 0:00:54.062 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.023) 0:00:54.085 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.028) 0:00:54.114 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.024) 0:00:54.139 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.052) 0:00:54.191 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.023) 0:00:54.215 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.024) 0:00:54.239 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:23:37 +0000 (0:00:00.027) 0:00:54.266 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.379) 0:00:54.646 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.028) 0:00:54.675 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.099) 0:00:54.774 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.045) 0:00:54.819 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.440) 0:00:55.259 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.057) 0:00:55.317 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.041) 0:00:55.358 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.053) 0:00:55.412 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:23:38 +0000 (0:00:00.039) 0:00:55.452 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:23:39 +0000 (0:00:00.258) 0:00:55.710 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:23:39 +0000 (0:00:00.066) 0:00:55.777 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:39 +0000 (0:00:00.068) 0:00:55.845 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:39 +0000 (0:00:00.057) 0:00:55.902 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:39 +0000 (0:00:00.045) 0:00:55.947 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:39 +0000 (0:00:00.074) 0:00:56.022 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:39 +0000 (0:00:00.036) 0:00:56.058 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:40 +0000 (0:00:01.416) 0:00:57.475 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:41 +0000 (0:00:00.947) 0:00:58.423 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:41 +0000 (0:00:00.024) 0:00:58.447 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:23:41 +0000 (0:00:00.023) 0:00:58.471 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:23:41 +0000 (0:00:00.023) 0:00:58.494 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:23:42 +0000 (0:00:00.099) 0:00:58.594 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:23:42 +0000 (0:00:00.024) 0:00:58.619 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:23:42 +0000 (0:00:00.023) 0:00:58.642 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:23:42 +0000 (0:00:00.028) 0:00:58.670 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:23:42 +0000 (0:00:00.352) 0:00:59.022 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:23:42 +0000 (0:00:00.029) 0:00:59.052 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:23:42 +0000 (0:00:00.025) 0:00:59.077 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:23:42 +0000 (0:00:00.025) 0:00:59.102 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:23:43 +0000 (0:00:00.426) 0:00:59.529 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:23:43 +0000 (0:00:00.022) 0:00:59.551 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:23:43 +0000 (0:00:00.024) 0:00:59.576 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:23:43 +0000 (0:00:00.023) 0:00:59.599 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:23:43 +0000 (0:00:00.022) 0:00:59.621 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:23:43 +0000 (0:00:00.193) 0:00:59.814 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:23:43 +0000 (0:00:00.106) 0:00:59.921 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:23:43 +0000 (0:00:00.039) 0:00:59.960 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:23:43 +0000 (0:00:00.024) 0:00:59.985 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:23:43 +0000 (0:00:00.192) 0:01:00.177 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:23:43 +0000 (0:00:00.025) 0:01:00.202 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019274", "end": "2024-02-06 17:23:43.880837", "rc": 1, "start": "2024-02-06 17:23:43.861563" } 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:23:43 +0000 (0:00:00.216) 0:01:00.419 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:23:43 +0000 (0:00:00.024) 0:01:00.444 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:23:43 +0000 (0:00:00.025) 0:01:00.469 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.059) 0:01:00.529 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.023) 0:01:00.553 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.024) 0:01:00.578 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.024) 0:01:00.602 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.046) 0:01:00.649 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.065) 0:01:00.715 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.192) 0:01:00.907 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.026) 0:01:00.934 ****** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.023) 0:01:00.957 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.042) 0:01:01.000 ****** 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.035794", "end": "2024-02-06 17:23:44.701552", "rc": 1, "start": "2024-02-06 17:23:44.665758" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tests_states.yml:126 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.237) 0:01:01.237 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:5 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.040) 0:01:01.278 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:9 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.024) 0:01:01.303 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:21 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.045) 0:01:01.348 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:3 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.038) 0:01:01.387 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:3 Tuesday 06 February 2024 17:23:44 +0000 (0:00:00.036) 0:01:01.423 ****** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003322", "end": "2024-02-06 17:23:45.084300", "rc": 0, "start": "2024-02-06 17:23:45.080978" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_current_interfaces.yml:9 Tuesday 06 February 2024 17:23:45 +0000 (0:00:00.229) 0:01:01.653 ****** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/show_interfaces.yml:5 Tuesday 06 February 2024 17:23:45 +0000 (0:00:00.023) 0:01:01.676 ****** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:24 Tuesday 06 February 2024 17:23:45 +0000 (0:00:00.024) 0:01:01.701 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml:3 Tuesday 06 February 2024 17:23:45 +0000 (0:00:00.048) 0:01:01.750 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:45 +0000 (0:00:00.039) 0:01:01.790 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:45 +0000 (0:00:00.042) 0:01:01.833 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:45 +0000 (0:00:00.028) 0:01:01.861 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:45 +0000 (0:00:00.021) 0:01:01.883 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:45 +0000 (0:00:00.020) 0:01:01.904 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:46 +0000 (0:00:01.453) 0:01:03.357 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:47 +0000 (0:00:00.941) 0:01:04.299 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:47 +0000 (0:00:00.028) 0:01:04.327 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:23:47 +0000 (0:00:00.023) 0:01:04.351 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:23:47 +0000 (0:00:00.022) 0:01:04.373 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:23:47 +0000 (0:00:00.046) 0:01:04.419 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:23:47 +0000 (0:00:00.023) 0:01:04.443 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:23:47 +0000 (0:00:00.021) 0:01:04.465 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:23:47 +0000 (0:00:00.026) 0:01:04.491 ****** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:23:48 +0000 (0:00:00.375) 0:01:04.867 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:23:48 +0000 (0:00:00.084) 0:01:04.951 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:23:48 +0000 (0:00:00.028) 0:01:04.980 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:23:48 +0000 (0:00:00.044) 0:01:05.024 ****** 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, f45fa97c-956b-4439-bef5-606a3633edab TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:23:48 +0000 (0:00:00.408) 0:01:05.432 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:23:48 +0000 (0:00:00.026) 0:01:05.459 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f45fa97c-956b-4439-bef5-606a3633edab" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:23:48 +0000 (0:00:00.032) 0:01:05.491 ****** 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, f45fa97c-956b-4439-bef5-606a3633edab\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f45fa97c-956b-4439-bef5-606a3633edab" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:23:49 +0000 (0:00:00.028) 0:01:05.520 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:23:49 +0000 (0:00:00.022) 0:01:05.543 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/create_bridge_profile.yml:14 Tuesday 06 February 2024 17:23:49 +0000 (0:00:00.192) 0:01:05.735 ****** 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, f45fa97c-956b-4439-bef5-606a3633edab\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f45fa97c-956b-4439-bef5-606a3633edab" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/activate_profile.yml:3 Tuesday 06 February 2024 17:23:49 +0000 (0:00:00.040) 0:01:05.775 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:49 +0000 (0:00:00.053) 0:01:05.829 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:49 +0000 (0:00:00.049) 0:01:05.879 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:49 +0000 (0:00:00.027) 0:01:05.906 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:49 +0000 (0:00:00.023) 0:01:05.930 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:49 +0000 (0:00:00.022) 0:01:05.952 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:50 +0000 (0:00:01.433) 0:01:07.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:51 +0000 (0:00:00.939) 0:01:08.326 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:51 +0000 (0:00:00.024) 0:01:08.350 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:23:51 +0000 (0:00:00.024) 0:01:08.375 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:23:51 +0000 (0:00:00.026) 0:01:08.401 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:23:51 +0000 (0:00:00.073) 0:01:08.475 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:23:52 +0000 (0:00:00.095) 0:01:08.570 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:23:52 +0000 (0:00:00.041) 0:01:08.612 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:23:52 +0000 (0:00:00.041) 0:01:08.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:23:52 +0000 (0:00:00.398) 0:01:09.052 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:23:52 +0000 (0:00:00.054) 0:01:09.106 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:23:52 +0000 (0:00:00.027) 0:01:09.134 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:23:52 +0000 (0:00:00.050) 0:01:09.184 ****** 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, f45fa97c-956b-4439-bef5-606a3633edab skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:23:53 +0000 (0:00:00.397) 0:01:09.582 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:23:53 +0000 (0:00:00.053) 0:01:09.636 ****** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f45fa97c-956b-4439-bef5-606a3633edab skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:23:53 +0000 (0:00:00.032) 0:01:09.668 ****** 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, f45fa97c-956b-4439-bef5-606a3633edab skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f45fa97c-956b-4439-bef5-606a3633edab skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:23:53 +0000 (0:00:00.026) 0:01:09.694 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:23:53 +0000 (0:00:00.025) 0:01:09.720 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:23:53 +0000 (0:00:00.188) 0:01:09.909 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:53 +0000 (0:00:00.075) 0:01:09.985 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:53 +0000 (0:00:00.042) 0:01:10.028 ****** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:53 +0000 (0:00:00.029) 0:01:10.057 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:53 +0000 (0:00:00.022) 0:01:10.080 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:53 +0000 (0:00:00.026) 0:01:10.106 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:55 +0000 (0:00:01.422) 0:01:11.528 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:56 +0000 (0:00:00.988) 0:01:12.516 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:56 +0000 (0:00:00.041) 0:01:12.557 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:23:56 +0000 (0:00:00.048) 0:01:12.606 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:23:56 +0000 (0:00:00.025) 0:01:12.631 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:23:56 +0000 (0:00:00.047) 0:01:12.678 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:23:56 +0000 (0:00:00.023) 0:01:12.702 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:23:56 +0000 (0:00:00.021) 0:01:12.723 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:23:56 +0000 (0:00:00.027) 0:01:12.750 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:23:56 +0000 (0:00:00.352) 0:01:13.102 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:23:56 +0000 (0:00:00.026) 0:01:13.128 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:23:56 +0000 (0:00:00.021) 0:01:13.150 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:23:56 +0000 (0:00:00.022) 0:01:13.173 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:23:57 +0000 (0:00:00.417) 0:01:13.590 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:23:57 +0000 (0:00:00.023) 0:01:13.614 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:23:57 +0000 (0:00:00.054) 0:01:13.669 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:23:57 +0000 (0:00:00.024) 0:01:13.693 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:23:57 +0000 (0:00:00.023) 0:01:13.717 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:30 Tuesday 06 February 2024 17:23:57 +0000 (0:00:00.191) 0:01:13.909 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/remove+down_profile.yml:3 Tuesday 06 February 2024 17:23:57 +0000 (0:00:00.043) 0:01:13.952 ****** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:4 Tuesday 06 February 2024 17:23:57 +0000 (0:00:00.043) 0:01:13.996 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Tuesday 06 February 2024 17:23:57 +0000 (0:00:00.046) 0:01:14.043 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Tuesday 06 February 2024 17:23:57 +0000 (0:00:00.029) 0:01:14.073 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Tuesday 06 February 2024 17:23:57 +0000 (0:00:00.022) 0:01:14.095 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Tuesday 06 February 2024 17:23:57 +0000 (0:00:00.024) 0:01:14.120 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Tuesday 06 February 2024 17:23:59 +0000 (0:00:01.405) 0:01:15.526 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:7 Tuesday 06 February 2024 17:23:59 +0000 (0:00:00.937) 0:01:16.464 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:11 Tuesday 06 February 2024 17:23:59 +0000 (0:00:00.024) 0:01: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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:19 Tuesday 06 February 2024 17:24:00 +0000 (0:00:00.022) 0:01:16.511 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:30 Tuesday 06 February 2024 17:24:00 +0000 (0:00:00.022) 0:01:16.533 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:43 Tuesday 06 February 2024 17:24:00 +0000 (0:00:00.044) 0:01:16.578 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:58 Tuesday 06 February 2024 17:24:00 +0000 (0:00:00.021) 0:01:16.600 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:74 Tuesday 06 February 2024 17:24:00 +0000 (0:00:00.023) 0:01:16.624 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 Tuesday 06 February 2024 17:24:00 +0000 (0:00:00.025) 0:01:16.649 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:99 Tuesday 06 February 2024 17:24:00 +0000 (0:00:00.385) 0:01:17.035 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:108 Tuesday 06 February 2024 17:24:00 +0000 (0:00:00.026) 0:01:17.061 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:116 Tuesday 06 February 2024 17:24:00 +0000 (0:00:00.022) 0:01:17.084 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 Tuesday 06 February 2024 17:24:00 +0000 (0:00:00.022) 0:01:17.106 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:137 Tuesday 06 February 2024 17:24:00 +0000 (0:00:00.372) 0:01:17.479 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:143 Tuesday 06 February 2024 17:24:01 +0000 (0:00:00.036) 0:01:17.515 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:147 Tuesday 06 February 2024 17:24:01 +0000 (0:00:00.032) 0:01:17.547 ****** 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_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:152 Tuesday 06 February 2024 17:24:01 +0000 (0:00:00.039) 0:01:17.587 ****** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:158 Tuesday 06 February 2024 17:24:01 +0000 (0:00:00.023) 0:01:17.611 ****** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:36 Tuesday 06 February 2024 17:24:01 +0000 (0:00:00.206) 0:01:17.817 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_absent.yml:3 Tuesday 06 February 2024 17:24:01 +0000 (0:00:00.051) 0:01:17.868 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:3 Tuesday 06 February 2024 17:24:01 +0000 (0:00:00.057) 0:01:17.926 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:9 Tuesday 06 February 2024 17:24:01 +0000 (0:00:00.033) 0:01:17.960 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:17 Tuesday 06 February 2024 17:24:01 +0000 (0:00:00.267) 0:01:18.227 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:25 Tuesday 06 February 2024 17:24:01 +0000 (0:00:00.032) 0:01:18.260 ****** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019285", "end": "2024-02-06 17:24:01.968434", "rc": 1, "start": "2024-02-06 17:24:01.949149" } 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:35 Tuesday 06 February 2024 17:24:02 +0000 (0:00:00.251) 0:01:18.511 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:49 Tuesday 06 February 2024 17:24:02 +0000 (0:00:00.052) 0:01:18.563 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:56 Tuesday 06 February 2024 17:24:02 +0000 (0:00:00.053) 0:01:18.617 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:62 Tuesday 06 February 2024 17:24:02 +0000 (0:00:00.035) 0:01:18.652 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_profile_stat.yml:69 Tuesday 06 February 2024 17:24:02 +0000 (0:00:00.039) 0:01:18.691 ****** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_profile_absent.yml:5 Tuesday 06 February 2024 17:24:02 +0000 (0:00:00.036) 0:01:18.728 ****** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Tuesday 06 February 2024 17:24:02 +0000 (0:00:00.033) 0:01:18.762 ****** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.582766", "end": "2024-02-06 17:24:03.003558", "rc": 0, "start": "2024-02-06 17:24:02.420792" } STDOUT: NetworkManager-1.45.10-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Tuesday 06 February 2024 17:24:03 +0000 (0:00:00.790) 0:01:19.552 ****** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.10-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Tuesday 06 February 2024 17:24:03 +0000 (0:00:00.029) 0:01:19.581 ****** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.10-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:42 Tuesday 06 February 2024 17:24:03 +0000 (0:00:00.025) 0:01:19.607 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml:3 Tuesday 06 February 2024 17:24:03 +0000 (0:00:00.056) 0:01:19.664 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/get_interface_stat.yml:3 Tuesday 06 February 2024 17:24:03 +0000 (0:00:00.095) 0:01:19.759 ****** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/assert_device_absent.yml:5 Tuesday 06 February 2024 17:24:03 +0000 (0:00:00.198) 0:01:19.958 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:47 Tuesday 06 February 2024 17:24:03 +0000 (0:00:00.028) 0:01:19.986 ****** 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_rewritedvms5tpt/tests/playbooks/tasks/run_test.yml:66 Tuesday 06 February 2024 17:24:03 +0000 (0:00:00.045) 0:01:20.032 ****** included: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritedvms5tpt/tests/playbooks/tasks/cleanup_profile+device.yml:3 Tuesday 06 February 2024 17:24:03 +0000 (0:00:00.050) 0:01:20.082 ****** 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.037171", "end": "2024-02-06 17:24:03.803448", "rc": 1, "start": "2024-02-06 17:24:03.766277" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=316 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Tuesday 06 February 2024 17:24:03 +0000 (0:00:00.260) 0:01:20.343 ****** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.21s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 2.12s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Enable and start NetworkManager ------------ 1.53s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.50s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.47s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.47s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-bond_options_rewritedvms5tpt/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.22s /WORKDIR/git-bond_options_rewritedvms5tpt/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. ---^---^---^---^---^---