# 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_rewritewm05ls8b/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_rewritewm05ls8b/tests/tests_states_nm.yml:6 Wednesday 14 February 2024 00:12:09 +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_rewritewm05ls8b/tests/tests_states_nm.yml:9 Wednesday 14 February 2024 00:12:10 +0000 (0:00:00.713) 0:00:00.725 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:3 Wednesday 14 February 2024 00:12:10 +0000 (0:00:00.024) 0:00:00.749 **** ok: [sut] TASK [Check if system is ostree] *********************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:19 Wednesday 14 February 2024 00:12:10 +0000 (0:00:00.342) 0:00:01.091 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set flag to indicate system is ostree] *********************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:24 Wednesday 14 February 2024 00:12:11 +0000 (0:00:00.260) 0:00:01.352 **** ok: [sut] => { "ansible_facts": { "__network_is_ostree": false }, "changed": false } TASK [Fix CentOS6 Base repo] *************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:28 Wednesday 14 February 2024 00:12:11 +0000 (0:00:00.021) 0:00:01.374 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Include the task 'enable_epel.yml'] ************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/el_repo_setup.yml:53 Wednesday 14 February 2024 00:12:11 +0000 (0:00:00.018) 0:00:01.393 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml for sut TASK [Create EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:8 Wednesday 14 February 2024 00:12:11 +0000 (0:00:00.032) 0:00:01.425 **** ok: [sut] => { "attempts": 1, "changed": false, "cmd": [ "rpm", "-iv", "https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm" ], "rc": 0 } STDOUT: skipped, since /etc/yum.repos.d/epel.repo exists TASK [Install yum-utils package] *********************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:24 Wednesday 14 February 2024 00:12:11 +0000 (0:00:00.263) 0:00:01.689 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 7] *********************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:30 Wednesday 14 February 2024 00:12:11 +0000 (0:00:00.010) 0:00:01.700 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable EPEL 8] *********************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:35 Wednesday 14 February 2024 00:12:11 +0000 (0:00:00.010) 0:00:01.711 **** ok: [sut] => { "changed": false, "cmd": [ "dnf", "config-manager", "--set-enabled", "epel" ], "delta": "0:00:00.256858", "end": "2024-02-14 00:12:12.002195", "rc": 0, "start": "2024-02-14 00:12:11.745337" } TASK [Enable EPEL 6] *********************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tasks/enable_epel.yml:40 Wednesday 14 February 2024 00:12:12 +0000 (0:00:00.472) 0:00:02.183 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set network provider to 'nm'] ******************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/tests_states_nm.yml:11 Wednesday 14 February 2024 00:12:12 +0000 (0:00:00.011) 0:00:02.195 **** 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_rewritewm05ls8b/tests/playbooks/tests_states.yml:3 Wednesday 14 February 2024 00:12:12 +0000 (0:00:00.010) 0:00:02.205 **** ok: [sut] META: ran handlers TASK [Show playbook name] ****************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_states.yml:11 Wednesday 14 February 2024 00:12:12 +0000 (0:00:00.484) 0:00:02.690 **** ok: [sut] => {} MSG: this is: playbooks/tests_states.yml TASK [Include the task 'run_test.yml'] ***************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tests_states.yml:22 Wednesday 14 February 2024 00:12:12 +0000 (0:00:00.012) 0:00:02.703 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile] ******************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:12:12 +0000 (0:00:00.022) 0:00:02.725 **** ok: [sut] => {} MSG: ########## I can create a profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:12:12 +0000 (0:00:00.010) 0:00:02.736 **** 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_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:12:12 +0000 (0:00:00.032) 0:00:02.768 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:12:12 +0000 (0:00:00.013) 0:00:02.782 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:12:12 +0000 (0:00:00.014) 0:00:02.797 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003324", "end": "2024-02-14 00:12:12.828694", "rc": 0, "start": "2024-02-14 00:12:12.825370" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:12:12 +0000 (0:00:00.190) 0:00:02.987 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:12:12 +0000 (0:00:00.012) 0:00:03.000 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:12:12 +0000 (0:00:00.013) 0:00:03.013 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 00:12:12 +0000 (0:00:00.021) 0:00:03.034 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.008303", "end": "2024-02-14 00:12:13.073286", "rc": 1, "start": "2024-02-14 00:12:13.064983" } 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_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:12:13 +0000 (0:00:00.198) 0:00:03.233 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:12:13 +0000 (0:00:00.016) 0:00:03.250 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:12:13 +0000 (0:00:00.188) 0:00:03.438 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:12:13 +0000 (0:00:00.027) 0:00:03.466 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:12:13 +0000 (0:00:00.019) 0:00:03.486 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:12:13 +0000 (0:00:00.034) 0:00:03.520 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:12:13 +0000 (0:00:00.069) 0:00:03.589 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:12:13 +0000 (0:00:00.015) 0:00:03.604 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:12:13 +0000 (0:00:00.012) 0:00:03.617 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:12:13 +0000 (0:00:00.012) 0:00:03.629 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:12:15 +0000 (0:00:01.614) 0:00:05.244 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:12:16 +0000 (0:00:01.633) 0:00:06.877 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:12:16 +0000 (0:00:00.046) 0:00:06.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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:12:16 +0000 (0:00:00.028) 0:00:06.952 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:12:16 +0000 (0:00:00.038) 0:00:06.991 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:12:16 +0000 (0:00:00.057) 0:00:07.049 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:12:16 +0000 (0:00:00.024) 0:00:07.073 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:12:16 +0000 (0:00:00.022) 0:00:07.096 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:12:16 +0000 (0:00:00.025) 0:00:07.121 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:12:17 +0000 (0:00:00.518) 0:00:07.640 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:12:17 +0000 (0:00:00.026) 0:00:07.666 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Ensure initscripts network file dependency is present] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:12:17 +0000 (0:00:00.021) 0:00:07.687 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:12:17 +0000 (0:00:00.021) 0:00:07.709 **** 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, 9bf0a9ad-eb7f-42de-9126-f9bc23848006 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:12:18 +0000 (0:00:00.590) 0:00:08.300 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:12:18 +0000 (0:00:00.022) 0:00:08.322 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9bf0a9ad-eb7f-42de-9126-f9bc23848006" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:12:18 +0000 (0:00:00.022) 0:00:08.345 **** 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, 9bf0a9ad-eb7f-42de-9126-f9bc23848006\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9bf0a9ad-eb7f-42de-9126-f9bc23848006" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:12:18 +0000 (0:00:00.023) 0:00:08.368 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:12:18 +0000 (0:00:00.022) 0:00:08.391 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:12:18 +0000 (0:00:00.260) 0:00:08.651 **** 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, 9bf0a9ad-eb7f-42de-9126-f9bc23848006\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 9bf0a9ad-eb7f-42de-9126-f9bc23848006" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:12:18 +0000 (0:00:00.024) 0:00:08.676 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 00:12:18 +0000 (0:00:00.043) 0:00:08.719 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:12:18 +0000 (0:00:00.041) 0:00:08.761 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:12:18 +0000 (0:00:00.024) 0:00:08.785 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869538.1315286, "block_size": 4096, "blocks": 8, "ctime": 1707869538.0595288, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434771, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707869538.0595288, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:12:18 +0000 (0:00:00.209) 0:00:08.995 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:12:18 +0000 (0:00:00.024) 0:00:09.020 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.022461", "end": "2024-02-14 00:12:19.084479", "rc": 0, "start": "2024-02-14 00:12:19.062018" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.262) 0:00:09.282 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.027) 0:00:09.309 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.025) 0:00:09.335 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.028) 0:00:09.363 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.029) 0:00:09.392 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.032) 0:00:09.425 **** 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_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.040) 0:00:09.466 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.026) 0:00:09.493 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.029) 0:00:09.523 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.048) 0:00:09.572 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.050) 0:00:09.622 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869538.0621278, "block_size": 4096, "blocks": 0, "ctime": 1707869538.0621278, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33748, "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": 1707869538.0621278, "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_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.214) 0:00:09.837 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Success in test 'I can create a profile'] ******************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.028) 0:00:09.865 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.070) 0:00:09.936 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:12:19 +0000 (0:00:00.075) 0:00:10.011 **** 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.063949", "end": "2024-02-14 00:12:20.115946", "rc": 1, "start": "2024-02-14 00:12:20.051997" } STDOUT: Connection 'statebr' (9bf0a9ad-eb7f-42de-9126-f9bc23848006) 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_rewritewm05ls8b/tests/playbooks/tests_states.yml:45 Wednesday 14 February 2024 00:12:20 +0000 (0:00:00.277) 0:00:10.289 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can create a profile without autoconnect] ************************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:12:20 +0000 (0:00:00.046) 0:00:10.336 **** ok: [sut] => {} MSG: ########## I can create a profile without autoconnect ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:12:20 +0000 (0:00:00.025) 0:00:10.361 **** 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_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:12:20 +0000 (0:00:00.047) 0:00:10.409 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:12:20 +0000 (0:00:00.037) 0:00:10.446 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:12:20 +0000 (0:00:00.036) 0:00:10.483 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003749", "end": "2024-02-14 00:12:20.527966", "rc": 0, "start": "2024-02-14 00:12:20.524217" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:12:20 +0000 (0:00:00.225) 0:00:10.709 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:12:20 +0000 (0:00:00.037) 0:00:10.746 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:12:20 +0000 (0:00:00.024) 0:00:10.770 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/delete_interface.yml for sut included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Remove test interface if necessary] ************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/delete_interface.yml:3 Wednesday 14 February 2024 00:12:20 +0000 (0:00:00.083) 0:00:10.854 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": [ "ip", "link", "del", "statebr" ], "delta": "0:00:00.007056", "end": "2024-02-14 00:12:20.902201", "rc": 1, "start": "2024-02-14 00:12:20.895145" } 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_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:12:20 +0000 (0:00:00.236) 0:00:11.091 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:12:21 +0000 (0:00:00.066) 0:00:11.158 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:12:21 +0000 (0:00:00.239) 0:00:11.397 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:12:21 +0000 (0:00:00.059) 0:00:11.457 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:3 Wednesday 14 February 2024 00:12:21 +0000 (0:00:00.101) 0:00:11.558 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:12:21 +0000 (0:00:00.103) 0:00:11.661 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:12:21 +0000 (0:00:00.064) 0:00:11.725 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:12:21 +0000 (0:00:00.036) 0:00:11.762 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:12:21 +0000 (0:00:00.034) 0:00:11.797 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:12:21 +0000 (0:00:00.098) 0:00:11.895 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:12:23 +0000 (0:00:01.550) 0:00:13.446 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:12:24 +0000 (0:00:01.319) 0:00:14.765 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:12:24 +0000 (0:00:00.024) 0:00:14.790 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:12:24 +0000 (0:00:00.023) 0:00:14.813 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:12:24 +0000 (0:00:00.023) 0:00:14.836 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:12:24 +0000 (0:00:00.109) 0:00:14.946 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:12:24 +0000 (0:00:00.023) 0:00:14.970 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:12:24 +0000 (0:00:00.022) 0:00:14.992 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:12:24 +0000 (0:00:00.027) 0:00:15.019 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:12:25 +0000 (0:00:00.349) 0:00:15.369 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:12:25 +0000 (0:00:00.027) 0:00:15.396 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:12:25 +0000 (0:00:00.024) 0:00:15.420 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:12:25 +0000 (0:00:00.023) 0:00:15.444 **** 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, ec1c4ec4-813a-4b9b-89bc-5a076edb1cb9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:12:25 +0000 (0:00:00.350) 0:00:15.795 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:12:25 +0000 (0:00:00.022) 0:00:15.818 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec1c4ec4-813a-4b9b-89bc-5a076edb1cb9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:12:25 +0000 (0:00:00.023) 0:00:15.842 **** 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, ec1c4ec4-813a-4b9b-89bc-5a076edb1cb9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec1c4ec4-813a-4b9b-89bc-5a076edb1cb9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:12:25 +0000 (0:00:00.024) 0:00:15.867 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:12:25 +0000 (0:00:00.023) 0:00:15.891 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile_no_autoconnect.yml:15 Wednesday 14 February 2024 00:12:25 +0000 (0:00:00.227) 0:00:16.118 **** 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, ec1c4ec4-813a-4b9b-89bc-5a076edb1cb9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, ec1c4ec4-813a-4b9b-89bc-5a076edb1cb9" ] } } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:12:26 +0000 (0:00:00.027) 0:00:16.146 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml for sut included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:12:26 +0000 (0:00:00.052) 0:00:16.198 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:12:26 +0000 (0:00:00.048) 0:00:16.246 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:12:26 +0000 (0:00:00.199) 0:00:16.445 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 00:12:26 +0000 (0:00:00.024) 0:00:16.470 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:12:26 +0000 (0:00:00.039) 0:00:16.510 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:12:26 +0000 (0:00:00.022) 0:00:16.532 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869545.6135192, "block_size": 4096, "blocks": 8, "ctime": 1707869545.6135192, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434771, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707869545.6135192, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 220, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:12:26 +0000 (0:00:00.198) 0:00:16.731 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:12:26 +0000 (0:00:00.025) 0:00:16.757 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.020672", "end": "2024-02-14 00:12:26.811425", "rc": 0, "start": "2024-02-14 00:12:26.790753" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:12:26 +0000 (0:00:00.242) 0:00:16.999 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:12:26 +0000 (0:00:00.039) 0:00:17.039 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.110) 0:00:17.150 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.030) 0:00:17.181 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.042) 0:00:17.223 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.032) 0:00:17.256 **** 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_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.036) 0:00:17.292 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.038) 0:00:17.331 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.030) 0:00:17.361 **** TASK [Success in test 'I can create a profile without autoconnect'] ************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.021) 0:00:17.383 **** ok: [sut] => {} MSG: +++++ Success in test 'I can create a profile without autoconnect' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.029) 0:00:17.412 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.052) 0:00:17.465 **** 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.041989", "end": "2024-02-14 00:12:27.554913", "rc": 1, "start": "2024-02-14 00:12:27.512924" } STDOUT: Connection 'statebr' (ec1c4ec4-813a-4b9b-89bc-5a076edb1cb9) 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_rewritewm05ls8b/tests/playbooks/tests_states.yml:65 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.271) 0:00:17.737 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml for sut TASK [TEST: I can activate an existing profile] ******************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.058) 0:00:17.795 **** ok: [sut] => {} MSG: ########## I can activate an existing profile ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.028) 0:00:17.824 **** 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_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.055) 0:00:17.879 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.090) 0:00:17.969 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:12:27 +0000 (0:00:00.065) 0:00:18.034 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003542", "end": "2024-02-14 00:12:28.113593", "rc": 0, "start": "2024-02-14 00:12:28.110051" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:12:28 +0000 (0:00:00.269) 0:00:18.304 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:12:28 +0000 (0:00:00.049) 0:00:18.353 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:12:28 +0000 (0:00:00.026) 0:00:18.379 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:12:28 +0000 (0:00:00.065) 0:00:18.445 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:12:28 +0000 (0:00:00.047) 0:00:18.493 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:12:28 +0000 (0:00:00.046) 0:00:18.539 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:12:28 +0000 (0:00:00.031) 0:00:18.571 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:12:28 +0000 (0:00:00.032) 0:00:18.603 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:12:28 +0000 (0:00:00.038) 0:00:18.642 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:12:30 +0000 (0:00:01.751) 0:00:20.393 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:12:31 +0000 (0:00:01.351) 0:00:21.744 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:12:31 +0000 (0:00:00.024) 0:00:21.769 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:12:31 +0000 (0:00:00.046) 0:00:21.815 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:12:31 +0000 (0:00:00.022) 0:00:21.838 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:12:31 +0000 (0:00:00.055) 0:00:21.893 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:12:31 +0000 (0:00:00.024) 0:00:21.917 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:12:31 +0000 (0:00:00.022) 0:00:21.940 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:12:31 +0000 (0:00:00.028) 0:00:21.969 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:12:32 +0000 (0:00:00.404) 0:00:22.374 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:12:32 +0000 (0:00:00.047) 0:00:22.421 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:12:32 +0000 (0:00:00.034) 0:00:22.455 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:12:32 +0000 (0:00:00.077) 0:00:22.532 **** 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, b3b2fd5f-f276-49e9-9ffe-00f73f6c6cb4 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:12:32 +0000 (0:00:00.443) 0:00:22.976 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:12:32 +0000 (0:00:00.026) 0:00:23.002 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3b2fd5f-f276-49e9-9ffe-00f73f6c6cb4" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:12:32 +0000 (0:00:00.023) 0:00:23.026 **** 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, b3b2fd5f-f276-49e9-9ffe-00f73f6c6cb4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3b2fd5f-f276-49e9-9ffe-00f73f6c6cb4" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:12:32 +0000 (0:00:00.028) 0:00:23.054 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:12:32 +0000 (0:00:00.023) 0:00:23.077 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:12:33 +0000 (0:00:00.210) 0:00:23.287 **** 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, b3b2fd5f-f276-49e9-9ffe-00f73f6c6cb4\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, b3b2fd5f-f276-49e9-9ffe-00f73f6c6cb4" ] } } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:12:33 +0000 (0:00:00.033) 0:00:23.320 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:12:33 +0000 (0:00:00.043) 0:00:23.364 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:12:33 +0000 (0:00:00.043) 0:00:23.407 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:12:33 +0000 (0:00:00.041) 0:00:23.449 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:12:33 +0000 (0:00:00.028) 0:00:23.478 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:12:33 +0000 (0:00:00.022) 0:00:23.501 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:12:33 +0000 (0:00:00.022) 0:00:23.523 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:12:34 +0000 (0:00:01.588) 0:00:25.112 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:12:36 +0000 (0:00:01.308) 0:00:26.420 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:12:36 +0000 (0:00:00.024) 0:00:26.444 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:12:36 +0000 (0:00:00.022) 0:00:26.467 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:12:36 +0000 (0:00:00.024) 0:00:26.491 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:12:36 +0000 (0:00:00.044) 0:00:26.536 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:12:36 +0000 (0:00:00.023) 0:00:26.559 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:12:36 +0000 (0:00:00.025) 0:00:26.585 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:12:36 +0000 (0:00:00.033) 0:00:26.618 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:12:36 +0000 (0:00:00.383) 0:00:27.001 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:12:36 +0000 (0:00:00.028) 0:00:27.029 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:12:36 +0000 (0:00:00.022) 0:00:27.052 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:12:36 +0000 (0:00:00.025) 0:00:27.078 **** 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, b3b2fd5f-f276-49e9-9ffe-00f73f6c6cb4 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:12:37 +0000 (0:00:00.357) 0:00:27.435 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:12:37 +0000 (0:00:00.027) 0:00:27.463 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3b2fd5f-f276-49e9-9ffe-00f73f6c6cb4 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:12:37 +0000 (0:00:00.035) 0:00:27.499 **** 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, b3b2fd5f-f276-49e9-9ffe-00f73f6c6cb4 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, b3b2fd5f-f276-49e9-9ffe-00f73f6c6cb4 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:12:37 +0000 (0:00:00.037) 0:00:27.537 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:12:37 +0000 (0:00:00.024) 0:00:27.561 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:12:37 +0000 (0:00:00.196) 0:00:27.757 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:12:37 +0000 (0:00:00.052) 0:00:27.810 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:12:37 +0000 (0:00:00.040) 0:00:27.850 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869552.7433956, "block_size": 4096, "blocks": 0, "ctime": 1707869552.7433956, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 33879, "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": 1707869552.7433956, "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_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:12:37 +0000 (0:00:00.229) 0:00:28.080 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml:3 Wednesday 14 February 2024 00:12:37 +0000 (0:00:00.034) 0:00:28.115 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.040) 0:00:28.155 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.023) 0:00:28.179 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869552.7925098, "block_size": 4096, "blocks": 8, "ctime": 1707869552.74151, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 5434771, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mode": "0644", "mtime": 1707869552.74151, "nlink": 1, "path": "/etc/sysconfig/network-scripts/ifcfg-statebr", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 221, "uid": 0, "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.209) 0:00:28.389 **** ok: [sut] => { "ansible_facts": { "lsr_net_profile_exists": true }, "changed": false } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.026) 0:00:28.416 **** ok: [sut] => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021684", "end": "2024-02-14 00:12:38.483479", "rc": 0, "start": "2024-02-14 00:12:38.461795" } STDOUT: statebr /etc/sysconfig/network-scripts/ifcfg-statebr TASK [Set NM profile exist flag and ansible_managed flag true based on the nmcli output] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.253) 0:00:28.669 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.032) 0:00:28.702 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.028) 0:00:28.731 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.026) 0:00:28.757 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.024) 0:00:28.781 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is present - 'statebr'] ************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml:5 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.036) 0:00:28.818 **** 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_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml:10 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.036) 0:00:28.854 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Assert that the fingerprint comment is present in statebr] *************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_present.yml:15 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.031) 0:00:28.886 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.074) 0:00:28.961 **** TASK [Success in test 'I can activate an existing profile'] ******************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.048) 0:00:29.009 **** ok: [sut] => {} MSG: +++++ Success in test 'I can activate an existing profile' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.059) 0:00:29.069 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:12:38 +0000 (0:00:00.044) 0:00:29.113 **** 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.066853", "end": "2024-02-14 00:12:39.221808", "rc": 1, "start": "2024-02-14 00:12:39.154955" } STDOUT: Connection 'statebr' (b3b2fd5f-f276-49e9-9ffe-00f73f6c6cb4) 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_rewritewm05ls8b/tests/playbooks/tests_states.yml:83 Wednesday 14 February 2024 00:12:39 +0000 (0:00:00.285) 0:00:29.399 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:12:39 +0000 (0:00:00.041) 0:00:29.440 **** ok: [sut] => {} MSG: ########## I can remove an existing profile without taking it down ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:12:39 +0000 (0:00:00.024) 0:00:29.465 **** 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_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:12:39 +0000 (0:00:00.053) 0:00:29.519 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:12:39 +0000 (0:00:00.037) 0:00:29.557 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:12:39 +0000 (0:00:00.037) 0:00:29.595 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003678", "end": "2024-02-14 00:12:39.638409", "rc": 0, "start": "2024-02-14 00:12:39.634731" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:12:39 +0000 (0:00:00.234) 0:00:29.830 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:12:39 +0000 (0:00:00.083) 0:00:29.913 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:12:39 +0000 (0:00:00.042) 0:00:29.955 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/activate_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:12:39 +0000 (0:00:00.044) 0:00:30.000 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:12:39 +0000 (0:00:00.038) 0:00:30.038 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:12:39 +0000 (0:00:00.042) 0:00:30.081 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:12:39 +0000 (0:00:00.037) 0:00:30.119 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:12:40 +0000 (0:00:00.023) 0:00:30.142 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:12:40 +0000 (0:00:00.027) 0:00:30.170 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:12:41 +0000 (0:00:01.689) 0:00:31.859 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:12:43 +0000 (0:00:01.356) 0:00:33.216 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:12:43 +0000 (0:00:00.023) 0:00:33.239 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:12:43 +0000 (0:00:00.023) 0:00:33.263 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:12:43 +0000 (0:00:00.024) 0:00:33.288 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:12:43 +0000 (0:00:00.052) 0:00:33.340 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:12:43 +0000 (0:00:00.037) 0:00:33.378 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:12:43 +0000 (0:00:00.025) 0:00:33.403 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:12:43 +0000 (0:00:00.073) 0:00:33.477 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:12:43 +0000 (0:00:00.370) 0:00:33.847 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:12:43 +0000 (0:00:00.026) 0:00:33.874 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:12:43 +0000 (0:00:00.028) 0:00:33.903 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:12:43 +0000 (0:00:00.025) 0:00:33.929 **** 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, e3073ed1-6ae0-49e3-bd9a-e6b88c563cc9 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:12:44 +0000 (0:00:00.425) 0:00:34.354 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:12:44 +0000 (0:00:00.051) 0:00:34.405 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e3073ed1-6ae0-49e3-bd9a-e6b88c563cc9" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:12:44 +0000 (0:00:00.030) 0:00:34.435 **** 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, e3073ed1-6ae0-49e3-bd9a-e6b88c563cc9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e3073ed1-6ae0-49e3-bd9a-e6b88c563cc9" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:12:44 +0000 (0:00:00.061) 0:00:34.497 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:12:44 +0000 (0:00:00.071) 0:00:34.568 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:12:44 +0000 (0:00:00.209) 0:00:34.778 **** 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, e3073ed1-6ae0-49e3-bd9a-e6b88c563cc9\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, e3073ed1-6ae0-49e3-bd9a-e6b88c563cc9" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:12:44 +0000 (0:00:00.036) 0:00:34.815 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:12:44 +0000 (0:00:00.040) 0:00:34.855 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:12:44 +0000 (0:00:00.097) 0:00:34.953 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:12:44 +0000 (0:00:00.027) 0:00:34.980 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:12:44 +0000 (0:00:00.025) 0:00:35.005 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:12:44 +0000 (0:00:00.023) 0:00:35.029 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:12:46 +0000 (0:00:01.730) 0:00:36.759 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:12:47 +0000 (0:00:01.358) 0:00:38.118 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:12:48 +0000 (0:00:00.024) 0:00:38.143 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:12:48 +0000 (0:00:00.024) 0:00:38.167 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:12:48 +0000 (0:00:00.025) 0:00:38.192 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:12:48 +0000 (0:00:00.052) 0:00:38.245 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:12:48 +0000 (0:00:00.024) 0:00:38.269 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:12:48 +0000 (0:00:00.049) 0:00:38.318 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:12:48 +0000 (0:00:00.059) 0:00:38.378 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:12:48 +0000 (0:00:00.372) 0:00:38.750 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:12:48 +0000 (0:00:00.035) 0:00:38.786 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:12:48 +0000 (0:00:00.027) 0:00:38.813 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:12:48 +0000 (0:00:00.025) 0:00:38.838 **** 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, e3073ed1-6ae0-49e3-bd9a-e6b88c563cc9 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:12:49 +0000 (0:00:00.406) 0:00:39.245 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:12:49 +0000 (0:00:00.031) 0:00:39.276 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e3073ed1-6ae0-49e3-bd9a-e6b88c563cc9 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:12:49 +0000 (0:00:00.024) 0:00:39.301 **** 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, e3073ed1-6ae0-49e3-bd9a-e6b88c563cc9 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, e3073ed1-6ae0-49e3-bd9a-e6b88c563cc9 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:12:49 +0000 (0:00:00.023) 0:00:39.324 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:12:49 +0000 (0:00:00.022) 0:00:39.347 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:12:49 +0000 (0:00:00.208) 0:00:39.555 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 00:12:49 +0000 (0:00:00.042) 0:00:39.598 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:12:49 +0000 (0:00:00.044) 0:00:39.642 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:12:49 +0000 (0:00:00.049) 0:00:39.692 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:12:49 +0000 (0:00:00.034) 0:00:39.726 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:12:49 +0000 (0:00:00.024) 0:00:39.751 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:12:49 +0000 (0:00:00.023) 0:00:39.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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:12:51 +0000 (0:00:01.690) 0:00:41.465 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:12:52 +0000 (0:00:01.300) 0:00:42.766 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:12:52 +0000 (0:00:00.035) 0:00:42.801 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:12:52 +0000 (0:00:00.065) 0:00:42.866 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:12:52 +0000 (0:00:00.037) 0:00:42.904 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:12:52 +0000 (0:00:00.075) 0:00:42.980 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:12:52 +0000 (0:00:00.054) 0:00:43.034 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:12:52 +0000 (0:00:00.030) 0:00:43.064 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:12:52 +0000 (0:00:00.037) 0:00:43.102 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:12:53 +0000 (0:00:00.381) 0:00:43.483 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:12:53 +0000 (0:00:00.036) 0:00:43.519 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:12:53 +0000 (0:00:00.029) 0:00:43.549 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:12:53 +0000 (0:00:00.037) 0:00:43.587 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:12:53 +0000 (0:00:00.376) 0:00:43.963 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:12:53 +0000 (0:00:00.024) 0:00:43.988 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:12:53 +0000 (0:00:00.057) 0:00:44.046 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:12:53 +0000 (0:00:00.042) 0:00:44.088 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:12:54 +0000 (0:00:00.071) 0:00:44.160 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:12:54 +0000 (0:00:00.228) 0:00:44.388 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml for sut included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml:3 Wednesday 14 February 2024 00:12:54 +0000 (0:00:00.045) 0:00:44.434 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:12:54 +0000 (0:00:00.047) 0:00:44.481 **** ok: [sut] => { "changed": false, "stat": { "atime": 1707869564.1268764, "block_size": 4096, "blocks": 0, "ctime": 1707869564.1268764, "dev": 21, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 34010, "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": 1707869564.1268764, "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_rewritewm05ls8b/tests/playbooks/tasks/assert_device_present.yml:5 Wednesday 14 February 2024 00:12:54 +0000 (0:00:00.219) 0:00:44.701 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 00:12:54 +0000 (0:00:00.040) 0:00:44.742 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:12:54 +0000 (0:00:00.058) 0:00:44.800 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:12:54 +0000 (0:00:00.038) 0:00:44.839 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:12:54 +0000 (0:00:00.244) 0:00:45.083 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:12:54 +0000 (0:00:00.043) 0:00:45.126 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.021977", "end": "2024-02-14 00:12:55.199865", "rc": 1, "start": "2024-02-14 00:12:55.177888" } 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:12:55 +0000 (0:00:00.265) 0:00:45.392 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:12:55 +0000 (0:00:00.044) 0:00:45.436 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:12:55 +0000 (0:00:00.072) 0:00:45.509 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:12:55 +0000 (0:00:00.050) 0:00:45.559 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:12:55 +0000 (0:00:00.028) 0:00:45.588 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 00:12:55 +0000 (0:00:00.053) 0:00:45.642 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:12:55 +0000 (0:00:00.026) 0:00:45.668 **** TASK [Success in test 'I can remove an existing profile without taking it down'] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:12:55 +0000 (0:00:00.023) 0:00:45.691 **** ok: [sut] => {} MSG: +++++ Success in test 'I can remove an existing profile without taking it down' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:12:55 +0000 (0:00:00.028) 0:00:45.720 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:12:55 +0000 (0:00:00.060) 0:00:45.780 **** 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.076655", "end": "2024-02-14 00:12:55.934772", "rc": 1, "start": "2024-02-14 00:12:55.858117" } STDOUT: Connection 'statebr' (e3073ed1-6ae0-49e3-bd9a-e6b88c563cc9) 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_rewritewm05ls8b/tests/playbooks/tests_states.yml:103 Wednesday 14 February 2024 00:12:55 +0000 (0:00:00.339) 0:00:46.120 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:12:56 +0000 (0:00:00.050) 0:00:46.170 **** ok: [sut] => {} MSG: ########## I can take a profile down that is absent ########## TASK [Show item] *************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:12:56 +0000 (0:00:00.025) 0:00:46.196 **** 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_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:12:56 +0000 (0:00:00.047) 0:00:46.243 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:12:56 +0000 (0:00:00.038) 0:00:46.282 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:12:56 +0000 (0:00:00.089) 0:00:46.372 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003638", "end": "2024-02-14 00:12:56.421850", "rc": 0, "start": "2024-02-14 00:12:56.418212" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:12:56 +0000 (0:00:00.226) 0:00:46.598 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:12:56 +0000 (0:00:00.027) 0:00:46.625 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:12:56 +0000 (0:00:00.024) 0:00:46.649 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/remove_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:12:56 +0000 (0:00:00.052) 0:00:46.702 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:12:56 +0000 (0:00:00.040) 0:00:46.742 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:12:56 +0000 (0:00:00.059) 0:00:46.802 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:12:56 +0000 (0:00:00.040) 0:00:46.842 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:12:56 +0000 (0:00:00.026) 0:00:46.869 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:12:56 +0000 (0:00:00.028) 0:00:46.898 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:12:58 +0000 (0:00:01.625) 0:00:48.524 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:12:59 +0000 (0:00:01.361) 0:00:49.885 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:12:59 +0000 (0:00:00.025) 0:00:49.911 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:12:59 +0000 (0:00:00.026) 0:00:49.937 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:12:59 +0000 (0:00:00.046) 0:00:49.984 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:12:59 +0000 (0:00:00.134) 0:00:50.118 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:13:00 +0000 (0:00:00.036) 0:00:50.155 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:13:00 +0000 (0:00:00.070) 0:00:50.226 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:13:00 +0000 (0:00:00.045) 0:00:50.272 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:13:00 +0000 (0:00:00.383) 0:00:50.656 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:13:00 +0000 (0:00:00.034) 0:00:50.690 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:13:00 +0000 (0:00:00.031) 0:00:50.721 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:13:00 +0000 (0:00:00.030) 0:00:50.752 **** 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, 81490583-4985-4a31-8e4e-f91c6409a356 TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:13:01 +0000 (0:00:00.456) 0:00:51.209 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:13:01 +0000 (0:00:00.026) 0:00:51.236 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81490583-4985-4a31-8e4e-f91c6409a356" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:13:01 +0000 (0:00:00.071) 0:00:51.307 **** 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, 81490583-4985-4a31-8e4e-f91c6409a356\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81490583-4985-4a31-8e4e-f91c6409a356" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:13:01 +0000 (0:00:00.052) 0:00:51.359 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:13:01 +0000 (0:00:00.029) 0:00:51.389 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:13:01 +0000 (0:00:00.236) 0:00:51.625 **** 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, 81490583-4985-4a31-8e4e-f91c6409a356\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 81490583-4985-4a31-8e4e-f91c6409a356" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:13:01 +0000 (0:00:00.073) 0:00:51.699 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:13:01 +0000 (0:00:00.044) 0:00:51.743 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:13:01 +0000 (0:00:00.049) 0:00:51.793 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:13:01 +0000 (0:00:00.067) 0:00:51.861 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Set flag to indicate system is ostree] ****** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:13:01 +0000 (0:00:00.064) 0:00:51.925 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:13:01 +0000 (0:00:00.038) 0:00:51.964 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:13:03 +0000 (0:00:01.699) 0:00:53.663 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:13:04 +0000 (0:00:01.426) 0:00:55.090 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:13:04 +0000 (0:00:00.041) 0:00:55.131 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:13:05 +0000 (0:00:00.035) 0:00:55.167 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:13:05 +0000 (0:00:00.028) 0:00:55.195 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:13:05 +0000 (0:00:00.052) 0:00:55.248 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:13:05 +0000 (0:00:00.026) 0:00:55.274 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:13:05 +0000 (0:00:00.032) 0:00:55.306 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:13:05 +0000 (0:00:00.044) 0:00:55.351 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:13:05 +0000 (0:00:00.370) 0:00:55.721 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:13:05 +0000 (0:00:00.026) 0:00:55.748 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:13:05 +0000 (0:00:00.064) 0:00:55.812 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:13:05 +0000 (0:00:00.027) 0:00:55.839 **** 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, 81490583-4985-4a31-8e4e-f91c6409a356 skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:13:06 +0000 (0:00:00.335) 0:00:56.175 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:13:06 +0000 (0:00:00.024) 0:00:56.199 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 81490583-4985-4a31-8e4e-f91c6409a356 skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:13:06 +0000 (0:00:00.024) 0:00:56.223 **** 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, 81490583-4985-4a31-8e4e-f91c6409a356 skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 81490583-4985-4a31-8e4e-f91c6409a356 skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:13:06 +0000 (0:00:00.026) 0:00:56.249 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:13:06 +0000 (0:00:00.023) 0:00:56.273 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/remove_profile.yml:3 Wednesday 14 February 2024 00:13:06 +0000 (0:00:00.195) 0:00:56.468 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:13:06 +0000 (0:00:00.039) 0:00:56.508 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:13:06 +0000 (0:00:00.042) 0:00:56.551 **** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check if system is ostree] ****************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:13:06 +0000 (0:00:00.028) 0:00:56.579 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:13:06 +0000 (0:00:00.022) 0:00:56.602 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:13:06 +0000 (0:00:00.022) 0:00:56.625 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:13:08 +0000 (0:00:01.749) 0:00:58.375 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Print network provider] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:13:09 +0000 (0:00:01.365) 0:00:59.740 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:13:09 +0000 (0:00:00.031) 0:00:59.772 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Abort applying the network state configuration if the system version of the managed host is below 8] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:13:09 +0000 (0:00:00.057) 0:00:59.829 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:13:09 +0000 (0:00:00.023) 0:00:59.853 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:13:09 +0000 (0:00:00.046) 0:00:59.899 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:13:09 +0000 (0:00:00.023) 0:00:59.922 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:13:09 +0000 (0:00:00.022) 0:00:59.945 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:13:09 +0000 (0:00:00.027) 0:00:59.972 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:13:10 +0000 (0:00:00.372) 0:01:00.345 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:13:10 +0000 (0:00:00.046) 0:01:00.391 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:13:10 +0000 (0:00:00.023) 0:01:00.415 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:13:10 +0000 (0:00:00.025) 0:01:00.441 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:13:10 +0000 (0:00:00.399) 0:01:00.840 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:13:10 +0000 (0:00:00.023) 0:01:00.864 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:13:10 +0000 (0:00:00.024) 0:01:00.889 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:13:10 +0000 (0:00:00.024) 0:01:00.913 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:13:10 +0000 (0:00:00.022) 0:01:00.935 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:13:11 +0000 (0:00:00.203) 0:01:01.139 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 00:13:11 +0000 (0:00:00.041) 0:01:01.180 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:13:11 +0000 (0:00:00.045) 0:01:01.226 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:13:11 +0000 (0:00:00.047) 0:01:01.273 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:13:11 +0000 (0:00:00.034) 0:01:01.307 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:13:11 +0000 (0:00:00.031) 0:01:01.339 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:13:11 +0000 (0:00:00.033) 0:01:01.372 **** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.network : Check which packages are installed] ********* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:13:12 +0000 (0:00:01.747) 0:01:03.119 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:13:14 +0000 (0:00:01.304) 0:01:04.424 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:13:14 +0000 (0:00:00.024) 0:01:04.448 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:13:14 +0000 (0:00:00.023) 0:01:04.472 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:13:14 +0000 (0:00:00.022) 0:01:04.495 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:13:14 +0000 (0:00:00.046) 0:01:04.541 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:13:14 +0000 (0:00:00.023) 0:01:04.565 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:13:14 +0000 (0:00:00.022) 0:01:04.587 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:13:14 +0000 (0:00:00.026) 0:01:04.614 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:13:14 +0000 (0:00:00.343) 0:01:04.957 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:13:14 +0000 (0:00:00.032) 0:01:04.990 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:13:14 +0000 (0:00:00.026) 0:01:05.016 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:13:14 +0000 (0:00:00.022) 0:01:05.039 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:13:15 +0000 (0:00:00.400) 0:01:05.439 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:13:15 +0000 (0:00:00.024) 0:01:05.463 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:13:15 +0000 (0:00:00.023) 0:01:05.487 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:13:15 +0000 (0:00:00.026) 0:01:05.513 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:13:15 +0000 (0:00:00.023) 0:01:05.537 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:13:15 +0000 (0:00:00.192) 0:01:05.729 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_absent.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 00:13:15 +0000 (0:00:00.043) 0:01:05.773 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:13:15 +0000 (0:00:00.043) 0:01:05.817 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:13:15 +0000 (0:00:00.061) 0:01:05.878 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:13:15 +0000 (0:00:00.211) 0:01:06.090 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:13:16 +0000 (0:00:00.057) 0:01:06.148 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019792", "end": "2024-02-14 00:13:16.196257", "rc": 1, "start": "2024-02-14 00:13:16.176465" } 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:13:16 +0000 (0:00:00.216) 0:01:06.365 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:13:16 +0000 (0:00:00.024) 0:01:06.389 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:13:16 +0000 (0:00:00.028) 0:01:06.418 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:13:16 +0000 (0:00:00.032) 0:01:06.451 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:13:16 +0000 (0:00:00.035) 0:01:06.486 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 00:13:16 +0000 (0:00:00.036) 0:01:06.522 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:13:16 +0000 (0:00:00.027) 0:01:06.550 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:13:16 +0000 (0:00:00.048) 0:01:06.599 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:13:16 +0000 (0:00:00.047) 0:01:06.646 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:13:16 +0000 (0:00:00.255) 0:01:06.902 **** 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_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:13:16 +0000 (0:00:00.036) 0:01:06.939 **** ok: [sut] => {} MSG: +++++ Success in test 'I can take a profile down that is absent' +++++ TASK [Cleanup] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:13:16 +0000 (0:00:00.037) 0:01:06.977 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/cleanup_profile+device.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:13:16 +0000 (0:00:00.060) 0:01:07.037 **** 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.041178", "end": "2024-02-14 00:13:17.108315", "rc": 1, "start": "2024-02-14 00:13:17.067137" } 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_rewritewm05ls8b/tests/playbooks/tests_states.yml:126 Wednesday 14 February 2024 00:13:17 +0000 (0:00:00.250) 0:01:07.288 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:5 Wednesday 14 February 2024 00:13:17 +0000 (0:00:00.042) 0:01:07.330 **** 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_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:9 Wednesday 14 February 2024 00:13:17 +0000 (0:00:00.026) 0:01:07.356 **** 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_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:21 Wednesday 14 February 2024 00:13:17 +0000 (0:00:00.058) 0:01:07.415 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml for sut TASK [Include the task 'get_current_interfaces.yml'] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:3 Wednesday 14 February 2024 00:13:17 +0000 (0:00:00.040) 0:01:07.456 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml for sut TASK [Gather current interface info] ******************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:3 Wednesday 14 February 2024 00:13:17 +0000 (0:00:00.050) 0:01:07.506 **** ok: [sut] => { "changed": false, "cmd": [ "ls", "-1" ], "delta": "0:00:00.003417", "end": "2024-02-14 00:13:17.576124", "rc": 0, "start": "2024-02-14 00:13:17.572707" } STDOUT: bonding_masters eth0 lo TASK [Set current_interfaces] ************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_current_interfaces.yml:9 Wednesday 14 February 2024 00:13:17 +0000 (0:00:00.239) 0:01:07.746 **** ok: [sut] => { "ansible_facts": { "current_interfaces": [ "bonding_masters", "eth0", "lo" ] }, "changed": false } TASK [Show current_interfaces] ************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/show_interfaces.yml:5 Wednesday 14 February 2024 00:13:17 +0000 (0:00:00.094) 0:01:07.841 **** ok: [sut] => {} MSG: current_interfaces: ['bonding_masters', 'eth0', 'lo'] TASK [Setup] ******************************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:24 Wednesday 14 February 2024 00:13:17 +0000 (0:00:00.090) 0:01:07.931 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml for sut included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/activate_profile.yml for sut included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml:3 Wednesday 14 February 2024 00:13:17 +0000 (0:00:00.053) 0:01:07.984 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:13:17 +0000 (0:00:00.047) 0:01:08.032 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:13:17 +0000 (0:00:00.042) 0:01:08.074 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:13:17 +0000 (0:00:00.027) 0:01:08.101 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:13:17 +0000 (0:00:00.022) 0:01:08.124 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:13:18 +0000 (0:00:00.024) 0:01:08.149 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:13:19 +0000 (0:00:01.585) 0:01:09.734 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:13:20 +0000 (0:00:01.370) 0:01:11.105 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:13:20 +0000 (0:00:00.029) 0:01:11.135 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:13:21 +0000 (0:00:00.048) 0:01:11.183 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:13:21 +0000 (0:00:00.037) 0:01:11.220 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:13:21 +0000 (0:00:00.048) 0:01:11.269 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:13:21 +0000 (0:00:00.023) 0:01:11.292 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:13:21 +0000 (0:00:00.022) 0:01:11.314 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:13:21 +0000 (0:00:00.025) 0:01:11.340 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:13:21 +0000 (0:00:00.364) 0:01:11.705 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:13:21 +0000 (0:00:00.027) 0:01:11.732 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:13:21 +0000 (0:00:00.022) 0:01:11.755 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:13:21 +0000 (0:00:00.022) 0:01:11.777 **** 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, 371d4932-65d5-4b27-bf10-94eea3fdaeba TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:13:22 +0000 (0:00:00.409) 0:01:12.186 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:13:22 +0000 (0:00:00.024) 0:01:12.211 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 371d4932-65d5-4b27-bf10-94eea3fdaeba" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:13:22 +0000 (0:00:00.025) 0:01:12.237 **** 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, 371d4932-65d5-4b27-bf10-94eea3fdaeba\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 371d4932-65d5-4b27-bf10-94eea3fdaeba" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:13:22 +0000 (0:00:00.026) 0:01:12.264 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:13:22 +0000 (0:00:00.023) 0:01:12.288 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Show result] ************************************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/create_bridge_profile.yml:14 Wednesday 14 February 2024 00:13:22 +0000 (0:00:00.204) 0:01:12.492 **** 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, 371d4932-65d5-4b27-bf10-94eea3fdaeba\n", "stderr_lines": [ "[002] #0, state:None persistent_state:present, 'statebr': add connection statebr, 371d4932-65d5-4b27-bf10-94eea3fdaeba" ] } } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/activate_profile.yml:3 Wednesday 14 February 2024 00:13:22 +0000 (0:00:00.027) 0:01:12.520 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:13:22 +0000 (0:00:00.041) 0:01:12.561 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:13:22 +0000 (0:00:00.129) 0:01:12.691 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:13:22 +0000 (0:00:00.032) 0:01:12.724 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:13:22 +0000 (0:00:00.024) 0:01:12.749 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:13:22 +0000 (0:00:00.048) 0:01:12.797 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:13:24 +0000 (0:00:01.721) 0:01:14.519 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:13:25 +0000 (0:00:01.375) 0:01:15.895 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:13:25 +0000 (0:00:00.024) 0:01:15.919 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:13:25 +0000 (0:00:00.022) 0:01:15.941 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:13:25 +0000 (0:00:00.023) 0:01:15.964 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:13:25 +0000 (0:00:00.068) 0:01:16.033 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:13:25 +0000 (0:00:00.030) 0:01:16.064 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:13:25 +0000 (0:00:00.035) 0:01:16.099 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:13:25 +0000 (0:00:00.031) 0:01:16.131 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:13:26 +0000 (0:00:00.419) 0:01:16.550 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:13:26 +0000 (0:00:00.052) 0:01:16.602 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:13:26 +0000 (0:00:00.030) 0:01:16.633 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:13:26 +0000 (0:00:00.043) 0:01:16.676 **** 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, 371d4932-65d5-4b27-bf10-94eea3fdaeba skipped because already active TASK [linux-system-roles.network : Configure networking state] ***************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:13:26 +0000 (0:00:00.369) 0:01:17.046 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:13:26 +0000 (0:00:00.053) 0:01:17.100 **** ok: [sut] => { "__network_connections_result.stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 371d4932-65d5-4b27-bf10-94eea3fdaeba skipped because already active" ] } TASK [linux-system-roles.network : Show debug messages for the network_connections] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:13:26 +0000 (0:00:00.024) 0:01:17.124 **** 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, 371d4932-65d5-4b27-bf10-94eea3fdaeba skipped because already active\n", "stderr_lines": [ "[002] #0, state:up persistent_state:present, 'statebr': up connection statebr, 371d4932-65d5-4b27-bf10-94eea3fdaeba skipped because already active" ] } } TASK [linux-system-roles.network : Show debug messages for the network_state] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:13:27 +0000 (0:00:00.026) 0:01:17.150 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:13:27 +0000 (0:00:00.024) 0:01:17.175 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 00:13:27 +0000 (0:00:00.199) 0:01:17.375 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:13:27 +0000 (0:00:00.041) 0:01:17.417 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:13:27 +0000 (0:00:00.049) 0:01:17.466 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:13:27 +0000 (0:00:00.029) 0:01:17.495 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:13:27 +0000 (0:00:00.025) 0:01:17.520 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:13:27 +0000 (0:00:00.028) 0:01:17.549 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:13:29 +0000 (0:00:01.668) 0:01:19.218 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:13:30 +0000 (0:00:01.356) 0:01:20.575 **** ok: [sut] => {} MSG: Using network provider: nm TASK [linux-system-roles.network : Abort applying the network state configuration if using the `network_state` variable with the initscripts provider] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:13:30 +0000 (0:00:00.027) 0:01:20.603 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:13:30 +0000 (0:00:00.025) 0:01:20.628 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:13:30 +0000 (0:00:00.022) 0:01:20.651 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:13:30 +0000 (0:00:00.045) 0:01:20.697 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install python3-libnmstate when using network_state variable] *** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:13:30 +0000 (0:00:00.025) 0:01:20.722 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:13:30 +0000 (0:00:00.069) 0:01:20.792 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:13:30 +0000 (0:00:00.042) 0:01:20.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 : Enable and start wpa_supplicant] ************ task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:13:31 +0000 (0:00:00.368) 0:01:21.202 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:13:31 +0000 (0:00:00.031) 0:01:21.234 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:13:31 +0000 (0:00:00.025) 0:01:21.259 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:13:31 +0000 (0:00:00.051) 0:01:21.311 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:13:31 +0000 (0:00:00.434) 0:01:21.745 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:13:31 +0000 (0:00:00.022) 0:01:21.768 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:13:31 +0000 (0:00:00.024) 0:01:21.792 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:13:31 +0000 (0:00:00.024) 0:01:21.816 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:13:31 +0000 (0:00:00.022) 0:01:21.838 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Test] ******************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:30 Wednesday 14 February 2024 00:13:31 +0000 (0:00:00.206) 0:01:22.045 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/remove+down_profile.yml for sut TASK [Include network role] **************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/remove+down_profile.yml:3 Wednesday 14 February 2024 00:13:31 +0000 (0:00:00.067) 0:01:22.113 **** TASK [linux-system-roles.network : Ensure ansible_facts used by role] ********** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:4 Wednesday 14 February 2024 00:13:32 +0000 (0:00:00.038) 0:01:22.151 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:3 Wednesday 14 February 2024 00:13:32 +0000 (0:00:00.045) 0:01:22.196 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:13 Wednesday 14 February 2024 00:13:32 +0000 (0:00:00.030) 0:01:22.226 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:18 Wednesday 14 February 2024 00:13:32 +0000 (0:00:00.026) 0:01:22.253 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 Wednesday 14 February 2024 00:13:32 +0000 (0:00:00.024) 0:01:22.277 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 Wednesday 14 February 2024 00:13:33 +0000 (0:00:01.729) 0:01:24.007 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:7 Wednesday 14 February 2024 00:13:35 +0000 (0:00:01.325) 0:01:25.333 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:11 Wednesday 14 February 2024 00:13:35 +0000 (0:00:00.024) 0:01:25.357 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:19 Wednesday 14 February 2024 00:13:35 +0000 (0:00:00.024) 0:01:25.382 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Install packages] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:30 Wednesday 14 February 2024 00:13:35 +0000 (0:00:00.026) 0:01:25.408 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:43 Wednesday 14 February 2024 00:13:35 +0000 (0:00:00.046) 0:01:25.455 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:58 Wednesday 14 February 2024 00:13:35 +0000 (0:00:00.032) 0:01:25.487 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:74 Wednesday 14 February 2024 00:13:35 +0000 (0:00:00.044) 0:01:25.532 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 Wednesday 14 February 2024 00:13:35 +0000 (0:00:00.027) 0:01:25.559 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:99 Wednesday 14 February 2024 00:13:35 +0000 (0:00:00.347) 0:01:25.906 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.network : Enable network service] ********************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:108 Wednesday 14 February 2024 00:13:35 +0000 (0:00:00.053) 0:01:25.960 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:116 Wednesday 14 February 2024 00:13:35 +0000 (0:00:00.023) 0:01:25.983 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 Wednesday 14 February 2024 00:13:35 +0000 (0:00:00.021) 0:01:26.004 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:137 Wednesday 14 February 2024 00:13:36 +0000 (0:00:00.343) 0:01:26.348 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:143 Wednesday 14 February 2024 00:13:36 +0000 (0:00:00.023) 0:01:26.371 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:147 Wednesday 14 February 2024 00:13:36 +0000 (0:00:00.023) 0:01:26.395 **** 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_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:152 Wednesday 14 February 2024 00:13:36 +0000 (0:00:00.026) 0:01:26.422 **** skipping: [sut] => {} TASK [linux-system-roles.network : Re-test connectivity] *********************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:158 Wednesday 14 February 2024 00:13:36 +0000 (0:00:00.023) 0:01:26.445 **** ok: [sut] => { "changed": false, "ping": "pong" } TASK [Asserts] ***************************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:36 Wednesday 14 February 2024 00:13:36 +0000 (0:00:00.215) 0:01:26.660 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_absent.yml for sut included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_NetworkManager_NVR.yml for sut TASK [Include the task 'get_profile_stat.yml'] ********************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_absent.yml:3 Wednesday 14 February 2024 00:13:36 +0000 (0:00:00.058) 0:01:26.719 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:3 Wednesday 14 February 2024 00:13:36 +0000 (0:00:00.044) 0:01:26.763 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:9 Wednesday 14 February 2024 00:13:36 +0000 (0:00:00.038) 0:01:26.801 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Set NM profile exist flag based on the profile files] ******************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:17 Wednesday 14 February 2024 00:13:36 +0000 (0:00:00.285) 0:01:27.087 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get NM profile info] ***************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:25 Wednesday 14 February 2024 00:13:36 +0000 (0:00:00.024) 0:01:27.111 **** fatal: [sut]: FAILED! => { "changed": false, "cmd": "nmcli -f NAME,FILENAME connection show |grep statebr | grep /etc", "delta": "0:00:00.019694", "end": "2024-02-14 00:13:37.164322", "rc": 1, "start": "2024-02-14 00:13:37.144628" } 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:35 Wednesday 14 February 2024 00:13:37 +0000 (0:00:00.221) 0:01:27.333 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:49 Wednesday 14 February 2024 00:13:37 +0000 (0:00:00.024) 0:01:27.357 **** 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_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:56 Wednesday 14 February 2024 00:13:37 +0000 (0:00:00.026) 0:01:27.384 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the fingerprint comment in ifcfg-statebr] **************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:62 Wednesday 14 February 2024 00:13:37 +0000 (0:00:00.025) 0:01:27.409 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the fingerprint comment in ifcfg-statebr] ************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_profile_stat.yml:69 Wednesday 14 February 2024 00:13:37 +0000 (0:00:00.026) 0:01:27.436 **** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that the profile is absent - 'statebr'] *************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_profile_absent.yml:5 Wednesday 14 February 2024 00:13:37 +0000 (0:00:00.042) 0:01:27.479 **** ok: [sut] => { "changed": false } MSG: All assertions passed TASK [Get NetworkManager RPM version] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_NetworkManager_NVR.yml:7 Wednesday 14 February 2024 00:13:37 +0000 (0:00:00.039) 0:01:27.518 **** ok: [sut] => { "changed": false, "cmd": [ "rpm", "-qa", "--qf", "%{name}-%{version}-%{release}\\n", "NetworkManager" ], "delta": "0:00:00.939372", "end": "2024-02-14 00:13:38.494961", "rc": 0, "start": "2024-02-14 00:13:37.555589" } STDOUT: NetworkManager-1.40.16-14.el8 TASK [Store NetworkManager version] ******************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_NetworkManager_NVR.yml:14 Wednesday 14 February 2024 00:13:38 +0000 (0:00:01.158) 0:01:28.677 **** ok: [sut] => { "ansible_facts": { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" }, "changed": false } TASK [Show NetworkManager version] ********************************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_NetworkManager_NVR.yml:18 Wednesday 14 February 2024 00:13:38 +0000 (0:00:00.031) 0:01:28.708 **** ok: [sut] => { "networkmanager_nvr": "NetworkManager-1.40.16-14.el8" } TASK [Conditional asserts] ***************************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:42 Wednesday 14 February 2024 00:13:38 +0000 (0:00:00.024) 0:01:28.733 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml for sut TASK [Include the task 'get_interface_stat.yml'] ******************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml:3 Wednesday 14 February 2024 00:13:38 +0000 (0:00:00.081) 0:01:28.814 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml for sut TASK [Get stat for interface statebr] ****************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/get_interface_stat.yml:3 Wednesday 14 February 2024 00:13:38 +0000 (0:00:00.039) 0:01:28.853 **** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [Assert that the interface is absent - 'statebr'] ************************* task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/assert_device_absent.yml:5 Wednesday 14 February 2024 00:13:38 +0000 (0:00:00.196) 0:01:29.050 **** 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_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:47 Wednesday 14 February 2024 00:13:38 +0000 (0:00:00.028) 0:01:29.078 **** 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_rewritewm05ls8b/tests/playbooks/tasks/run_test.yml:66 Wednesday 14 February 2024 00:13:38 +0000 (0:00:00.024) 0:01:29.103 **** included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/cleanup_profile+device.yml for sut included: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/check_network_dns.yml for sut TASK [Cleanup profile and device] ********************************************** task path: /WORKDIR/git-bond_options_rewritewm05ls8b/tests/playbooks/tasks/cleanup_profile+device.yml:3 Wednesday 14 February 2024 00:13:39 +0000 (0:00:00.051) 0:01:29.154 **** 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.037679", "end": "2024-02-14 00:13:39.218736", "rc": 1, "start": "2024-02-14 00:13:39.181057" } 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_rewritewm05ls8b/tests/playbooks/tasks/check_network_dns.yml:6 Wednesday 14 February 2024 00:13:39 +0000 (0:00:00.235) 0:01:29.389 **** 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.009568", "end": "2024-02-14 00:13:39.428670", "rc": 0, "start": "2024-02-14 00:13:39.419102" } 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 0a:88:55:af:46:41 brd ff:ff:ff:ff:ff:ff inet 10.31.15.70/22 brd 10.31.15.255 scope global dynamic noprefixroute eth0 valid_lft 2901sec preferred_lft 2901sec inet6 fe80::888:55ff:feaf:4641/64 scope link valid_lft forever preferred_lft forever IP ROUTE default via 10.31.12.1 dev eth0 proto dhcp src 10.31.15.70 metric 100 10.31.12.0/22 dev eth0 proto kernel scope link src 10.31.15.70 metric 100 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_rewritewm05ls8b/tests/playbooks/tasks/check_network_dns.yml:24 Wednesday 14 February 2024 00:13:39 +0000 (0:00:00.209) 0:01:29.599 **** 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.137839", "end": "2024-02-14 00:13:39.770922", "rc": 0, "start": "2024-02-14 00:13:39.633083" } STDOUT: CHECK DNS AND CONNECTIVITY 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed6 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 wildcard.fedoraproject.org mirrors.fedoraproject.org 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.fedoraproject.org 2600:1f14:fad:5c02:7c8a:72d0:1c58:c189 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 2620:52:3:1:dead:beef:cafe:fed7 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2605:bc80:3010:600:dead:beef:cafe:fed9 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2600:2701:4000:5211:dead:beef:fe:fed3 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org 2604:1580:fe00:0:dead:beef:cafe:fed1 wildcard.fedoraproject.org mirrors.centos.org mirrors.fedoraproject.org STDERR: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 305 100 305 0 0 5000 0 --:--:-- --:--:-- --:--:-- 5000 % 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 5820 0 --:--:-- --:--:-- --:--:-- 5820 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=324 changed=10 unreachable=0 failed=0 skipped=247 rescued=0 ignored=11 Wednesday 14 February 2024 00:13:39 +0000 (0:00:00.339) 0:01:29.939 **** =============================================================================== linux-system-roles.network : Configure networking connection profiles --- 2.33s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 linux-system-roles.network : Enable and start NetworkManager ------------ 2.04s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.75s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.73s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.72s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.70s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.69s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.67s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which packages are installed --------- 1.63s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:27 linux-system-roles.network : Check which services are running ----------- 1.63s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.61s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.59s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Check which services are running ----------- 1.55s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/set_facts.yml:22 linux-system-roles.network : Enable and start NetworkManager ------------ 1.54s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:88 linux-system-roles.network : Configure networking connection profiles --- 1.47s /WORKDIR/git-bond_options_rewritewm05ls8b/tests/roles/linux-system-roles.network/tasks/main.yml:125 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Consider using the dnf module rather than running 'dnf'. If you need to use command because dnf 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. [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. ---^---^---^---^---^---