# 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_rewritem3h09x7t/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_rewritem3h09x7t/tests/tests_states_nm.yml:6 Wednesday 14 February 2024 17:08:58 +0000 (0:00:00.012) 0:00:00.012 **** ok: [sut] META: ran handlers TASK [Include the task 'el_repo_setup.yml'] ************************************ task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tests_states_nm.yml:9 Wednesday 14 February 2024 17:08:59 +0000 (0:00:00.775) 0:00:00.788 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 17:08:59 +0000 (0:00:00.033) 0:00:00.821 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 17:09:00 +0000 (0:00:00.421) 0:00:01.243 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 17:09:00 +0000 (0:00:00.289) 0:00:01.532 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 17:09:00 +0000 (0:00:00.023) 0:00:01.556 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 17:09:00 +0000 (0:00:00.029) 0:00:01.586 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 17:09:00 +0000 (0:00:00.047) 0:00:01.633 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 17:09:00 +0000 (0:00:00.025) 0:00:01.658 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 17:09:00 +0000 (0:00:00.054) 0:00:01.712 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 17:09:00 +0000 (0:00:00.038) 0:00:01.751 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 17:09:00 +0000 (0:00:00.028) 0:00:01.780 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/tests_states_nm.yml:11 Wednesday 14 February 2024 17:09:00 +0000 (0:00:00.016) 0:00:01.796 **** 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_rewritem3h09x7t/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 17:09:00 +0000 (0:00:00.026) 0:00:01.823 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 17:09:01 +0000 (0:00:00.537) 0:00:02.360 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 17:09:01 +0000 (0:00:00.014) 0:00:02.374 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:09:01 +0000 (0:00:00.018) 0:00:02.393 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:09:01 +0000 (0:00:00.013) 0:00:02.407 **** 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_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:09:01 +0000 (0:00:00.032) 0:00:02.440 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:09:01 +0000 (0:00:00.016) 0:00:02.456 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:09:01 +0000 (0:00:00.015) 0:00:02.471 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003536", "end": "2024-02-14 17:09:01.580794", "rc": 0, "start": "2024-02-14 17:09:01.577258" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:09:01 +0000 (0:00:00.257) 0:00:02.729 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:09:01 +0000 (0:00:00.012) 0:00:02.742 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:09:01 +0000 (0:00:00.011) 0:00:02.754 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:09:01 +0000 (0:00:00.023) 0:00:02.778 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008873", "end": "2024-02-14 17:09:01.844287", "rc": 1, "start": "2024-02-14 17:09:01.835414" } 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_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:09:01 +0000 (0:00:00.214) 0:00:02.992 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:09:01 +0000 (0:00:00.015) 0:00:03.008 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:09:02 +0000 (0:00:00.199) 0:00:03.207 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:09:02 +0000 (0:00:00.014) 0:00:03.222 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:09:02 +0000 (0:00:00.019) 0:00:03.242 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:09:02 +0000 (0:00:00.035) 0:00:03.277 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:09:02 +0000 (0:00:00.086) 0:00:03.364 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:09:02 +0000 (0:00:00.016) 0:00:03.380 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:09:02 +0000 (0:00:00.015) 0:00:03.396 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:09:02 +0000 (0:00:00.012) 0:00:03.409 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:09:03 +0000 (0:00:01.652) 0:00:05.061 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:09:05 +0000 (0:00:01.217) 0:00:06.278 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:09:05 +0000 (0:00:00.027) 0:00:06.305 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:09:05 +0000 (0:00:00.055) 0:00:06.361 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:09:05 +0000 (0:00:00.025) 0:00:06.386 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:09:05 +0000 (0:00:00.086) 0:00:06.472 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:09:05 +0000 (0:00:00.031) 0:00:06.504 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:09:05 +0000 (0:00:00.023) 0:00:06.527 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:09:05 +0000 (0:00:00.025) 0:00:06.552 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:09:05 +0000 (0:00:00.518) 0:00:07.070 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:09:05 +0000 (0:00:00.027) 0:00:07.097 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:09:05 +0000 (0:00:00.022) 0:00:07.120 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.022) 0:00:07.142 **** 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, 89fe3e21-703e-4916-b954-c2fff2e419ec TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.616) 0:00:07.759 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.022) 0:00:07.781 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 89fe3e21-703e-4916-b954-c2fff2e419ec" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.026) 0:00:07.807 **** 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, 89fe3e21-703e-4916-b954-c2fff2e419ec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 89fe3e21-703e-4916-b954-c2fff2e419ec" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.025) 0:00:07.833 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:09:06 +0000 (0:00:00.025) 0:00:07.859 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.314) 0:00:08.173 **** 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, 89fe3e21-703e-4916-b954-c2fff2e419ec\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 89fe3e21-703e-4916-b954-c2fff2e419ec" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.025) 0:00:08.199 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.053) 0:00:08.252 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.044) 0:00:08.296 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.025) 0:00:08.321 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.208) 0:00:08.530 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.020) 0:00:08.551 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022296", "end": "2024-02-14 17:09:07.623543", "rc": 0, "start": "2024-02-14 17:09:07.601247" } 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.235) 0:00:08.787 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.027) 0:00:08.814 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.056) 0:00:08.871 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.026) 0:00:08.897 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.025) 0:00:08.923 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.026) 0:00:08.949 **** 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_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.030) 0:00:08.980 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.026) 0:00:09.006 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.022) 0:00:09.029 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.045) 0:00:09.075 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:09:07 +0000 (0:00:00.036) 0:00:09.111 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930546.5167756, "block_size": 4096, "blocks": 0, "ctime": 1707930546.5167756, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30193, "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": 1707930546.5167756, "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_rewritem3h09x7t/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:09:08 +0000 (0:00:00.210) 0:00:09.322 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:09:08 +0000 (0:00:00.026) 0:00:09.348 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:09:08 +0000 (0:00:00.023) 0:00:09.372 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:09:08 +0000 (0:00:00.042) 0:00:09.414 **** 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.069167", "end": "2024-02-14 17:09:08.534115", "rc": 1, "start": "2024-02-14 17:09:08.464948" } STDOUT: Connection 'statebr' (89fe3e21-703e-4916-b954-c2fff2e419ec) 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_rewritem3h09x7t/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 17:09:08 +0000 (0:00:00.313) 0:00:09.728 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:09:08 +0000 (0:00:00.039) 0:00:09.767 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:09:08 +0000 (0:00:00.024) 0:00:09.791 **** 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_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:09:08 +0000 (0:00:00.044) 0:00:09.835 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:09:08 +0000 (0:00:00.037) 0:00:09.873 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:09:08 +0000 (0:00:00.035) 0:00:09.909 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003565", "end": "2024-02-14 17:09:08.966200", "rc": 0, "start": "2024-02-14 17:09:08.962635" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:09:08 +0000 (0:00:00.215) 0:00:10.125 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:09:09 +0000 (0:00:00.023) 0:00:10.149 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:09:09 +0000 (0:00:00.023) 0:00:10.172 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 17:09:09 +0000 (0:00:00.044) 0:00:10.216 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.006552", "end": "2024-02-14 17:09:09.276706", "rc": 1, "start": "2024-02-14 17:09:09.270154" } 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_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:09:09 +0000 (0:00:00.234) 0:00:10.451 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:09:09 +0000 (0:00:00.070) 0:00:10.522 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:09:09 +0000 (0:00:00.207) 0:00:10.729 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:09:09 +0000 (0:00:00.024) 0:00:10.754 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 17:09:09 +0000 (0:00:00.043) 0:00:10.797 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:09:09 +0000 (0:00:00.041) 0:00:10.838 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:09:09 +0000 (0:00:00.041) 0:00:10.880 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:09:09 +0000 (0:00:00.036) 0:00:10.916 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:09:09 +0000 (0:00:00.027) 0:00:10.944 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:09:09 +0000 (0:00:00.028) 0:00:10.973 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:09:11 +0000 (0:00:01.568) 0:00:12.541 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:09:12 +0000 (0:00:01.033) 0:00:13.575 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:09:12 +0000 (0:00:00.024) 0:00:13.599 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:09:12 +0000 (0:00:00.023) 0:00:13.623 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:09:12 +0000 (0:00:00.023) 0:00:13.646 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:09:12 +0000 (0:00:00.047) 0:00:13.693 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:09:12 +0000 (0:00:00.023) 0:00:13.716 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:09:12 +0000 (0:00:00.036) 0:00:13.753 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:09:12 +0000 (0:00:00.031) 0:00:13.785 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:09:13 +0000 (0:00:00.507) 0:00:14.292 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:09:13 +0000 (0:00:00.028) 0:00:14.321 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:09:13 +0000 (0:00:00.022) 0:00:14.343 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:09:13 +0000 (0:00:00.029) 0:00:14.372 **** 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, def3735e-8bb7-449b-8e0f-65aeae5797f9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:09:13 +0000 (0:00:00.439) 0:00:14.812 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:09:13 +0000 (0:00:00.023) 0:00:14.835 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, def3735e-8bb7-449b-8e0f-65aeae5797f9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:09:13 +0000 (0:00:00.024) 0:00:14.859 **** 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, def3735e-8bb7-449b-8e0f-65aeae5797f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, def3735e-8bb7-449b-8e0f-65aeae5797f9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:09:13 +0000 (0:00:00.027) 0:00:14.886 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:09:13 +0000 (0:00:00.026) 0:00:14.913 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 17:09:13 +0000 (0:00:00.207) 0:00:15.121 **** 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, def3735e-8bb7-449b-8e0f-65aeae5797f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, def3735e-8bb7-449b-8e0f-65aeae5797f9" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:09:14 +0000 (0:00:00.034) 0:00:15.155 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:09:14 +0000 (0:00:00.058) 0:00:15.214 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:09:14 +0000 (0:00:00.058) 0:00:15.272 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:09:14 +0000 (0:00:00.247) 0:00:15.519 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:09:14 +0000 (0:00:00.023) 0:00:15.543 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:09:14 +0000 (0:00:00.037) 0:00:15.581 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:09:14 +0000 (0:00:00.022) 0:00:15.604 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:09:14 +0000 (0:00:00.211) 0:00:15.815 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:09:14 +0000 (0:00:00.027) 0:00:15.842 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022296", "end": "2024-02-14 17:09:14.927494", "rc": 0, "start": "2024-02-14 17:09:14.905198" } 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:09:14 +0000 (0:00:00.245) 0:00:16.088 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:09:14 +0000 (0:00:00.024) 0:00:16.112 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.023) 0:00:16.135 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.023) 0:00:16.159 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.023) 0:00:16.183 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.023) 0:00:16.206 **** 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_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.025) 0:00:16.232 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.030) 0:00:16.262 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.024) 0:00:16.287 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.052) 0:00:16.340 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.024) 0:00:16.364 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.046) 0:00:16.411 **** 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.043581", "end": "2024-02-14 17:09:15.509711", "rc": 1, "start": "2024-02-14 17:09:15.466130" } STDOUT: Connection 'statebr' (def3735e-8bb7-449b-8e0f-65aeae5797f9) 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_rewritem3h09x7t/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.257) 0:00:16.669 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.038) 0:00:16.707 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.024) 0:00:16.731 **** 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_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.045) 0:00:16.776 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.036) 0:00:16.813 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.035) 0:00:16.848 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003543", "end": "2024-02-14 17:09:15.916774", "rc": 0, "start": "2024-02-14 17:09:15.913231" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.229) 0:00:17.077 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:09:15 +0000 (0:00:00.025) 0:00:17.102 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:09:16 +0000 (0:00:00.037) 0:00:17.140 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:09:16 +0000 (0:00:00.087) 0:00:17.227 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:09:16 +0000 (0:00:00.043) 0:00:17.270 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:09:16 +0000 (0:00:00.045) 0:00:17.316 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:09:16 +0000 (0:00:00.030) 0:00:17.347 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:09:16 +0000 (0:00:00.056) 0:00:17.404 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:09:16 +0000 (0:00:00.041) 0:00:17.445 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:09:17 +0000 (0:00:01.629) 0:00:19.074 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:09:19 +0000 (0:00:01.084) 0:00:20.158 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:09:19 +0000 (0:00:00.030) 0:00:20.189 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:09:19 +0000 (0:00:00.036) 0:00:20.226 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:09:19 +0000 (0:00:00.036) 0:00:20.262 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:09:19 +0000 (0:00:00.056) 0:00:20.319 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:09:19 +0000 (0:00:00.028) 0:00:20.347 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:09:19 +0000 (0:00:00.028) 0:00:20.376 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:09:19 +0000 (0:00:00.035) 0:00:20.411 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:09:19 +0000 (0:00:00.416) 0:00:20.828 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:09:19 +0000 (0:00:00.032) 0:00:20.860 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:09:19 +0000 (0:00:00.038) 0:00:20.898 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:09:19 +0000 (0:00:00.024) 0:00:20.922 **** 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, 0eefef04-ef58-4321-ab5e-a7696f5cc474 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:09:20 +0000 (0:00:00.463) 0:00:21.386 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:09:20 +0000 (0:00:00.032) 0:00:21.418 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0eefef04-ef58-4321-ab5e-a7696f5cc474" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:09:20 +0000 (0:00:00.028) 0:00:21.446 **** 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, 0eefef04-ef58-4321-ab5e-a7696f5cc474\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0eefef04-ef58-4321-ab5e-a7696f5cc474" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:09:20 +0000 (0:00:00.025) 0:00:21.472 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:09:20 +0000 (0:00:00.024) 0:00:21.496 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:09:20 +0000 (0:00:00.207) 0:00:21.704 **** 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, 0eefef04-ef58-4321-ab5e-a7696f5cc474\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 0eefef04-ef58-4321-ab5e-a7696f5cc474" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:09:20 +0000 (0:00:00.025) 0:00:21.730 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:09:20 +0000 (0:00:00.042) 0:00:21.772 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:09:20 +0000 (0:00:00.051) 0:00:21.824 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:09:20 +0000 (0:00:00.049) 0:00:21.873 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:09:20 +0000 (0:00:00.030) 0:00:21.904 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:09:20 +0000 (0:00:00.026) 0:00:21.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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:09:20 +0000 (0:00:00.023) 0:00:21.954 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:09:22 +0000 (0:00:01.612) 0:00:23.567 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:09:23 +0000 (0:00:01.036) 0:00:24.604 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:09:23 +0000 (0:00:00.024) 0:00:24.628 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:09:23 +0000 (0:00:00.037) 0:00:24.665 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:09:23 +0000 (0:00:00.032) 0:00:24.697 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:09:23 +0000 (0:00:00.108) 0:00:24.806 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:09:23 +0000 (0:00:00.025) 0:00:24.832 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:09:23 +0000 (0:00:00.043) 0:00:24.875 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:09:23 +0000 (0:00:00.045) 0:00:24.920 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:09:24 +0000 (0:00:00.411) 0:00:25.332 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:09:24 +0000 (0:00:00.027) 0:00:25.359 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:09:24 +0000 (0:00:00.023) 0:00:25.383 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:09:24 +0000 (0:00:00.024) 0:00:25.407 **** 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, 0eefef04-ef58-4321-ab5e-a7696f5cc474 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:09:24 +0000 (0:00:00.393) 0:00:25.801 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:09:24 +0000 (0:00:00.024) 0:00:25.825 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0eefef04-ef58-4321-ab5e-a7696f5cc474 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:09:24 +0000 (0:00:00.029) 0:00:25.855 **** 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, 0eefef04-ef58-4321-ab5e-a7696f5cc474 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 0eefef04-ef58-4321-ab5e-a7696f5cc474 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:09:24 +0000 (0:00:00.026) 0:00:25.881 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:09:24 +0000 (0:00:00.022) 0:00:25.903 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:09:24 +0000 (0:00:00.203) 0:00:26.107 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:09:25 +0000 (0:00:00.087) 0:00:26.194 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:09:25 +0000 (0:00:00.042) 0:00:26.237 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930560.1670654, "block_size": 4096, "blocks": 0, "ctime": 1707930560.1670654, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30324, "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": 1707930560.1670654, "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_rewritem3h09x7t/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:09:25 +0000 (0:00:00.219) 0:00:26.456 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 17:09:25 +0000 (0:00:00.030) 0:00:26.487 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:09:25 +0000 (0:00:00.053) 0:00:26.540 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:09:25 +0000 (0:00:00.054) 0:00:26.595 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:09:25 +0000 (0:00:00.229) 0:00:26.824 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:09:25 +0000 (0:00:00.027) 0:00:26.852 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022402", "end": "2024-02-14 17:09:25.926407", "rc": 0, "start": "2024-02-14 17:09:25.904005" } 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.293) 0:00:27.146 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.046) 0:00:27.193 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.032) 0:00:27.225 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.025) 0:00:27.250 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.063) 0:00:27.313 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.033) 0:00:27.347 **** 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_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.025) 0:00:27.373 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.034) 0:00:27.407 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.028) 0:00:27.435 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.031) 0:00:27.467 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.041) 0:00:27.508 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.043) 0:00:27.552 **** 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.076108", "end": "2024-02-14 17:09:26.679799", "rc": 1, "start": "2024-02-14 17:09:26.603691" } STDOUT: Connection 'statebr' (0eefef04-ef58-4321-ab5e-a7696f5cc474) 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_rewritem3h09x7t/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.287) 0:00:27.839 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.040) 0:00:27.880 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.024) 0:00:27.905 **** 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_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.046) 0:00:27.952 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.038) 0:00:27.991 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:09:26 +0000 (0:00:00.076) 0:00:28.067 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003553", "end": "2024-02-14 17:09:27.130711", "rc": 0, "start": "2024-02-14 17:09:27.127158" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:09:27 +0000 (0:00:00.236) 0:00:28.303 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:09:27 +0000 (0:00:00.044) 0:00:28.348 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:09:27 +0000 (0:00:00.039) 0:00:28.387 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:09:27 +0000 (0:00:00.084) 0:00:28.471 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:09:27 +0000 (0:00:00.058) 0:00:28.529 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:09:27 +0000 (0:00:00.076) 0:00:28.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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:09:27 +0000 (0:00:00.052) 0:00:28.658 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:09:27 +0000 (0:00:00.024) 0:00:28.682 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:09:27 +0000 (0:00:00.021) 0:00:28.704 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:09:29 +0000 (0:00:01.521) 0:00:30.226 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:09:30 +0000 (0:00:01.035) 0:00:31.261 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:09:30 +0000 (0:00:00.029) 0:00:31.290 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:09:30 +0000 (0:00:00.028) 0:00:31.318 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:09:30 +0000 (0:00:00.024) 0:00:31.342 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:09:30 +0000 (0:00:00.045) 0:00:31.388 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:09:30 +0000 (0:00:00.023) 0:00:31.411 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:09:30 +0000 (0:00:00.025) 0:00:31.436 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:09:30 +0000 (0:00:00.027) 0:00:31.463 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:09:30 +0000 (0:00:00.389) 0:00:31.853 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:09:30 +0000 (0:00:00.030) 0:00:31.883 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:09:30 +0000 (0:00:00.026) 0:00:31.910 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:09:30 +0000 (0:00:00.029) 0:00:31.940 **** 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, c036e3c3-bfb0-453a-b19e-564a28a3b988 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:09:31 +0000 (0:00:00.426) 0:00:32.366 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:09:31 +0000 (0:00:00.033) 0:00:32.399 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c036e3c3-bfb0-453a-b19e-564a28a3b988" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:09:31 +0000 (0:00:00.042) 0:00:32.441 **** 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, c036e3c3-bfb0-453a-b19e-564a28a3b988\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c036e3c3-bfb0-453a-b19e-564a28a3b988" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:09:31 +0000 (0:00:00.040) 0:00:32.482 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:09:31 +0000 (0:00:00.033) 0:00:32.516 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:09:31 +0000 (0:00:00.217) 0:00:32.734 **** 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, c036e3c3-bfb0-453a-b19e-564a28a3b988\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, c036e3c3-bfb0-453a-b19e-564a28a3b988" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:09:31 +0000 (0:00:00.034) 0:00:32.769 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:09:31 +0000 (0:00:00.043) 0:00:32.812 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:09:31 +0000 (0:00:00.094) 0:00:32.907 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:09:31 +0000 (0:00:00.029) 0:00:32.937 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:09:31 +0000 (0:00:00.025) 0:00:32.962 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:09:31 +0000 (0:00:00.024) 0:00:32.987 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:09:33 +0000 (0:00:01.580) 0:00:34.567 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:09:34 +0000 (0:00:01.036) 0:00:35.604 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:09:34 +0000 (0:00:00.062) 0:00:35.666 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:09:34 +0000 (0:00:00.041) 0:00:35.707 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:09:34 +0000 (0:00:00.037) 0:00:35.744 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:09:34 +0000 (0:00:00.049) 0:00:35.793 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:09:34 +0000 (0:00:00.049) 0:00:35.842 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:09:34 +0000 (0:00:00.036) 0:00:35.879 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:09:34 +0000 (0:00:00.041) 0:00:35.920 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:09:35 +0000 (0:00:00.405) 0:00:36.326 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:09:35 +0000 (0:00:00.028) 0:00:36.354 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:09:35 +0000 (0:00:00.025) 0:00:36.380 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:09:35 +0000 (0:00:00.037) 0:00:36.418 **** 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, c036e3c3-bfb0-453a-b19e-564a28a3b988 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:09:35 +0000 (0:00:00.392) 0:00:36.810 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:09:35 +0000 (0:00:00.075) 0:00:36.885 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c036e3c3-bfb0-453a-b19e-564a28a3b988 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:09:35 +0000 (0:00:00.034) 0:00:36.919 **** 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, c036e3c3-bfb0-453a-b19e-564a28a3b988 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, c036e3c3-bfb0-453a-b19e-564a28a3b988 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:09:35 +0000 (0:00:00.043) 0:00:36.963 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:09:35 +0000 (0:00:00.067) 0:00:37.030 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:09:36 +0000 (0:00:00.204) 0:00:37.234 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:09:36 +0000 (0:00:00.043) 0:00:37.278 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:09:36 +0000 (0:00:00.044) 0:00:37.322 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:09:36 +0000 (0:00:00.048) 0:00:37.370 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:09:36 +0000 (0:00:00.033) 0:00:37.404 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:09:36 +0000 (0:00:00.036) 0:00:37.441 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:09:36 +0000 (0:00:00.025) 0:00:37.467 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:09:37 +0000 (0:00:01.613) 0:00:39.080 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:09:38 +0000 (0:00:01.044) 0:00:40.124 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:09:39 +0000 (0:00:00.026) 0:00:40.151 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:09:39 +0000 (0:00:00.025) 0:00:40.176 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:09:39 +0000 (0:00:00.026) 0:00:40.202 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:09:39 +0000 (0:00:00.046) 0:00:40.249 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:09:39 +0000 (0:00:00.024) 0:00:40.273 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:09:39 +0000 (0:00:00.023) 0:00:40.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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:09:39 +0000 (0:00:00.028) 0:00:40.325 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:09:39 +0000 (0:00:00.388) 0:00:40.713 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:09:39 +0000 (0:00:00.091) 0:00:40.804 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:09:39 +0000 (0:00:00.032) 0:00:40.837 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:09:39 +0000 (0:00:00.027) 0:00:40.864 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:09:40 +0000 (0:00:00.408) 0:00:41.272 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:09:40 +0000 (0:00:00.024) 0:00:41.297 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:09:40 +0000 (0:00:00.026) 0:00:41.324 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:09:40 +0000 (0:00:00.025) 0:00:41.349 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:09:40 +0000 (0:00:00.025) 0:00:41.375 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:09:40 +0000 (0:00:00.208) 0:00:41.583 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 17:09:40 +0000 (0:00:00.045) 0:00:41.629 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:09:40 +0000 (0:00:00.038) 0:00:41.667 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707930571.1527565, "block_size": 4096, "blocks": 0, "ctime": 1707930571.1527565, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30455, "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": 1707930571.1527565, "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_rewritem3h09x7t/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 17:09:40 +0000 (0:00:00.234) 0:00:41.902 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:09:40 +0000 (0:00:00.045) 0:00:41.947 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:09:40 +0000 (0:00:00.106) 0:00:42.054 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:09:40 +0000 (0:00:00.054) 0:00:42.108 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:09:41 +0000 (0:00:00.233) 0:00:42.341 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:09:41 +0000 (0:00:00.023) 0:00:42.365 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.023291", "end": "2024-02-14 17:09:41.445458", "rc": 1, "start": "2024-02-14 17:09:41.422167" } 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:09:41 +0000 (0:00:00.242) 0:00:42.607 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:09:41 +0000 (0:00:00.046) 0:00:42.653 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:09:41 +0000 (0:00:00.026) 0:00:42.680 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:09:41 +0000 (0:00:00.036) 0:00:42.716 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:09:41 +0000 (0:00:00.041) 0:00:42.757 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:09:41 +0000 (0:00:00.026) 0:00:42.784 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:09:41 +0000 (0:00:00.038) 0:00:42.823 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:09:41 +0000 (0:00:00.034) 0:00:42.858 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:09:41 +0000 (0:00:00.034) 0:00:42.892 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:09:41 +0000 (0:00:00.065) 0:00:42.958 **** 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.077200", "end": "2024-02-14 17:09:42.099496", "rc": 1, "start": "2024-02-14 17:09:42.022296" } STDOUT: Connection 'statebr' (c036e3c3-bfb0-453a-b19e-564a28a3b988) 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_rewritem3h09x7t/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 17:09:42 +0000 (0:00:00.350) 0:00:43.308 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:09:42 +0000 (0:00:00.043) 0:00:43.352 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:09:42 +0000 (0:00:00.025) 0:00:43.377 **** 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_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:09:42 +0000 (0:00:00.064) 0:00:43.442 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:09:42 +0000 (0:00:00.056) 0:00:43.499 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:09:42 +0000 (0:00:00.050) 0:00:43.549 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003679", "end": "2024-02-14 17:09:42.639503", "rc": 0, "start": "2024-02-14 17:09:42.635824" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:09:42 +0000 (0:00:00.251) 0:00:43.801 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:09:42 +0000 (0:00:00.043) 0:00:43.844 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:09:42 +0000 (0:00:00.025) 0:00:43.870 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:09:42 +0000 (0:00:00.049) 0:00:43.920 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:09:42 +0000 (0:00:00.049) 0:00:43.969 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:09:42 +0000 (0:00:00.096) 0:00:44.065 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:09:42 +0000 (0:00:00.028) 0:00:44.094 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:09:42 +0000 (0:00:00.023) 0:00:44.117 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:09:43 +0000 (0:00:00.025) 0:00:44.143 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:09:44 +0000 (0:00:01.578) 0:00:45.721 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:09:45 +0000 (0:00:01.064) 0:00:46.786 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:09:45 +0000 (0:00:00.036) 0:00:46.822 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:09:45 +0000 (0:00:00.029) 0:00:46.851 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:09:45 +0000 (0:00:00.029) 0:00:46.881 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:09:45 +0000 (0:00:00.050) 0:00:46.931 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:09:45 +0000 (0:00:00.026) 0:00:46.958 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:09:45 +0000 (0:00:00.022) 0:00:46.980 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:09:45 +0000 (0:00:00.028) 0:00:47.009 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:09:46 +0000 (0:00:00.417) 0:00:47.426 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:09:46 +0000 (0:00:00.037) 0:00:47.463 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:09:46 +0000 (0:00:00.037) 0:00:47.501 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:09:46 +0000 (0:00:00.032) 0:00:47.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, 7f304c65-bad9-44a2-901e-9e010fd3b7f9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:09:46 +0000 (0:00:00.427) 0:00:47.960 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:09:46 +0000 (0:00:00.029) 0:00:47.989 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f304c65-bad9-44a2-901e-9e010fd3b7f9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:09:46 +0000 (0:00:00.027) 0:00:48.017 **** 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, 7f304c65-bad9-44a2-901e-9e010fd3b7f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f304c65-bad9-44a2-901e-9e010fd3b7f9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:09:46 +0000 (0:00:00.071) 0:00:48.089 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:09:46 +0000 (0:00:00.026) 0:00:48.115 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:09:47 +0000 (0:00:00.232) 0:00:48.348 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f304c65-bad9-44a2-901e-9e010fd3b7f9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7f304c65-bad9-44a2-901e-9e010fd3b7f9" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:09:47 +0000 (0:00:00.059) 0:00:48.407 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:09:47 +0000 (0:00:00.080) 0:00:48.488 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:09:47 +0000 (0:00:00.057) 0:00:48.546 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:09:47 +0000 (0:00:00.053) 0:00:48.599 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:09:47 +0000 (0:00:00.025) 0:00:48.624 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:09:47 +0000 (0:00:00.026) 0:00:48.651 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:09:49 +0000 (0:00:01.600) 0:00:50.251 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:09:50 +0000 (0:00:01.083) 0:00:51.334 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:09:50 +0000 (0:00:00.024) 0:00:51.358 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:09:50 +0000 (0:00:00.024) 0:00:51.382 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:09:50 +0000 (0:00:00.023) 0:00:51.406 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:09:50 +0000 (0:00:00.050) 0:00:51.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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:09:50 +0000 (0:00:00.023) 0:00:51.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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:09:50 +0000 (0:00:00.024) 0:00:51.505 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:09:50 +0000 (0:00:00.030) 0:00:51.535 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:09:50 +0000 (0:00:00.382) 0:00:51.917 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:09:50 +0000 (0:00:00.034) 0:00:51.952 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:09:50 +0000 (0:00:00.024) 0:00:51.977 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:09:50 +0000 (0:00:00.149) 0:00:52.127 **** 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, 7f304c65-bad9-44a2-901e-9e010fd3b7f9 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:09:51 +0000 (0:00:00.398) 0:00:52.525 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:09:51 +0000 (0:00:00.023) 0:00:52.548 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f304c65-bad9-44a2-901e-9e010fd3b7f9 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:09:51 +0000 (0:00:00.024) 0:00:52.573 **** 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, 7f304c65-bad9-44a2-901e-9e010fd3b7f9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7f304c65-bad9-44a2-901e-9e010fd3b7f9 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:09:51 +0000 (0:00:00.025) 0:00:52.599 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:09:51 +0000 (0:00:00.023) 0:00:52.622 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 17:09:51 +0000 (0:00:00.206) 0:00:52.829 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:09:51 +0000 (0:00:00.039) 0:00:52.868 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:09:51 +0000 (0:00:00.046) 0:00:52.914 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:09:51 +0000 (0:00:00.029) 0:00:52.943 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:09:51 +0000 (0:00:00.024) 0:00:52.968 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:09:51 +0000 (0:00:00.033) 0:00:53.001 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:09:53 +0000 (0:00:01.542) 0:00:54.543 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:09:54 +0000 (0:00:01.029) 0:00:55.573 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:09:54 +0000 (0:00:00.025) 0:00:55.598 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:09:54 +0000 (0:00:00.024) 0:00:55.623 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:09:54 +0000 (0:00:00.024) 0:00:55.648 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:09:54 +0000 (0:00:00.049) 0:00:55.697 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:09:54 +0000 (0:00:00.033) 0:00:55.731 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:09:54 +0000 (0:00:00.060) 0:00:55.791 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:09:54 +0000 (0:00:00.027) 0:00:55.819 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:09:55 +0000 (0:00:00.396) 0:00:56.215 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:09:55 +0000 (0:00:00.039) 0:00:56.255 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:09:55 +0000 (0:00:00.025) 0:00:56.280 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:09:55 +0000 (0:00:00.039) 0:00:56.320 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:09:55 +0000 (0:00:00.406) 0:00:56.727 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:09:55 +0000 (0:00:00.029) 0:00:56.757 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:09:55 +0000 (0:00:00.029) 0:00:56.786 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "name": "statebr", "persistent_state": "absent" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "\n", "stderr_lines": [ "" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:09:55 +0000 (0:00:00.038) 0:00:56.825 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:09:55 +0000 (0:00:00.028) 0:00:56.853 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:09:55 +0000 (0:00:00.240) 0:00:57.093 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:09:56 +0000 (0:00:00.043) 0:00:57.137 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:09:56 +0000 (0:00:00.079) 0:00:57.216 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:09:56 +0000 (0:00:00.044) 0:00:57.260 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:09:56 +0000 (0:00:00.029) 0:00:57.290 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:09:56 +0000 (0:00:00.037) 0:00:57.327 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:09:56 +0000 (0:00:00.055) 0:00:57.383 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:09:57 +0000 (0:00:01.520) 0:00:58.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:09:58 +0000 (0:00:01.061) 0:00:59.965 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:09:58 +0000 (0:00:00.025) 0:00:59.991 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:09:58 +0000 (0:00:00.029) 0:01:00.020 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:09:58 +0000 (0:00:00.025) 0:01:00.046 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:09:58 +0000 (0:00:00.049) 0:01:00.095 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:09:58 +0000 (0:00:00.023) 0:01:00.118 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:09:59 +0000 (0:00:00.024) 0:01:00.143 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:09:59 +0000 (0:00:00.027) 0:01:00.170 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:09:59 +0000 (0:00:00.387) 0:01:00.558 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:09:59 +0000 (0:00:00.028) 0:01:00.587 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:09:59 +0000 (0:00:00.022) 0:01:00.610 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:09:59 +0000 (0:00:00.025) 0:01:00.635 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:09:59 +0000 (0:00:00.476) 0:01:01.112 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:10:00 +0000 (0:00:00.073) 0:01:01.186 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:10:00 +0000 (0:00:00.028) 0:01:01.214 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:10:00 +0000 (0:00:00.026) 0:01:01.241 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:10:00 +0000 (0:00:00.026) 0:01:01.267 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:10:00 +0000 (0:00:00.214) 0:01:01.481 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:10:00 +0000 (0:00:00.049) 0:01:01.531 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:10:00 +0000 (0:00:00.064) 0:01:01.595 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:10:00 +0000 (0:00:00.043) 0:01:01.638 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:10:00 +0000 (0:00:00.212) 0:01:01.851 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:10:00 +0000 (0:00:00.024) 0:01:01.875 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021573", "end": "2024-02-14 17:10:00.949919", "rc": 1, "start": "2024-02-14 17:10:00.928346" } 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:10:00 +0000 (0:00:00.235) 0:01:02.110 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.025) 0:01:02.135 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.023) 0:01:02.159 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.067) 0:01:02.227 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.029) 0:01:02.256 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.027) 0:01:02.284 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.026) 0:01:02.311 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.048) 0:01:02.360 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.049) 0:01:02.409 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.216) 0:01:02.626 **** 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_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.036) 0:01:02.662 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.026) 0:01:02.689 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.048) 0:01:02.737 **** 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.043534", "end": "2024-02-14 17:10:01.840126", "rc": 1, "start": "2024-02-14 17:10:01.796592" } 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_rewritem3h09x7t/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.262) 0:01:03.000 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.039) 0:01:03.039 **** 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_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 17:10:01 +0000 (0:00:00.072) 0:01:03.111 **** ok: [sut] => (item=lsr_description) => { "ansible_loop_var": "item", "item": "lsr_description", "lsr_description": "I will not get an error when I try to remove an absent profile" } ok: [sut] => (item=lsr_setup) => { "ansible_loop_var": "item", "item": "lsr_setup", "lsr_setup": [ "tasks/create_bridge_profile.yml", "tasks/activate_profile.yml", "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_test) => { "ansible_loop_var": "item", "item": "lsr_test", "lsr_test": [ "tasks/remove+down_profile.yml" ] } ok: [sut] => (item=lsr_assert) => { "ansible_loop_var": "item", "item": "lsr_assert", "lsr_assert": [ "tasks/assert_profile_absent.yml", "tasks/get_NetworkManager_NVR.yml" ] } ok: [sut] => (item=lsr_assert_when) => { "ansible_loop_var": "item", "item": "lsr_assert_when", "lsr_assert_when": [ { "condition": true, "what": "tasks/assert_device_absent.yml" } ] } ok: [sut] => (item=lsr_fail_debug) => { "ansible_loop_var": "item", "item": "lsr_fail_debug", "lsr_fail_debug": [ "__network_connections_result" ] } ok: [sut] => (item=lsr_cleanup) => { "ansible_loop_var": "item", "item": "lsr_cleanup", "lsr_cleanup": [ "tasks/cleanup_profile+device.yml", "tasks/check_network_dns.yml" ] } TASK [Include the task 'show_interfaces.yml'] ********************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 17:10:02 +0000 (0:00:00.051) 0:01:03.162 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 17:10:02 +0000 (0:00:00.039) 0:01:03.202 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 17:10:02 +0000 (0:00:00.041) 0:01:03.244 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003661", "end": "2024-02-14 17:10:02.301842", "rc": 0, "start": "2024-02-14 17:10:02.298181" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 17:10:02 +0000 (0:00:00.223) 0:01:03.467 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 17:10:02 +0000 (0:00:00.028) 0:01:03.496 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 17:10:02 +0000 (0:00:00.028) 0:01:03.524 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 17:10:02 +0000 (0:00:00.050) 0:01:03.575 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:10:02 +0000 (0:00:00.055) 0:01:03.630 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:10:02 +0000 (0:00:00.045) 0:01:03.676 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:10:02 +0000 (0:00:00.033) 0:01:03.709 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:10:02 +0000 (0:00:00.067) 0:01:03.777 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:10:02 +0000 (0:00:00.024) 0:01:03.801 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:10:04 +0000 (0:00:01.545) 0:01:05.347 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:10:05 +0000 (0:00:01.054) 0:01:06.402 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:10:05 +0000 (0:00:00.024) 0:01:06.427 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:10:05 +0000 (0:00:00.054) 0:01:06.481 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:10:05 +0000 (0:00:00.028) 0:01:06.509 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:10:05 +0000 (0:00:00.058) 0:01:06.568 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:10:05 +0000 (0:00:00.027) 0:01:06.595 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:10:05 +0000 (0:00:00.024) 0:01:06.620 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:10:05 +0000 (0:00:00.028) 0:01:06.648 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:10:05 +0000 (0:00:00.385) 0:01:07.033 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:10:05 +0000 (0:00:00.029) 0:01:07.063 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:10:05 +0000 (0:00:00.023) 0:01:07.086 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:10:05 +0000 (0:00:00.022) 0:01:07.109 **** 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, 44d4fd71-476e-43dc-ac37-56e6a990683b TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:10:06 +0000 (0:00:00.441) 0:01:07.550 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:10:06 +0000 (0:00:00.054) 0:01:07.605 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 44d4fd71-476e-43dc-ac37-56e6a990683b" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:10:06 +0000 (0:00:00.053) 0:01:07.658 **** 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, 44d4fd71-476e-43dc-ac37-56e6a990683b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 44d4fd71-476e-43dc-ac37-56e6a990683b" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:10:06 +0000 (0:00:00.025) 0:01:07.684 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:10:06 +0000 (0:00:00.034) 0:01:07.719 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 17:10:06 +0000 (0:00:00.205) 0:01:07.924 **** 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, 44d4fd71-476e-43dc-ac37-56e6a990683b\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 44d4fd71-476e-43dc-ac37-56e6a990683b" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 17:10:06 +0000 (0:00:00.025) 0:01:07.949 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:10:06 +0000 (0:00:00.037) 0:01:07.987 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:10:06 +0000 (0:00:00.048) 0:01:08.036 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:10:06 +0000 (0:00:00.030) 0:01:08.066 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:10:06 +0000 (0:00:00.024) 0:01:08.091 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:10:06 +0000 (0:00:00.024) 0:01:08.116 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:10:08 +0000 (0:00:01.557) 0:01:09.673 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:10:09 +0000 (0:00:01.067) 0:01:10.740 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:10:09 +0000 (0:00:00.031) 0:01:10.772 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:10:09 +0000 (0:00:00.043) 0:01:10.815 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:10:09 +0000 (0:00:00.030) 0:01:10.846 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:10:09 +0000 (0:00:00.051) 0:01:10.897 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:10:09 +0000 (0:00:00.025) 0:01:10.923 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:10:09 +0000 (0:00:00.025) 0:01:10.949 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable and start NetworkManager] ************ task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:10:09 +0000 (0:00:00.028) 0:01:10.977 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:10:10 +0000 (0:00:00.385) 0:01:11.363 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:10:10 +0000 (0:00:00.027) 0:01:11.390 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:10:10 +0000 (0:00:00.053) 0:01:11.444 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:10:10 +0000 (0:00:00.022) 0:01:11.466 **** 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, 44d4fd71-476e-43dc-ac37-56e6a990683b skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:10:10 +0000 (0:00:00.378) 0:01:11.844 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:10:10 +0000 (0:00:00.025) 0:01:11.869 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 44d4fd71-476e-43dc-ac37-56e6a990683b skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:10:10 +0000 (0:00:00.024) 0:01:11.894 **** 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, 44d4fd71-476e-43dc-ac37-56e6a990683b skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 44d4fd71-476e-43dc-ac37-56e6a990683b skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:10:10 +0000 (0:00:00.026) 0:01:11.921 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:10:10 +0000 (0:00:00.022) 0:01:11.943 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:10:11 +0000 (0:00:00.208) 0:01:12.152 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:10:11 +0000 (0:00:00.039) 0:01:12.191 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:10:11 +0000 (0:00:00.042) 0:01:12.233 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:10:11 +0000 (0:00:00.028) 0:01:12.262 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:10:11 +0000 (0:00:00.022) 0:01:12.284 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:10:11 +0000 (0:00:00.022) 0:01:12.307 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:10:12 +0000 (0:00:01.546) 0:01:13.853 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:10:13 +0000 (0:00:01.033) 0:01:14.886 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:10:13 +0000 (0:00:00.023) 0:01:14.910 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:10:13 +0000 (0:00:00.024) 0:01:14.935 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:10:13 +0000 (0:00:00.025) 0:01:14.960 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:10:13 +0000 (0:00:00.112) 0:01:15.073 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:10:13 +0000 (0:00:00.025) 0:01:15.098 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:10:13 +0000 (0:00:00.024) 0:01:15.122 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:10:14 +0000 (0:00:00.028) 0:01:15.150 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:10:14 +0000 (0:00:00.384) 0:01:15.535 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:10:14 +0000 (0:00:00.026) 0:01:15.561 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:10:14 +0000 (0:00:00.023) 0:01:15.585 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:10:14 +0000 (0:00:00.022) 0:01:15.607 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:10:14 +0000 (0:00:00.459) 0:01:16.067 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:10:14 +0000 (0:00:00.023) 0:01:16.091 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:10:14 +0000 (0:00:00.023) 0:01:16.115 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:10:15 +0000 (0:00:00.025) 0:01:16.141 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:10:15 +0000 (0:00:00.023) 0:01:16.164 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 17:10:15 +0000 (0:00:00.240) 0:01:16.405 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 17:10:15 +0000 (0:00:00.043) 0:01:16.448 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 17:10:15 +0000 (0:00:00.040) 0:01:16.489 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 17:10:15 +0000 (0:00:00.042) 0:01:16.531 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 17:10:15 +0000 (0:00:00.029) 0:01:16.560 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 17:10:15 +0000 (0:00:00.023) 0:01:16.584 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 17:10:15 +0000 (0:00:00.022) 0:01:16.606 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 17:10:17 +0000 (0:00:01.554) 0:01:18.161 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 17:10:18 +0000 (0:00:01.071) 0:01:19.233 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 17:10:18 +0000 (0:00:00.024) 0:01:19.258 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 17:10:18 +0000 (0:00:00.022) 0:01:19.280 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 17:10:18 +0000 (0:00:00.024) 0:01:19.305 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 17:10:18 +0000 (0:00:00.046) 0:01:19.352 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 17:10:18 +0000 (0:00:00.024) 0:01:19.376 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 17:10:18 +0000 (0:00:00.023) 0:01:19.400 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 17:10:18 +0000 (0:00:00.026) 0:01:19.426 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 17:10:18 +0000 (0:00:00.394) 0:01:19.821 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 17:10:18 +0000 (0:00:00.067) 0:01:19.888 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 17:10:18 +0000 (0:00:00.026) 0:01:19.915 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 17:10:18 +0000 (0:00:00.025) 0:01:19.940 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 17:10:19 +0000 (0:00:00.407) 0:01:20.347 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 17:10:19 +0000 (0:00:00.025) 0:01:20.373 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 17:10:19 +0000 (0:00:00.025) 0:01:20.399 **** 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_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 17:10:19 +0000 (0:00:00.025) 0:01:20.424 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 17:10:19 +0000 (0:00:00.023) 0:01:20.448 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 17:10:19 +0000 (0:00:00.211) 0:01:20.659 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 17:10:19 +0000 (0:00:00.049) 0:01:20.708 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 17:10:19 +0000 (0:00:00.041) 0:01:20.750 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 17:10:19 +0000 (0:00:00.024) 0:01:20.775 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 17:10:19 +0000 (0:00:00.212) 0:01:20.988 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 17:10:19 +0000 (0:00:00.058) 0:01:21.046 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022071", "end": "2024-02-14 17:10:20.123415", "rc": 1, "start": "2024-02-14 17:10:20.101344" } 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 17:10:20 +0000 (0:00:00.238) 0:01:21.285 **** 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_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 17:10:20 +0000 (0:00:00.026) 0:01:21.311 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the ansible_managed comment in ifcfg-statebr] ********************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 17:10:20 +0000 (0:00:00.028) 0:01:21.340 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 17:10:20 +0000 (0:00:00.031) 0:01:21.372 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 17:10:20 +0000 (0:00:00.042) 0:01:21.414 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 17:10:20 +0000 (0:00:00.032) 0:01:21.447 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 17:10:20 +0000 (0:00:00.040) 0:01:21.487 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.646484", "end": "2024-02-14 17:10:21.189331", "rc": 0, "start": "2024-02-14 17:10:20.542847" } STDOUT: NetworkManager-1.45.10-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 17:10:21 +0000 (0:00:00.864) 0:01:22.351 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.10-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 17:10:21 +0000 (0:00:00.027) 0:01:22.378 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.10-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 17:10:21 +0000 (0:00:00.025) 0:01:22.403 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 17:10:21 +0000 (0:00:00.050) 0:01:22.454 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 17:10:21 +0000 (0:00:00.100) 0:01:22.555 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 17:10:21 +0000 (0:00:00.223) 0:01:22.779 **** 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_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 17:10:21 +0000 (0:00:00.029) 0:01:22.808 **** 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_rewritem3h09x7t/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 17:10:21 +0000 (0:00:00.033) 0:01:22.842 **** included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 17:10:21 +0000 (0:00:00.084) 0:01:22.926 **** 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.041351", "end": "2024-02-14 17:10:22.019637", "rc": 1, "start": "2024-02-14 17:10:21.978286" } STDERR: Error: unknown connection 'statebr'. Error: cannot delete unknown connection(s): 'statebr'. Cannot find device "statebr" MSG: non-zero return code ...ignoring TASK [Check routes and DNS] **************************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 17:10:22 +0000 (0:00:00.267) 0:01:23.194 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho IP\nip a\necho IP ROUTE\nip route\necho IP -6 ROUTE\nip -6 route\necho RESOLV\nif [ -f /etc/resolv.conf ]; then\n cat /etc/resolv.conf\nelse\n echo NO /etc/resolv.conf\n ls -alrtF /etc/resolv.* || :\nfi\n", "delta": "0:00:00.009360", "end": "2024-02-14 17:10:22.265531", "rc": 0, "start": "2024-02-14 17:10:22.256171" } STDOUT: IP 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: mtu 9001 qdisc mq state UP group default qlen 1000 link/ether 0e:5d:4d:14:d5:a1 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.43.34/22 brd 10.31.43.255 scope global dynamic noprefixroute eth0 valid_lft 2700sec preferred_lft 2700sec inet6 fe80::c5d:4dff:fe14:d5a1/64 scope link valid_lft forever preferred_lft forever 27: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 06:63:f7:9e:09:85 brd ff:ff:ff:ff:ff:ff inet 192.0.2.72/31 scope global noprefixroute rpltstbr valid_lft forever preferred_lft forever IP ROUTE default via 10.31.40.1 dev eth0 proto dhcp src 10.31.43.34 metric 100 10.31.40.0/22 dev eth0 proto kernel scope link src 10.31.43.34 metric 100 192.0.2.72/31 dev rpltstbr proto kernel scope link src 192.0.2.72 metric 425 linkdown IP -6 ROUTE ::1 dev lo proto kernel metric 256 pref medium fe80::/64 dev eth0 proto kernel metric 256 pref medium RESOLV # Generated by NetworkManager search us-east-1.aws.redhat.com testing-farm nameserver 10.29.169.13 nameserver 10.29.170.12 nameserver 10.2.32.1 TASK [Verify DNS and ping still work] ****************************************** task path: /WORKDIR/git-bond_options_rewritem3h09x7t/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 17:10:22 +0000 (0:00:00.231) 0:01:23.426 **** ok: [sut] => { "changed": false, "cmd": "set -euo pipefail\necho CHECK DNS AND CONNECTIVITY\nfor host in mirrors.fedoraproject.org mirrors.centos.org; do\n if ! getent hosts \"$host\"; then\n echo FAILED to lookup host \"$host\"\n exit 1\n fi\n if ! curl -o /dev/null https://\"$host\"; then\n echo FAILED to contact host \"$host\"\n exit 1\n fi\ndone\n", "delta": "0:00:00.380923", "end": "2024-02-14 17:10:22.863897", "rc": 0, "start": "2024-02-14 17:10:22.482974" } STDOUT: CHECK DNS AND CONNECTIVITY 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 2584 0 --:--:-- --:--:-- --:--:-- 2606 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 291 100 291 0 0 1222 0 --:--:-- --:--:-- --:--:-- 1222 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=319 changed=10 unreachable=0 failed=0 skipped=252 rescued=0 ignored=11 Wednesday 14 February 2024 17:10:22 +0000 (0:00:00.586) 0:01:24.012 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.37s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 2.13s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.65s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.60s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.59s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.58s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.57s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.56s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.56s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.54s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.52s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.34s /WORKDIR/git-bond_options_rewritem3h09x7t/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Consider using the yum, dnf or zypper module rather than running 'rpm'. If you need to use command because yum, dnf or zypper is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. ---^---^---^---^---^---