# 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_rewritef0amzx4l/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_rewritef0amzx4l/tests/tests_states_nm.yml:6 Wednesday 14 February 2024 00:03:14 +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_rewritef0amzx4l/tests/tests_states_nm.yml:9 Wednesday 14 February 2024 00:03:15 +0000 (0:00:00.794) 0:00:00.807 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 00:03:15 +0000 (0:00:00.039) 0:00:00.846 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 00:03:15 +0000 (0:00:00.354) 0:00:01.200 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 00:03:15 +0000 (0:00:00.254) 0:00:01.455 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 00:03:15 +0000 (0:00:00.022) 0:00:01.477 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 00:03:15 +0000 (0:00:00.020) 0:00:01.498 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 9] *********************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 00:03:15 +0000 (0:00:00.034) 0:00:01.533 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 00:03:15 +0000 (0:00:00.016) 0:00:01.550 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 00:03:15 +0000 (0:00:00.011) 0:00:01.561 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 00:03:15 +0000 (0:00:00.009) 0:00:01.570 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 00:03:15 +0000 (0:00:00.012) 0:00:01.583 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/tests_states_nm.yml:11 Wednesday 14 February 2024 00:03:15 +0000 (0:00:00.037) 0:00:01.620 **** 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_rewritef0amzx4l/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 00:03:15 +0000 (0:00:00.011) 0:00:01.631 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 00:03:16 +0000 (0:00:00.496) 0:00:02.128 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 00:03:16 +0000 (0:00:00.011) 0:00:02.140 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:03:16 +0000 (0:00:00.016) 0:00:02.156 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:03:16 +0000 (0:00:00.016) 0:00:02.173 **** 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_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:03:16 +0000 (0:00:00.042) 0:00:02.215 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:16 +0000 (0:00:00.033) 0:00:02.248 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:16 +0000 (0:00:00.026) 0:00:02.274 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003188", "end": "2024-02-14 00:03:16.744720", "rc": 0, "start": "2024-02-14 00:03:16.741532" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:16 +0000 (0:00:00.250) 0:00:02.525 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:16 +0000 (0:00:00.031) 0:00:02.556 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:03:16 +0000 (0:00:00.028) 0:00:02.585 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 00:03:16 +0000 (0:00:00.034) 0:00:02.619 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007590", "end": "2024-02-14 00:03:17.036735", "rc": 1, "start": "2024-02-14 00:03:17.029145" } 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_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:03:17 +0000 (0:00:00.187) 0:00:02.807 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:03:17 +0000 (0:00:00.017) 0:00:02.824 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:03:17 +0000 (0:00:00.180) 0:00:03.004 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:03:17 +0000 (0:00:00.014) 0:00:03.018 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:03:17 +0000 (0:00:00.018) 0:00:03.037 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:03:17 +0000 (0:00:00.036) 0:00:03.074 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:03:17 +0000 (0:00:00.073) 0:00:03.147 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:03:17 +0000 (0:00:00.026) 0:00:03.174 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:03:17 +0000 (0:00:00.013) 0:00:03.187 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:03:17 +0000 (0:00:00.022) 0:00:03.210 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:03:18 +0000 (0:00:01.520) 0:00:04.730 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:03:20 +0000 (0:00:01.192) 0:00:05.923 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:03:20 +0000 (0:00:00.046) 0:00:05.969 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:03:20 +0000 (0:00:00.051) 0:00:06.021 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:03:20 +0000 (0:00:00.035) 0:00:06.057 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:03:20 +0000 (0:00:00.047) 0:00:06.104 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:03:20 +0000 (0:00:00.024) 0:00:06.128 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:03:20 +0000 (0:00:00.026) 0:00:06.155 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:03:20 +0000 (0:00:00.037) 0:00:06.193 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:03:21 +0000 (0:00:00.627) 0:00:06.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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:03:21 +0000 (0:00:00.028) 0:00:06.850 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:03:21 +0000 (0:00:00.041) 0:00:06.891 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:03:21 +0000 (0:00:00.055) 0:00:06.947 **** 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, 9f52a22b-d6f0-409f-b370-02578072a172 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:03:21 +0000 (0:00:00.652) 0:00:07.600 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:03:21 +0000 (0:00:00.031) 0:00:07.631 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9f52a22b-d6f0-409f-b370-02578072a172" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:03:21 +0000 (0:00:00.055) 0:00:07.686 **** 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, 9f52a22b-d6f0-409f-b370-02578072a172\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9f52a22b-d6f0-409f-b370-02578072a172" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:03:21 +0000 (0:00:00.026) 0:00:07.713 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:03:22 +0000 (0:00:00.044) 0:00:07.758 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:03:22 +0000 (0:00:00.317) 0:00:08.076 **** 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, 9f52a22b-d6f0-409f-b370-02578072a172\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9f52a22b-d6f0-409f-b370-02578072a172" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:03:22 +0000 (0:00:00.054) 0:00:08.131 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 00:03:22 +0000 (0:00:00.113) 0:00:08.244 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:03:22 +0000 (0:00:00.091) 0:00:08.336 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:03:22 +0000 (0:00:00.026) 0:00:08.362 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:03:22 +0000 (0:00:00.277) 0:00:08.640 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:03:22 +0000 (0:00:00.023) 0:00:08.663 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021905", "end": "2024-02-14 00:03:23.158693", "rc": 0, "start": "2024-02-14 00:03:23.136788" } 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.293) 0:00:08.956 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.038) 0:00:08.995 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.023) 0:00:09.019 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.024) 0:00:09.044 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.053) 0:00:09.097 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.023) 0:00:09.120 **** 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_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.025) 0:00:09.146 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.031) 0:00:09.178 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.026) 0:00:09.204 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.048) 0:00:09.252 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.042) 0:00:09.295 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869001.721384, "block_size": 4096, "blocks": 0, "ctime": 1707869001.721384, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30389, "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": 1707869001.721384, "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_rewritef0amzx4l/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.202) 0:00:09.497 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.025) 0:00:09.523 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.024) 0:00:09.548 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:03:23 +0000 (0:00:00.043) 0:00:09.591 **** 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.062841", "end": "2024-02-14 00:03:24.065598", "rc": 1, "start": "2024-02-14 00:03:24.002757" } STDOUT: Connection 'statebr' (9f52a22b-d6f0-409f-b370-02578072a172) 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_rewritef0amzx4l/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 00:03:24 +0000 (0:00:00.256) 0:00:09.847 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:03:24 +0000 (0:00:00.062) 0:00:09.910 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:03:24 +0000 (0:00:00.023) 0:00:09.933 **** 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_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:03:24 +0000 (0:00:00.048) 0:00:09.982 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:24 +0000 (0:00:00.038) 0:00:10.020 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:24 +0000 (0:00:00.041) 0:00:10.062 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003159", "end": "2024-02-14 00:03:24.475018", "rc": 0, "start": "2024-02-14 00:03:24.471859" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:24 +0000 (0:00:00.195) 0:00:10.258 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:24 +0000 (0:00:00.026) 0:00:10.284 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:03:24 +0000 (0:00:00.025) 0:00:10.310 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 00:03:24 +0000 (0:00:00.043) 0:00:10.353 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.005716", "end": "2024-02-14 00:03:24.769602", "rc": 1, "start": "2024-02-14 00:03:24.763886" } 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_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:03:24 +0000 (0:00:00.200) 0:00:10.554 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:03:24 +0000 (0:00:00.062) 0:00:10.616 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:03:25 +0000 (0:00:00.207) 0:00:10.823 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:03:25 +0000 (0:00:00.058) 0:00:10.882 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 00:03:25 +0000 (0:00:00.048) 0:00:10.930 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:03:25 +0000 (0:00:00.042) 0:00:10.973 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:03:25 +0000 (0:00:00.040) 0:00:11.014 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:03:25 +0000 (0:00:00.030) 0:00:11.045 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:03:25 +0000 (0:00:00.021) 0:00:11.067 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:03:25 +0000 (0:00:00.022) 0:00:11.089 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:03:26 +0000 (0:00:01.423) 0:00:12.513 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:03:27 +0000 (0:00:01.002) 0:00:13.515 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:03:27 +0000 (0:00:00.051) 0:00:13.567 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:03:27 +0000 (0:00:00.043) 0:00:13.611 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:03:27 +0000 (0:00:00.097) 0:00:13.708 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:03:28 +0000 (0:00:00.061) 0:00:13.770 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:03:28 +0000 (0:00:00.053) 0:00:13.824 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:03:28 +0000 (0:00:00.045) 0:00:13.869 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:03:28 +0000 (0:00:00.039) 0:00:13.908 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:03:28 +0000 (0:00:00.359) 0:00:14.267 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:03:28 +0000 (0:00:00.031) 0:00:14.299 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:03:28 +0000 (0:00:00.026) 0:00:14.326 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:03:28 +0000 (0:00:00.029) 0:00:14.355 **** 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, 214ace66-7ccb-4f35-b1df-a2517dfcb276 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:03:29 +0000 (0:00:00.446) 0:00:14.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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:03:29 +0000 (0:00:00.024) 0:00:14.826 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 214ace66-7ccb-4f35-b1df-a2517dfcb276" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:03:29 +0000 (0:00:00.040) 0:00:14.866 **** 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, 214ace66-7ccb-4f35-b1df-a2517dfcb276\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 214ace66-7ccb-4f35-b1df-a2517dfcb276" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:03:29 +0000 (0:00:00.027) 0:00:14.894 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:03:29 +0000 (0:00:00.030) 0:00:14.924 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 00:03:29 +0000 (0:00:00.191) 0:00:15.116 **** 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, 214ace66-7ccb-4f35-b1df-a2517dfcb276\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 214ace66-7ccb-4f35-b1df-a2517dfcb276" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:03:29 +0000 (0:00:00.042) 0:00:15.159 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:03:29 +0000 (0:00:00.064) 0:00:15.223 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:03:29 +0000 (0:00:00.039) 0:00:15.263 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:03:29 +0000 (0:00:00.199) 0:00:15.462 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 00:03:29 +0000 (0:00:00.027) 0:00:15.490 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:03:29 +0000 (0:00:00.067) 0:00:15.557 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:03:29 +0000 (0:00:00.026) 0:00:15.584 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.232) 0:00:15.816 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.026) 0:00:15.843 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021198", "end": "2024-02-14 00:03:30.276680", "rc": 0, "start": "2024-02-14 00:03:30.255482" } 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.217) 0:00:16.061 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.027) 0:00:16.088 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.039) 0:00:16.127 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.032) 0:00:16.160 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.032) 0:00:16.192 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.040) 0:00:16.233 **** 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_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.030) 0:00:16.263 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.032) 0:00:16.296 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.034) 0:00:16.330 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.025) 0:00:16.355 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.023) 0:00:16.379 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.044) 0:00:16.423 **** 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.041904", "end": "2024-02-14 00:03:30.884711", "rc": 1, "start": "2024-02-14 00:03:30.842807" } STDOUT: Connection 'statebr' (214ace66-7ccb-4f35-b1df-a2517dfcb276) 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_rewritef0amzx4l/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 00:03:30 +0000 (0:00:00.302) 0:00:16.725 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:03:31 +0000 (0:00:00.125) 0:00:16.851 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:03:31 +0000 (0:00:00.039) 0:00:16.890 **** 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_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:03:31 +0000 (0:00:00.045) 0:00:16.936 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:31 +0000 (0:00:00.038) 0:00:16.975 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:31 +0000 (0:00:00.038) 0:00:17.013 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003318", "end": "2024-02-14 00:03:31.435287", "rc": 0, "start": "2024-02-14 00:03:31.431969" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:31 +0000 (0:00:00.204) 0:00:17.218 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:31 +0000 (0:00:00.023) 0:00:17.241 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:03:31 +0000 (0:00:00.021) 0:00:17.263 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:03:31 +0000 (0:00:00.039) 0:00:17.303 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:03:31 +0000 (0:00:00.039) 0:00:17.343 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:03:31 +0000 (0:00:00.042) 0:00:17.385 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:03:31 +0000 (0:00:00.082) 0:00:17.467 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:03:31 +0000 (0:00:00.026) 0:00:17.494 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:03:31 +0000 (0:00:00.025) 0:00:17.520 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:03:33 +0000 (0:00:01.410) 0:00:18.931 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:03:34 +0000 (0:00:00.960) 0:00:19.892 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:03:34 +0000 (0:00:00.023) 0:00:19.916 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:03:34 +0000 (0:00:00.025) 0:00:19.941 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:03:34 +0000 (0:00:00.077) 0:00:20.019 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:03:34 +0000 (0:00:00.054) 0:00:20.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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:03:34 +0000 (0:00:00.023) 0:00:20.096 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:03:34 +0000 (0:00:00.026) 0:00:20.123 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:03:34 +0000 (0:00:00.030) 0:00:20.153 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:03:34 +0000 (0:00:00.407) 0:00:20.561 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:03:34 +0000 (0:00:00.031) 0:00:20.592 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:03:34 +0000 (0:00:00.024) 0:00:20.616 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:03:34 +0000 (0:00:00.041) 0:00:20.657 **** 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, f5f93392-05d1-405a-b106-f96968b3a897 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:03:35 +0000 (0:00:00.423) 0:00:21.081 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:03:35 +0000 (0:00:00.062) 0:00:21.144 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f5f93392-05d1-405a-b106-f96968b3a897" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:03:35 +0000 (0:00:00.034) 0:00:21.179 **** 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, f5f93392-05d1-405a-b106-f96968b3a897\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f5f93392-05d1-405a-b106-f96968b3a897" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:03:35 +0000 (0:00:00.036) 0:00:21.215 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:03:35 +0000 (0:00:00.034) 0:00:21.250 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:03:35 +0000 (0:00:00.193) 0:00:21.443 **** 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, f5f93392-05d1-405a-b106-f96968b3a897\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, f5f93392-05d1-405a-b106-f96968b3a897" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:03:35 +0000 (0:00:00.027) 0:00:21.471 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:03:35 +0000 (0:00:00.077) 0:00:21.549 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:03:35 +0000 (0:00:00.043) 0:00:21.592 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:03:35 +0000 (0:00:00.054) 0:00:21.647 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:03:35 +0000 (0:00:00.040) 0:00:21.687 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:03:35 +0000 (0:00:00.038) 0:00:21.725 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:03:36 +0000 (0:00:00.050) 0:00:21.775 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:03:37 +0000 (0:00:01.396) 0:00:23.172 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.974) 0:00:24.146 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.053) 0:00:24.199 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.038) 0:00:24.238 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.027) 0:00:24.265 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.048) 0:00:24.314 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.030) 0:00:24.344 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.025) 0:00:24.369 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:03:38 +0000 (0:00:00.064) 0:00:24.433 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.381) 0:00:24.815 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.041) 0:00:24.856 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.032) 0:00:24.889 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.056) 0:00:24.945 **** 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, f5f93392-05d1-405a-b106-f96968b3a897 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.473) 0:00:25.419 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.022) 0:00:25.441 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f5f93392-05d1-405a-b106-f96968b3a897 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.023) 0:00:25.465 **** 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, f5f93392-05d1-405a-b106-f96968b3a897 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, f5f93392-05d1-405a-b106-f96968b3a897 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.024) 0:00:25.489 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.022) 0:00:25.512 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:03:39 +0000 (0:00:00.192) 0:00:25.704 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:03:40 +0000 (0:00:00.055) 0:00:25.759 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:03:40 +0000 (0:00:00.056) 0:00:25.816 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869015.2406816, "block_size": 4096, "blocks": 0, "ctime": 1707869015.2406816, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30520, "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": 1707869015.2406816, "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_rewritef0amzx4l/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:03:40 +0000 (0:00:00.220) 0:00:26.036 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 00:03:40 +0000 (0:00:00.025) 0:00:26.061 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:03:40 +0000 (0:00:00.039) 0:00:26.101 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:03:40 +0000 (0:00:00.024) 0:00:26.125 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:03:40 +0000 (0:00:00.208) 0:00:26.334 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:03:40 +0000 (0:00:00.170) 0:00:26.504 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021014", "end": "2024-02-14 00:03:40.953168", "rc": 0, "start": "2024-02-14 00:03:40.932154" } 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.254) 0:00:26.758 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.033) 0:00:26.792 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.025) 0:00:26.818 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.026) 0:00:26.844 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.035) 0:00:26.880 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.034) 0:00:26.915 **** 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_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.025) 0:00:26.940 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.051) 0:00:26.991 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.049) 0:00:27.041 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.031) 0:00:27.072 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.097) 0:00:27.169 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.055) 0:00:27.224 **** 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.065411", "end": "2024-02-14 00:03:41.727714", "rc": 1, "start": "2024-02-14 00:03:41.662303" } STDOUT: Connection 'statebr' (f5f93392-05d1-405a-b106-f96968b3a897) 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_rewritef0amzx4l/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.285) 0:00:27.510 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.038) 0:00:27.548 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.051) 0:00:27.599 **** 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_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.046) 0:00:27.646 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.038) 0:00:27.684 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:41 +0000 (0:00:00.039) 0:00:27.724 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003209", "end": "2024-02-14 00:03:42.153423", "rc": 0, "start": "2024-02-14 00:03:42.150214" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.224) 0:00:27.948 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.058) 0:00:28.007 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.033) 0:00:28.041 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.061) 0:00:28.103 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.065) 0:00:28.168 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.072) 0:00:28.241 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.042) 0:00:28.284 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.029) 0:00:28.313 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:03:42 +0000 (0:00:00.069) 0:00:28.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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:03:44 +0000 (0:00:01.407) 0:00:29.790 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:03:45 +0000 (0:00:00.968) 0:00:30.758 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:03:45 +0000 (0:00:00.028) 0:00:30.787 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:03:45 +0000 (0:00:00.027) 0:00:30.815 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:03:45 +0000 (0:00:00.031) 0:00:30.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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:03:45 +0000 (0:00:00.056) 0:00:30.903 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:03:45 +0000 (0:00:00.025) 0:00:30.928 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:03:45 +0000 (0:00:00.053) 0:00:30.982 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:03:45 +0000 (0:00:00.026) 0:00:31.008 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:03:45 +0000 (0:00:00.362) 0:00:31.370 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:03:45 +0000 (0:00:00.043) 0:00:31.414 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:03:45 +0000 (0:00:00.039) 0:00:31.453 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:03:45 +0000 (0:00:00.037) 0:00:31.490 **** 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, fc5aa4ae-155d-41f2-bd62-e3cdb14e2216 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.396) 0:00:31.886 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.023) 0:00:31.909 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc5aa4ae-155d-41f2-bd62-e3cdb14e2216" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.026) 0:00:31.936 **** 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, fc5aa4ae-155d-41f2-bd62-e3cdb14e2216\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc5aa4ae-155d-41f2-bd62-e3cdb14e2216" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.026) 0:00:31.962 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.023) 0:00:31.986 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.190) 0:00:32.177 **** ok: [sut] => { "__network_connections_result": { "_invocation": { "module_args": { "__debug_flags": "", "__header": "#\n# Ansible managed\n#\n# system_role:network\n", "connections": [ { "ip": { "auto6": false, "dhcp4": false }, "name": "statebr", "persistent_state": "present", "type": "bridge" } ], "force_state_change": false, "ignore_errors": false, "provider": "nm" } }, "changed": true, "failed": false, "stderr": "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc5aa4ae-155d-41f2-bd62-e3cdb14e2216\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, fc5aa4ae-155d-41f2-bd62-e3cdb14e2216" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.025) 0:00:32.202 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.049) 0:00:32.252 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.077) 0:00:32.329 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.030) 0:00:32.359 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.028) 0:00:32.388 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:03:46 +0000 (0:00:00.035) 0:00:32.424 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:03:48 +0000 (0:00:01.416) 0:00:33.841 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:03:49 +0000 (0:00:00.974) 0:00:34.816 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:03:49 +0000 (0:00:00.030) 0:00:34.846 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:03:49 +0000 (0:00:00.122) 0:00:34.968 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:03:49 +0000 (0:00:00.043) 0:00:35.012 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:03:49 +0000 (0:00:00.050) 0:00:35.063 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:03:49 +0000 (0:00:00.025) 0:00:35.088 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:03:49 +0000 (0:00:00.024) 0:00:35.113 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:03:49 +0000 (0:00:00.028) 0:00:35.141 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:03:49 +0000 (0:00:00.396) 0:00:35.537 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:03:49 +0000 (0:00:00.051) 0:00:35.588 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:03:49 +0000 (0:00:00.054) 0:00:35.643 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:03:49 +0000 (0:00:00.049) 0:00:35.693 **** 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, fc5aa4ae-155d-41f2-bd62-e3cdb14e2216 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.381) 0:00:36.074 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.023) 0:00:36.097 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc5aa4ae-155d-41f2-bd62-e3cdb14e2216 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.030) 0:00:36.128 **** 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, fc5aa4ae-155d-41f2-bd62-e3cdb14e2216 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, fc5aa4ae-155d-41f2-bd62-e3cdb14e2216 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.026) 0:00:36.155 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.025) 0:00:36.181 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.221) 0:00:36.402 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.046) 0:00:36.449 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.046) 0:00:36.495 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.048) 0:00:36.543 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.031) 0:00:36.575 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.024) 0:00:36.599 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:03:50 +0000 (0:00:00.023) 0:00:36.622 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:03:52 +0000 (0:00:01.389) 0:00:38.012 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:03:53 +0000 (0:00:00.963) 0:00:38.976 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:03:53 +0000 (0:00:00.027) 0:00:39.003 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:03:53 +0000 (0:00:00.026) 0:00:39.029 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:03:53 +0000 (0:00:00.024) 0:00:39.054 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:03:53 +0000 (0:00:00.049) 0:00:39.103 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:03:53 +0000 (0:00:00.023) 0:00:39.127 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:03:53 +0000 (0:00:00.022) 0:00:39.149 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:03:53 +0000 (0:00:00.027) 0:00:39.177 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:03:53 +0000 (0:00:00.353) 0:00:39.530 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:03:53 +0000 (0:00:00.028) 0:00:39.558 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:03:53 +0000 (0:00:00.021) 0:00:39.580 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:03:53 +0000 (0:00:00.052) 0:00:39.632 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.378) 0:00:40.011 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.028) 0:00:40.039 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.025) 0:00:40.064 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.033) 0:00:40.098 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.023) 0:00:40.121 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.198) 0:00:40.320 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.049) 0:00:40.369 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.038) 0:00:40.407 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869026.0533562, "block_size": 4096, "blocks": 0, "ctime": 1707869026.0533562, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 30651, "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": 1707869026.0533562, "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_rewritef0amzx4l/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.205) 0:00:40.613 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.025) 0:00:40.638 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.041) 0:00:40.680 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:03:54 +0000 (0:00:00.033) 0:00:40.713 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.203) 0:00:40.917 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.026) 0:00:40.944 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021275", "end": "2024-02-14 00:03:55.421771", "rc": 1, "start": "2024-02-14 00:03:55.400496" } 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.269) 0:00:41.214 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.051) 0:00:41.265 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.034) 0:00:41.300 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.042) 0:00:41.343 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.064) 0:00:41.407 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.075) 0:00:41.482 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.059) 0:00:41.541 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.026) 0:00:41.568 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.028) 0:00:41.596 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:03:55 +0000 (0:00:00.063) 0:00:41.660 **** 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.074062", "end": "2024-02-14 00:03:56.154343", "rc": 1, "start": "2024-02-14 00:03:56.080281" } STDOUT: Connection 'statebr' (fc5aa4ae-155d-41f2-bd62-e3cdb14e2216) 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_rewritef0amzx4l/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 00:03:56 +0000 (0:00:00.298) 0:00:41.958 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:03:56 +0000 (0:00:00.146) 0:00:42.104 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:03:56 +0000 (0:00:00.025) 0:00:42.130 **** 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_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:03:56 +0000 (0:00:00.058) 0:00:42.189 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:03:56 +0000 (0:00:00.037) 0:00:42.227 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:03:56 +0000 (0:00:00.037) 0:00:42.264 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003329", "end": "2024-02-14 00:03:56.682325", "rc": 0, "start": "2024-02-14 00:03:56.678996" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:03:56 +0000 (0:00:00.213) 0:00:42.477 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:03:56 +0000 (0:00:00.030) 0:00:42.508 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:03:56 +0000 (0:00:00.055) 0:00:42.564 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:03:56 +0000 (0:00:00.063) 0:00:42.628 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:03:56 +0000 (0:00:00.058) 0:00:42.687 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:03:56 +0000 (0:00:00.057) 0:00:42.744 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:03:57 +0000 (0:00:00.036) 0:00:42.780 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:03:57 +0000 (0:00:00.077) 0:00:42.858 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:03:57 +0000 (0:00:00.050) 0:00:42.908 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:03:58 +0000 (0:00:01.417) 0:00:44.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 : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:03:59 +0000 (0:00:00.943) 0:00:45.269 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:03:59 +0000 (0:00:00.024) 0:00:45.294 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:03:59 +0000 (0:00:00.077) 0:00:45.372 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:03:59 +0000 (0:00:00.047) 0:00:45.420 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:03:59 +0000 (0:00:00.126) 0:00:45.546 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:03:59 +0000 (0:00:00.025) 0:00:45.572 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:03:59 +0000 (0:00:00.031) 0:00:45.604 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:03:59 +0000 (0:00:00.031) 0:00:45.636 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:04:00 +0000 (0:00:00.438) 0:00:46.074 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:04:00 +0000 (0:00:00.051) 0:00:46.125 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:04:00 +0000 (0:00:00.030) 0:00:46.156 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:04:00 +0000 (0:00:00.034) 0:00:46.191 **** 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, 417a1e19-fd8e-4efc-af6f-f2c694d2ae6a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:04:00 +0000 (0:00:00.423) 0:00:46.614 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:04:00 +0000 (0:00:00.045) 0:00:46.660 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 417a1e19-fd8e-4efc-af6f-f2c694d2ae6a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:04:00 +0000 (0:00:00.031) 0:00:46.692 **** 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, 417a1e19-fd8e-4efc-af6f-f2c694d2ae6a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 417a1e19-fd8e-4efc-af6f-f2c694d2ae6a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:04:00 +0000 (0:00:00.030) 0:00:46.722 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.045) 0:00:46.767 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.219) 0:00:46.986 **** 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, 417a1e19-fd8e-4efc-af6f-f2c694d2ae6a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 417a1e19-fd8e-4efc-af6f-f2c694d2ae6a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.030) 0:00:47.017 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.097) 0:00:47.115 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.045) 0:00:47.161 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.038) 0:00:47.199 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.029) 0:00:47.229 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:04:01 +0000 (0:00:00.058) 0:00:47.288 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:04:03 +0000 (0:00:01.546) 0:00:48.834 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:04:04 +0000 (0:00:01.021) 0:00:49.856 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:04:04 +0000 (0:00:00.077) 0:00:49.933 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:04:04 +0000 (0:00:00.033) 0:00:49.967 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:04:04 +0000 (0:00:00.031) 0:00:49.999 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:04:04 +0000 (0:00:00.062) 0:00:50.062 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:04:04 +0000 (0:00:00.023) 0:00:50.085 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:04:04 +0000 (0:00:00.032) 0:00:50.118 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:04:04 +0000 (0:00:00.040) 0:00:50.158 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:04:04 +0000 (0:00:00.384) 0:00:50.542 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:04:04 +0000 (0:00:00.029) 0:00:50.571 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:04:04 +0000 (0:00:00.024) 0:00:50.596 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:04:04 +0000 (0:00:00.031) 0:00:50.627 **** 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, 417a1e19-fd8e-4efc-af6f-f2c694d2ae6a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:04:05 +0000 (0:00:00.393) 0:00:51.020 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:04:05 +0000 (0:00:00.023) 0:00:51.044 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 417a1e19-fd8e-4efc-af6f-f2c694d2ae6a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:04:05 +0000 (0:00:00.038) 0:00:51.082 **** 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, 417a1e19-fd8e-4efc-af6f-f2c694d2ae6a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 417a1e19-fd8e-4efc-af6f-f2c694d2ae6a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:04:05 +0000 (0:00:00.033) 0:00:51.115 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:04:05 +0000 (0:00:00.024) 0:00:51.140 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 00:04:05 +0000 (0:00:00.191) 0:00:51.331 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:04:05 +0000 (0:00:00.038) 0:00:51.370 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:04:05 +0000 (0:00:00.041) 0:00:51.411 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:04:05 +0000 (0:00:00.029) 0:00:51.441 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:04:05 +0000 (0:00:00.023) 0:00:51.464 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:04:05 +0000 (0:00:00.035) 0:00:51.499 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:04:07 +0000 (0:00:01.405) 0:00:52.905 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:04:08 +0000 (0:00:00.985) 0:00:53.891 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:04:08 +0000 (0:00:00.033) 0:00:53.924 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:04:08 +0000 (0:00:00.023) 0:00:53.948 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:04:08 +0000 (0:00:00.025) 0:00:53.974 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:04:08 +0000 (0:00:00.055) 0:00:54.029 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:04:08 +0000 (0:00:00.035) 0:00:54.065 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Restart NetworkManager due to wireless or team interfaces] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:04:08 +0000 (0:00:00.034) 0:00:54.100 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:04:08 +0000 (0:00:00.028) 0:00:54.128 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:04:08 +0000 (0:00:00.381) 0:00:54.509 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:04:08 +0000 (0:00:00.033) 0:00:54.543 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:04:08 +0000 (0:00:00.042) 0:00:54.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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:04:08 +0000 (0:00:00.030) 0:00:54.616 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:04:09 +0000 (0:00:00.484) 0:00:55.100 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:04:09 +0000 (0:00:00.023) 0:00:55.124 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:04:09 +0000 (0:00:00.028) 0:00:55.152 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:04:09 +0000 (0:00:00.024) 0:00:55.176 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:04:09 +0000 (0:00:00.023) 0:00:55.199 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:04:09 +0000 (0:00:00.196) 0:00:55.396 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 00:04:09 +0000 (0:00:00.055) 0:00:55.451 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:04:09 +0000 (0:00:00.066) 0:00:55.517 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:04:09 +0000 (0:00:00.051) 0:00:55.569 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:04:09 +0000 (0:00:00.036) 0:00:55.605 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:04:09 +0000 (0:00:00.034) 0:00:55.640 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:04:09 +0000 (0:00:00.045) 0:00:55.686 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:04:11 +0000 (0:00:01.434) 0:00:57.120 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:04:12 +0000 (0:00:00.951) 0:00:58.072 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:04:12 +0000 (0:00:00.024) 0:00:58.096 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:04:12 +0000 (0:00:00.023) 0:00:58.120 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:04:12 +0000 (0:00:00.022) 0:00:58.143 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install NetworkManager and nmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:04:12 +0000 (0:00:00.046) 0:00:58.189 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:04:12 +0000 (0:00:00.023) 0:00:58.212 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:04:12 +0000 (0:00:00.023) 0:00:58.236 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:04:12 +0000 (0:00:00.026) 0:00:58.263 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:04:12 +0000 (0:00:00.427) 0:00:58.691 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:04:12 +0000 (0:00:00.029) 0:00:58.720 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:04:12 +0000 (0:00:00.023) 0:00:58.744 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:04:13 +0000 (0:00:00.028) 0:00:58.773 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:04:13 +0000 (0:00:00.435) 0:00:59.208 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:04:13 +0000 (0:00:00.027) 0:00:59.235 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:04:13 +0000 (0:00:00.039) 0:00:59.275 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:04:13 +0000 (0:00:00.027) 0:00:59.302 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:04:13 +0000 (0:00:00.056) 0:00:59.359 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:04:13 +0000 (0:00:00.197) 0:00:59.557 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 00:04:13 +0000 (0:00:00.040) 0:00:59.598 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:04:13 +0000 (0:00:00.038) 0:00:59.636 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:04:13 +0000 (0:00:00.024) 0:00:59.660 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:04:14 +0000 (0:00:00.236) 0:00:59.897 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:04:14 +0000 (0:00:00.032) 0:00:59.930 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020862", "end": "2024-02-14 00:04:14.373394", "rc": 1, "start": "2024-02-14 00:04:14.352532" } 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:04:14 +0000 (0:00:00.246) 0:01:00.176 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:04:14 +0000 (0:00:00.051) 0:01:00.228 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:04:14 +0000 (0:00:00.046) 0:01:00.274 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:04:14 +0000 (0:00:00.056) 0:01:00.330 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:04:14 +0000 (0:00:00.043) 0:01:00.374 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 00:04:14 +0000 (0:00:00.027) 0:01:00.401 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:04:14 +0000 (0:00:00.028) 0:01:00.430 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:04:14 +0000 (0:00:00.047) 0:01:00.478 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:04:14 +0000 (0:00:00.040) 0:01:00.518 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:04:14 +0000 (0:00:00.220) 0:01:00.738 **** 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_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:04:15 +0000 (0:00:00.049) 0:01:00.788 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:04:15 +0000 (0:00:00.027) 0:01:00.816 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:04:15 +0000 (0:00:00.100) 0:01:00.916 **** 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.039517", "end": "2024-02-14 00:04:15.392102", "rc": 1, "start": "2024-02-14 00:04:15.352585" } 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_rewritef0amzx4l/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 00:04:15 +0000 (0:00:00.290) 0:01:01.206 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:04:15 +0000 (0:00:00.086) 0:01:01.292 **** 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_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:04:15 +0000 (0:00:00.045) 0:01:01.338 **** 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_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:04:15 +0000 (0:00:00.098) 0:01:01.436 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:04:15 +0000 (0:00:00.058) 0:01:01.495 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:04:15 +0000 (0:00:00.071) 0:01:01.567 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003171", "end": "2024-02-14 00:04:15.995744", "rc": 0, "start": "2024-02-14 00:04:15.992573" } STDOUT: bonding_masters eth0 lo rpltstbr TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:04:16 +0000 (0:00:00.230) 0:01:01.797 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo", "rpltstbr" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:04:16 +0000 (0:00:00.033) 0:01:01.831 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo', 'rpltstbr'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:04:16 +0000 (0:00:00.088) 0:01:01.919 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:04:16 +0000 (0:00:00.065) 0:01:01.985 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:04:16 +0000 (0:00:00.202) 0:01:02.187 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:04:16 +0000 (0:00:00.059) 0:01:02.246 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:04:16 +0000 (0:00:00.166) 0:01:02.413 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:04:16 +0000 (0:00:00.064) 0:01:02.477 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Check which services are running] *********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:04:16 +0000 (0:00:00.057) 0:01:02.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:04:18 +0000 (0:00:01.453) 0:01:03.989 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:04:19 +0000 (0:00:01.011) 0:01:05.000 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:04:19 +0000 (0:00:00.025) 0:01:05.026 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:04:19 +0000 (0:00:00.032) 0:01:05.059 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:04:19 +0000 (0:00:00.024) 0:01:05.083 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:04:19 +0000 (0:00:00.063) 0:01:05.147 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:04:19 +0000 (0:00:00.039) 0:01:05.186 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:04:19 +0000 (0:00:00.032) 0:01:05.219 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:04:19 +0000 (0:00:00.028) 0:01:05.248 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:04:19 +0000 (0:00:00.357) 0:01:05.605 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:04:19 +0000 (0:00:00.028) 0:01:05.634 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:04:19 +0000 (0:00:00.024) 0:01:05.658 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:04:19 +0000 (0:00:00.029) 0:01:05.688 **** 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, 7707ac01-988f-46ce-986b-16ea39deb53a TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:04:20 +0000 (0:00:00.420) 0:01:06.108 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:04:20 +0000 (0:00:00.033) 0:01:06.142 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7707ac01-988f-46ce-986b-16ea39deb53a" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:04:20 +0000 (0:00:00.027) 0:01:06.170 **** 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, 7707ac01-988f-46ce-986b-16ea39deb53a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7707ac01-988f-46ce-986b-16ea39deb53a" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:04:20 +0000 (0:00:00.072) 0:01:06.242 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:04:20 +0000 (0:00:00.034) 0:01:06.277 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:04:20 +0000 (0:00:00.231) 0:01:06.508 **** 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, 7707ac01-988f-46ce-986b-16ea39deb53a\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 7707ac01-988f-46ce-986b-16ea39deb53a" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:04:20 +0000 (0:00:00.039) 0:01:06.548 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:04:20 +0000 (0:00:00.084) 0:01:06.632 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:04:20 +0000 (0:00:00.070) 0:01:06.703 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:04:20 +0000 (0:00:00.043) 0:01:06.746 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:04:21 +0000 (0:00:00.038) 0:01:06.785 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:04:21 +0000 (0:00:00.036) 0:01:06.821 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:04:22 +0000 (0:00:01.444) 0:01:08.266 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:04:23 +0000 (0:00:01.026) 0:01:09.292 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:04:23 +0000 (0:00:00.056) 0:01:09.349 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:04:23 +0000 (0:00:00.044) 0:01:09.394 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:04:23 +0000 (0:00:00.055) 0:01:09.449 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:04:23 +0000 (0:00:00.063) 0:01:09.513 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:04:23 +0000 (0:00:00.023) 0:01:09.537 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:04:23 +0000 (0:00:00.024) 0:01:09.561 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:04:23 +0000 (0:00:00.037) 0:01:09.599 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:04:24 +0000 (0:00:00.393) 0:01:09.992 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:04:24 +0000 (0:00:00.030) 0:01:10.022 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:04:24 +0000 (0:00:00.039) 0:01:10.062 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:04:24 +0000 (0:00:00.028) 0:01:10.090 **** 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, 7707ac01-988f-46ce-986b-16ea39deb53a skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:04:24 +0000 (0:00:00.460) 0:01:10.551 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:04:24 +0000 (0:00:00.030) 0:01:10.581 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7707ac01-988f-46ce-986b-16ea39deb53a skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:04:24 +0000 (0:00:00.050) 0:01:10.632 **** 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, 7707ac01-988f-46ce-986b-16ea39deb53a skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 7707ac01-988f-46ce-986b-16ea39deb53a skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:04:24 +0000 (0:00:00.025) 0:01:10.657 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:04:24 +0000 (0:00:00.026) 0:01:10.684 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 00:04:25 +0000 (0:00:00.230) 0:01:10.914 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:04:25 +0000 (0:00:00.084) 0:01:10.998 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:04:25 +0000 (0:00:00.081) 0:01:11.080 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:04:25 +0000 (0:00:00.033) 0:01:11.113 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:04:25 +0000 (0:00:00.022) 0:01:11.135 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:04:25 +0000 (0:00:00.025) 0:01:11.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 : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:04:26 +0000 (0:00:01.415) 0:01:12.577 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:04:27 +0000 (0:00:01.060) 0:01:13.637 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:04:27 +0000 (0:00:00.033) 0:01:13.671 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:04:27 +0000 (0:00:00.049) 0:01:13.720 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:04:27 +0000 (0:00:00.028) 0:01:13.749 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:04:28 +0000 (0:00:00.047) 0:01:13.796 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:04:28 +0000 (0:00:00.024) 0:01:13.821 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:04:28 +0000 (0:00:00.022) 0:01:13.844 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:04:28 +0000 (0:00:00.034) 0:01:13.879 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:04:28 +0000 (0:00:00.416) 0:01:14.295 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:04:28 +0000 (0:00:00.093) 0:01:14.389 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:04:28 +0000 (0:00:00.044) 0:01:14.433 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:04:28 +0000 (0:00:00.027) 0:01:14.460 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:04:29 +0000 (0:00:00.467) 0:01:14.928 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:04:29 +0000 (0:00:00.040) 0:01:14.968 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:04:29 +0000 (0:00:00.036) 0:01:15.004 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:04:29 +0000 (0:00:00.059) 0:01:15.064 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:04:29 +0000 (0:00:00.047) 0:01:15.112 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:04:29 +0000 (0:00:00.243) 0:01:15.356 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 00:04:29 +0000 (0:00:00.062) 0:01:15.418 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:04:29 +0000 (0:00:00.040) 0:01:15.459 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:04:29 +0000 (0:00:00.054) 0:01:15.514 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:04:29 +0000 (0:00:00.045) 0:01:15.559 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:04:29 +0000 (0:00:00.068) 0:01:15.628 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:04:29 +0000 (0:00:00.031) 0:01:15.660 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:04:31 +0000 (0:00:01.422) 0:01:17.083 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:04:32 +0000 (0:00:01.021) 0:01:18.104 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:04:32 +0000 (0:00:00.041) 0:01:18.146 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:04:32 +0000 (0:00:00.064) 0:01:18.211 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:04:32 +0000 (0:00:00.053) 0:01:18.264 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:04:32 +0000 (0:00:00.086) 0:01:18.351 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:04:32 +0000 (0:00:00.061) 0:01:18.413 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:04:32 +0000 (0:00:00.055) 0:01:18.469 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:04:32 +0000 (0:00:00.083) 0:01:18.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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:04:33 +0000 (0:00:00.552) 0:01:19.105 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:04:33 +0000 (0:00:00.044) 0:01:19.149 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:04:33 +0000 (0:00:00.038) 0:01:19.187 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:04:33 +0000 (0:00:00.075) 0:01:19.263 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:04:34 +0000 (0:00:00.534) 0:01:19.797 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:04:34 +0000 (0:00:00.028) 0:01:19.826 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:04:34 +0000 (0:00:00.032) 0:01:19.858 **** 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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:04:34 +0000 (0:00:00.027) 0:01:19.885 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:04:34 +0000 (0:00:00.038) 0:01:19.924 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:04:34 +0000 (0:00:00.203) 0:01:20.128 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 00:04:34 +0000 (0:00:00.092) 0:01:20.220 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:04:34 +0000 (0:00:00.062) 0:01:20.283 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:04:34 +0000 (0:00:00.030) 0:01:20.314 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:04:34 +0000 (0:00:00.200) 0:01:20.514 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:04:34 +0000 (0:00:00.081) 0:01:20.595 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021471", "end": "2024-02-14 00:04:35.032962", "rc": 1, "start": "2024-02-14 00:04:35.011491" } 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:04:35 +0000 (0:00:00.239) 0:01:20.835 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:04:35 +0000 (0:00:00.042) 0:01:20.877 **** 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_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:04:35 +0000 (0:00:00.027) 0:01:20.904 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:04:35 +0000 (0:00:00.024) 0:01:20.929 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:04:35 +0000 (0:00:00.048) 0:01:20.978 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 00:04:35 +0000 (0:00:00.034) 0:01:21.013 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 00:04:35 +0000 (0:00:00.033) 0:01:21.046 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.583167", "end": "2024-02-14 00:04:36.043311", "rc": 0, "start": "2024-02-14 00:04:35.460144" } STDOUT: NetworkManager-1.45.91-1.el9 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 00:04:36 +0000 (0:00:00.788) 0:01:21.835 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.45.91-1.el9" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 00:04:36 +0000 (0:00:00.027) 0:01:21.862 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.45.91-1.el9" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:04:36 +0000 (0:00:00.024) 0:01:21.886 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:04:36 +0000 (0:00:00.048) 0:01:21.935 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:04:36 +0000 (0:00:00.038) 0:01:21.973 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:04:36 +0000 (0:00:00.294) 0:01:22.267 **** 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_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:04:36 +0000 (0:00:00.028) 0:01:22.296 **** 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_rewritef0amzx4l/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:04:36 +0000 (0:00:00.034) 0:01:22.330 **** included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritef0amzx4l/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:04:36 +0000 (0:00:00.057) 0:01:22.387 **** 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.039017", "end": "2024-02-14 00:04:36.863259", "rc": 1, "start": "2024-02-14 00:04:36.824242" } 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_rewritef0amzx4l/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 00:04:36 +0000 (0:00:00.275) 0:01:22.663 **** 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.008765", "end": "2024-02-14 00:04:37.089219", "rc": 0, "start": "2024-02-14 00:04:37.080454" } 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 02:07:46:d4:d2:53 brd ff:ff:ff:ff:ff:ff altname enX0 inet 10.31.45.90/22 brd 10.31.47.255 scope global dynamic noprefixroute eth0 valid_lft 3168sec preferred_lft 3168sec inet6 fe80::7:46ff:fed4:d253/64 scope link valid_lft forever preferred_lft forever 28: rpltstbr: mtu 1500 qdisc noqueue state DOWN group default qlen 1000 link/ether 2e:e6:f0:1b:e0:56 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.44.1 dev eth0 proto dhcp src 10.31.45.90 metric 100 10.31.44.0/22 dev eth0 proto kernel scope link src 10.31.45.90 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_rewritef0amzx4l/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 00:04:37 +0000 (0:00:00.212) 0:01:22.875 **** 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.213774", "end": "2024-02-14 00:04:37.504864", "rc": 0, "start": "2024-02-14 00:04:37.291090" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 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 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 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 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 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 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 3812 0 --:--:-- --:--:-- --:--:-- 3812 % 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 2669 0 --:--:-- --:--:-- --:--:-- 2694 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 00:04:37 +0000 (0:00:00.400) 0:01:23.275 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.32s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 2.19s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.71s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 1.56s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritef0amzx4l/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_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.45s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.44s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Configure networking connection profiles --- 1.44s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Check which services are running ----------- 1.43s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.42s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.41s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.40s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.40s /WORKDIR/git-bond_options_rewritef0amzx4l/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 ---^---^---^---^---^--- # 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. ---^---^---^---^---^---